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

Disassembly:
sub esp, 0x5c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x70]
cmp edi, 1
mov esi, eax
jne 0x46c3d2
mov ebp, 0x743048
mov eax, 0x73fef0
mov dword [esp + 0x18], ebp
jmp 0x46c3e3
mov dword [esp + 0x18], 0x743038
mov ebp, dword [esp + 0x18]
mov eax, 0x73fe88
xor ebx, ebx
push ebx
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x7c]
lea edx, [esp + 0x2c]
push 3
push edx
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], 0x73ed58
mov dword [esp + 0x50], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], edi
mov dword [esp + 0x40], ebx
mov dword [esp + 0x3c], eax
call fcn.004484b0
mov eax, dword [esp + 0x40]
add esp, 0x10
cmp eax, ebx
je 0x46c431
mov ebp, eax
jmp 0x46c78d
mov eax, dword [esi + 8]
lea ebx, [edi + edi*2]
add ebx, ebx
add ebx, ebx
add ebx, ebx
mov ecx, dword [eax + ebx]
push ecx
push esi
mov eax, ebp
mov dword [esp + 0x18], ebx
call fcn.004313f0
add esp, 8
test eax, eax
je 0x46c458
or byte [eax + 0x22], 1
mov eax, dword [esi + 8]
cmp dword [eax + ebx + 4], 0
lea ebp, [eax + ebx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ebp
jne 0x46c484
cmp edi, 1
jne 0x46c47a
mov eax, dword [eax + 0x2c]
or word [eax + 0x4a], di
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x5c
ret
push 0xd0
call fcn.00436a00
add esp, 4
test eax, eax
mov dword [esp + 0x20], eax
je 0x46c4f0
push 0xd0
push 0
push eax
call 0x705b62
mov edi, dword [ebp]
add esp, 0xc
call fcn.0042e420
mov edx, dword [esp + 0x20]
mov eax, dword [ebp]
push edx
push 0
push 0
push 1
call fcn.004617b0
mov ebp, eax
add esp, 0x10
test ebp, ebp
je 0x46c503
cmp ebp, 0x10
je 0x46c546
call fcn.00433ed0
mov edi, dword [esp + 0x74]
push eax
push 0x73dcb0
mov eax, esi
call fcn.00443d10
add esp, 8
jmp 0x46c750
pop edi
mov ebp, 7
mov byte [esi + 0x1e], 1
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x5c
ret
xor eax, eax
lea ebx, [esp + 0x44]
lea esp, [esp]
mov ecx, dword [esp + 0x1c]
mov ecx, dword [ecx]
lea edi, [eax + 1]
push ebx
mov eax, edi
call fcn.0045f2c0
mov ebp, eax
add esp, 4
test ebp, ebp
jne 0x46c542
mov eax, edi
add ebx, 4
cmp eax, 0xa
jl 0x46c510
mov edx, dword [esp + 0x54]
mov eax, dword [esp + 0x44]
mov ebx, dword [esp + 0x10]
jmp 0x46c56a
mov eax, ebp
jmp 0x46c4d2
xor eax, eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
mov dword [esp + 0x50], eax
mov edx, eax
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
test edx, edx
mov ecx, dword [esp + 0x14]
mov edi, dword [ecx + ebx + 0x14]
lea ecx, [ecx + ebx + 0x14]
mov dword [esp + 0x14], ecx
mov dword [edi], eax
je 0x46c60e
cmp dword [esp + 0x70], 0
mov eax, dword [esi + 8]
mov eax, dword [eax + 0x14]
jne 0x46c5e9
lea edi, [esi + 0x184]
test edi, edi
mov byte [eax + 0x49], dl
je 0x46c5e2
cmp dword [edi + 0xc], 0
je 0x46c5e2
mov ecx, 6
mov edx, 0x74453c
call fcn.0042be80
mov ecx, dword [edi]
shr ecx, 1
xor edx, edx
div ecx
push 6
mov ebx, 0x74453c
mov eax, edi
mov ecx, edx
call fcn.0042bf30
mov ebx, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x46c5e2
mov eax, dword [eax + 8]
mov dword [esi + 0x2c], eax
jmp 0x46c61a
xor eax, eax
mov dword [esi + 0x2c], eax
jmp 0x46c61a
movzx eax, byte [eax + 0x49]
cmp edx, eax
je 0x46c61a
push 0x7447a0
mov edi, dword [esp + 0x78]
mov eax, esi
call fcn.00443d10
add esp, 4
mov ebp, 1
jmp 0x46c750
mov edx, dword [esi + 8]
mov eax, dword [edx + ebx + 0x14]
or word [eax + 0x4a], 4
mov eax, dword [esi + 8]
mov edx, dword [eax + 0x14]
mov eax, dword [ecx]
mov dl, byte [edx + 0x49]
mov byte [eax + 0x49], dl
mov eax, dword [ecx]
cmp dword [eax + 0x4c], 0
jne 0x46c660
mov eax, dword [esp + 0x4c]
test eax, eax
jne 0x46c63f
mov eax, 0x7d0
jmp 0x46c643
jge 0x46c643
neg eax
mov edx, dword [ecx]
mov dword [edx + 0x4c], eax
mov eax, dword [ecx]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [eax + 0x4c]
mov eax, dword [ecx]
call fcn.0042f200
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx]
mov eax, dword [esp + 0x48]
mov byte [edx + 0x48], al
mov edx, dword [ecx]
cmp byte [edx + 0x48], 0
jne 0x46c675
mov byte [edx + 0x48], 1
mov ecx, dword [ecx]
cmp byte [ecx + 0x48], 4
jbe 0x46c687
push 0x744788
jmp 0x46c5f6
cmp dword [esp + 0x70], 0
jne 0x46c69a
cmp eax, 4
jl 0x46c69a
and dword [esi + 0xc], 0xffff7fff
cmp ebp, 0x10
jne 0x46c6a3
xor ebp, ebp
jmp 0x46c718
mov edx, dword [esp + 0x18]
mov eax, dword [esi + 8]
mov ecx, dword [eax + ebx]
push edx
push ecx
push 0x744760
call fcn.0043deb0
mov edx, dword [esi + 0xf8]
mov edi, eax
push 0
lea eax, [esp + 0x34]
push eax
push fcn.004484b0
push edi
push esi
mov dword [esp + 0x94], edx
mov dword [esi + 0xf8], 0
call fcn.0046bd30
mov ecx, dword [esp + 0x94]
mov ebp, eax
add esp, 0x20
test ebp, ebp
mov dword [esi + 0xf8], ecx
jne 0x46c6ff
mov ebp, dword [esp + 0x30]
push edi
push esi
call fcn.0042b070
add esp, 8
test ebp, ebp
jne 0x46c718
mov eax, dword [esp + 0x70]
mov ecx, esi
call fcn.004401f0
cmp byte [esi + 0x1e], 0
je 0x46c735
push 0
mov ebx, esi
mov ebp, 7
call fcn.00445db0
mov ebx, dword [esp + 0x14]
add esp, 4
jmp 0x46c739
test ebp, ebp
je 0x46c742
test dword [esi + 0xc], 0x40000
je 0x46c750
mov edx, dword [esi + 8]
mov ebx, dword [edx + ebx + 0x14]
or word [ebx + 0x4a], 1
xor ebp, ebp
mov edi, dword [esp + 0x20]
push edi
call fcn.00459f70
push edi
call fcn.0042aff0
mov eax, dword [esp + 0x24]
mov edi, dword [eax]
add esp, 8
cmp byte [edi + 9], 0
je 0x46c78d
add dword [edi + 0xc], 0xffffffff
jne 0x46c78d
mov ecx, dword [edi + 4]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x46c789
push eax
call dword [0x7cfcb8]
add esp, 4
mov byte [edi + 0xa], 0
cmp ebp, 7
je 0x46c79a
cmp ebp, 0xc0a
jne 0x46c79e
mov byte [esi + 0x1e], 1
pop edi
pop esi
mov eax, ebp
pop ebp
pop ebx
add esp, 0x5c
ret