Function at 0x46af80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push esi
push edi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1b8]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x20], 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 8]
movzx edx, word [ecx + 0x44]
and edx, 1
je 0x46afbd
xor eax, eax
jmp 0x46b678
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x30], ecx
mov edx, dword [ebp + 0x10]
imul edx, edx, 0x50
mov eax, dword [ebp - 0x30]
lea ecx, [eax + edx + 8]
mov dword [ebp - 0x28], ecx
mov edx, dword [ebp - 0x28]
mov eax, dword [edx + 0x30]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x1c]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x38], 0
je 0x46b00a
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x38], 0
je 0x46b00a
xor eax, eax
jmp 0x46b678
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x3c], 0
je 0x46b01a
xor eax, eax
jmp 0x46b678
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 0x100
je 0x46b037
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0
je 0x46b037
xor eax, eax
jmp 0x46b678
mov edx, dword [ebp - 0x24]
cmp dword [edx], 0
jne 0x46b046
xor eax, eax
jmp 0x46b678
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 1
je 0x46b058
xor eax, eax
jmp 0x46b678
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x38], 0
je 0x46b076
mov eax, dword [ebp - 0x30]
cmp dword [eax], 1
jg 0x46b06f
cmp dword [ebp + 0x14], 0
je 0x46b076
xor eax, eax
jmp 0x46b678
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x2c], 0
je 0x46b08f
mov edx, dword [ebp - 0x10]
cmp dword [edx + 0x2c], 0
je 0x46b08f
xor eax, eax
jmp 0x46b678
cmp dword [ebp + 0x14], 0
je 0x46b0a5
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x2c], 0
je 0x46b0a5
xor eax, eax
jmp 0x46b678
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0
je 0x46b0be
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x20], 0
je 0x46b0be
xor eax, eax
jmp 0x46b678
mov eax, dword [ebp - 0x10]
cmp dword [eax + 0x38], 0
je 0x46b0d9
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 8]
and edx, 1
je 0x46b0d9
xor eax, eax
jmp 0x46b678
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 0x2000
je 0x46b0ee
xor eax, eax
jmp 0x46b678
mov edx, dword [ebp - 0x28]
movzx eax, byte [edx + 0x24]
and eax, 0x20
je 0x46b122
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0x24]
cmp dword [ecx], 1
jg 0x46b11b
cmp dword [ebp + 0x14], 0
jne 0x46b11b
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x18]
cmp dword [eax + 0x38], 0
je 0x46b122
xor eax, eax
jmp 0x46b678
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x30], 0
je 0x46b1e0
cmp dword [ebp + 0x14], 0
jne 0x46b148
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 8]
and eax, 1
jne 0x46b148
mov ecx, dword [ebp - 0x30]
cmp dword [ecx], 1
je 0x46b14f
xor eax, eax
jmp 0x46b678
mov edx, dword [ebp - 0x10]
mov dword [ebp - 0x2c], edx
jmp 0x46b160
mov eax, dword [ebp - 0x2c]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x2c], ecx
cmp dword [ebp - 0x2c], 0
je 0x46b19a
mov edx, dword [ebp - 0x2c]
mov eax, dword [edx + 8]
and eax, 9
jne 0x46b191
mov ecx, dword [ebp - 0x2c]
cmp dword [ecx + 0x30], 0
je 0x46b186
mov edx, dword [ebp - 0x2c]
movzx eax, byte [edx + 4]
cmp eax, 0x74
jne 0x46b191
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx + 0x1c]
cmp dword [edx], 1
jge 0x46b198
xor eax, eax
jmp 0x46b678
jmp 0x46b157
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x2c], 0
je 0x46b1e0
mov dword [ebp - 0x38], 0
jmp 0x46b1b5
mov ecx, dword [ebp - 0x38]
add ecx, 1
mov dword [ebp - 0x38], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x38]
cmp ecx, dword [eax]
jge 0x46b1e0
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x2c]
mov ecx, dword [ebp - 0x38]
imul ecx, ecx, 0x18
movzx edx, word [eax + ecx + 0x18]
test edx, edx
jne 0x46b1de
xor eax, eax
jmp 0x46b678
jmp 0x46b1ac
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
mov dword [eax + 0x1b8], edx
push 0
push 0
push 0
push 0x15
mov eax, dword [ebp + 8]
push eax
call fcn.0044f550
add esp, 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x14]
mov dword [ecx + 0x1b8], edx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x10], ecx
jmp 0x46b223
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x46b318
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x2c]
mov dword [ebp - 0x3c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x44], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x30]
mov dword [ebp - 0x4c], edx
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x2c], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x1c], 0
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x30], 0
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x38], 0
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 0x3c], 0
push 0
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00446310
add esp, 0xc
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [ecx + 0x3c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x44]
mov dword [eax + 0x38], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x3c]
mov dword [edx + 0x2c], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x30]
mov dword [ecx + 0x1c], edx
mov eax, dword [ebp + 0xc]
mov byte [eax + 4], 0x74
cmp dword [ebp - 0x48], 0
jne 0x46b2d4
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x4c]
mov dword [ecx + 0x30], edx
jmp 0x46b2fe
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0x4c]
mov dword [eax + 0x30], ecx
cmp dword [ebp - 0x4c], 0
je 0x46b2ec
mov edx, dword [ebp - 0x4c]
mov eax, dword [ebp - 0x48]
mov dword [edx + 0x34], eax
mov ecx, dword [ebp - 0x48]
mov edx, dword [ebp + 0xc]
mov dword [ecx + 0x34], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x48]
mov dword [eax + 0x30], ecx
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x49]
test eax, eax
je 0x46b313
mov eax, 1
jmp 0x46b678
jmp 0x46b21a
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2c], edx
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004074a0
add esp, 8
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 8]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004074a0
add esp, 8
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.004074a0
add esp, 8
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 4], 0
mov edx, dword [ebp - 0x28]
mov dword [edx + 8], 0
mov eax, dword [ebp - 0x28]
mov dword [eax + 0xc], 0
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x14], 0
mov edx, dword [ebp - 0x28]
cmp dword [edx + 0x10], 0
je 0x46b3f9
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x50], ecx
mov edx, dword [ebp - 0x50]
cmp dword [edx + 0x20], 1
jne 0x46b3e0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x78], 0
je 0x46b3b7
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [ebp - 0x78], edx
jmp 0x46b3bd
mov eax, dword [ebp + 8]
mov dword [ebp - 0x78], eax
mov ecx, dword [ebp - 0x78]
mov dword [ebp - 0x54], ecx
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 0x54]
mov ecx, dword [eax + 0x1c8]
mov dword [edx + 0x4c], ecx
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 0x50]
mov dword [edx + 0x1c8], eax
jmp 0x46b3ef
mov ecx, dword [ebp - 0x50]
mov edx, dword [ecx + 0x20]
sub edx, 1
mov eax, dword [ebp - 0x50]
mov dword [eax + 0x20], edx
mov ecx, dword [ebp - 0x28]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp + 0xc]
mov dword [ebp - 0x34], edx
jmp 0x46b413
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x30]
mov dword [ebp - 0x34], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x34], 0
je 0x46b663
mov byte [ebp - 0x55], 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
je 0x46b44c
mov ecx, dword [ebp - 0x28]
mov dl, byte [ecx + 0x24]
mov byte [ebp - 0x55], dl
jmp 0x46b478
push 0
push 0
push 0
mov eax, dword [ebp - 8]
push eax
call fcn.004553b0
add esp, 0x10
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x1c], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x46b478
jmp 0x46b663
cmp dword [ebp - 0x5c], 1
jle 0x46b4b8
mov ecx, dword [ebp + 0x10]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x5c]
sub edx, 1
push edx
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00455280
add esp, 0x10
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x30]
mov dword [edx + 0x1c], eax
mov ecx, dword [ebp - 8]
movzx edx, byte [ecx + 0x49]
test edx, edx
je 0x46b4b8
jmp 0x46b663
mov dword [ebp - 0xc], 0
jmp 0x46b4ca
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0x5c]
jge 0x46b53f
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
imul edx, edx, 0x50
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax + edx + 0x40]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.004551b0
add esp, 8
mov eax, dword [ebp - 0xc]
imul eax, eax, 0x50
mov ecx, dword [ebp - 0x24]
lea esi, [ecx + eax + 8]
mov edx, dword [ebp - 0xc]
add edx, dword [ebp + 0x10]
imul edx, edx, 0x50
mov eax, dword [ebp - 0x30]
lea edi, [eax + edx + 8]
mov ecx, 0x14
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x50
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx + 0x38]
mov dword [ebp - 0x18], eax
push 0x50
push 0
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x50
mov edx, dword [ebp - 0x24]
lea eax, [edx + ecx + 8]
push eax
call fcn.00499430
add esp, 0xc
jmp 0x46b4c1
mov ecx, dword [ebp + 0x10]
imul ecx, ecx, 0x50
mov edx, dword [ebp - 0x30]
mov al, byte [ebp - 0x55]
mov byte [edx + ecx + 0x2c], al
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x2c], 0
je 0x46b5a2
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x2c]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0xc], 0
jmp 0x46b573
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx]
jge 0x46b58f
mov ecx, dword [ebp - 0xc]
imul ecx, ecx, 0x18
xor edx, edx
mov eax, dword [ebp - 0x60]
mov word [eax + ecx + 0x18], dx
jmp 0x46b56a
mov ecx, dword [ebp - 0x34]
mov edx, dword [ebp - 0x60]
mov dword [ecx + 0x2c], edx
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x2c], 0
push 0
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x20]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00445e20
add esp, 0xc
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x20], 0
jle 0x46b5d0
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00466680
add esp, 8
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ebp - 8]
push eax
call fcn.00445490
add esp, 0xc
mov ecx, dword [ebp - 0x34]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 8]
movzx eax, byte [edx + 0x49]
test eax, eax
jne 0x46b62a
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x74], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 0x70], edx
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx]
mov dword [ebp - 0x64], eax
push 0
mov ecx, dword [ebp - 0x34]
push ecx
lea edx, [ebp - 0x74]
push edx
call fcn.0046ae70
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
and ecx, 1
mov edx, dword [ebp - 0x34]
or ecx, dword [edx + 8]
mov eax, dword [ebp - 0x34]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 0x38], 0
je 0x46b65e
mov edx, dword [ebp - 0x34]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x38]
mov dword [edx + 0x38], ecx
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x38], 0
jmp 0x46b401
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 8]
push ecx
call fcn.00466370
add esp, 8
mov eax, 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret