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

Disassembly:
sub esp, 0xe0
mov eax, dword [0x624500]
xor eax, esp
mov dword [esp + 0xdc], eax
mov eax, dword [esp + 0xfc]
push ebx
mov ebx, dword [esp + 0xe8]
push ebp
mov ebp, dword [esp + 0xf8]
push esi
push edi
mov edi, dword [esp + 0x104]
mov esi, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x108]
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], esi
mov dword [esp + 0x14], edi
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x30], ebp
mov dword [esp + 0x28], eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x3c], 0
call fcn.00462cd0
test eax, eax
jne 0x4634aa
mov edx, dword [esi + 0x10]
mov dword [esp + 0x2c], eax
test edx, edx
je 0x4634a8
nop dword [eax + eax]
lea ecx, [eax + eax*2]
mov eax, dword [esi]
lea esi, [eax + ecx*8]
mov eax, dword [esi + 8]
test eax, eax
je 0x46319b
cmp eax, 0x21
je 0x46319b
cmp eax, 0x30101
je 0x46319b
mov ecx, eax
mov eax, dword [esi + 0xc]
cmp ecx, 0x303011b
jne 0x4630fb
test eax, eax
jne 0x4630fb
cmp dword [esp + 0x2c], 3
mov eax, dword [esp + 0x38]
mov esi, dword [eax + 8]
mov edi, dword [eax + 0xc]
jne 0x4634dc
mov edx, 1
mov ecx, eax
call fcn.00462e30
add eax, dword [esp + 0xf8]
mov dword [esp + 0x50], eax
lea eax, [esp + 0x50]
adc edx, dword [esp + 0xfc]
push 0
push eax
mov eax, dword [ebx + 0xc]
push ebx
mov dword [esp + 0x60], edx
call eax
add esp, 0xc
test eax, eax
jne 0x4634aa
cmp eax, edi
jne 0x4634c3
mov eax, dword [esp + 0x28]
push esi
push eax
mov eax, dword [eax]
call eax
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [ecx + 8], eax
test eax, eax
jne 0x4630a7
test esi, esi
jne 0x4634c3
push edi
push esi
mov edx, eax
mov ecx, ebx
call fcn.00462bf0
add esp, 8
test eax, eax
jne 0x4634aa
mov eax, dword [esp + 0x34]
mov edi, dword [esp + 0x14]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edi
push ebp
push esi
push dword [eax + 8]
push dword [esp + 0xe8]
push dword [eax + 4]
push dword [esp + 0xec]
push dword [eax]
call fcn.00465330
add esp, 0x20
test eax, eax
jne 0x4634aa
jmp 0x463490
cmp dword [esp + 0x2c], 1
jne 0x4634dc
cmp ecx, 0x3030103
jne 0x46312e
test eax, eax
jne 0x46312e
push ecx
mov dword [esp + 0x24], eax
mov edx, edi
lea eax, [esp + 0x24]
push eax
push ecx
mov ecx, ebp
call fcn.004651b0
add esp, 0xc
jmp 0x463490
cmp ecx, 0x3030501
jne 0x4634dc
test eax, eax
jne 0x4634dc
cmp edi, 4
jb 0x463490
lea esi, [edi - 4]
nop
cmp byte [eax + ebp + 3], 0xeb
jne 0x46318f
movzx edx, byte [eax + ebp + 2]
movzx ecx, byte [eax + ebp + 1]
shl edx, 8
or edx, ecx
movzx ecx, byte [eax + ebp]
shl edx, 8
or edx, ecx
shl edx, 2
sub edx, eax
sub edx, 8
shr edx, 2
mov ecx, edx
mov byte [eax + ebp], dl
shr ecx, 0x10
mov byte [eax + ebp + 2], cl
mov ecx, edx
shr ecx, 8
mov byte [eax + ebp + 1], cl
add eax, 4
cmp eax, esi
jbe 0x463150
jmp 0x463490
xor ecx, ecx
mov edi, ebp
mov ebp, dword [esp + 0x14]
cmp edx, 4
jne 0x46325d
mov eax, dword [esp + 0x44]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0xe0], 3
mov dword [esp + 0xe4], 2
mov eax, dword [eax + 0xc]
mov dword [esp + 0xe8], ecx
lea ebx, [edx*4]
mov ecx, dword [esp + ebx + 0xe0]
mov dword [esp + 0x20], ecx
mov ebp, dword [eax + edx*8]
mov eax, dword [eax + edx*8 + 4]
cmp edx, 2
jae 0x463231
xor ecx, ecx
cmp ecx, eax
jne 0x4634c3
mov eax, dword [esp + 0x28]
push ebp
push eax
mov eax, dword [eax]
call eax
mov edi, eax
add esp, 8
test edi, edi
jne 0x463217
test ebp, ebp
jne 0x4634c3
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x20]
sub eax, ebx
mov dword [eax + 4], edi
lea eax, [esp + 0xd8]
sub eax, ebx
mov dword [eax], ebp
jmp 0x46325d
jne 0x4634dc
test eax, eax
ja 0x4634ca
mov eax, dword [esp + 0x14]
jb 0x46324d
cmp ebp, eax
ja 0x4634ca
mov edi, dword [esp + 0x30]
sub edi, ebp
mov dword [esp + 0x40], ebp
add edi, eax
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x38]
mov edx, ecx
mov ebx, dword [eax + ecx*8]
mov eax, dword [eax + ecx*8 + 4]
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x18], eax
call fcn.00462e30
add eax, dword [esp + 0xf8]
mov dword [esp + 0x58], eax
lea eax, [esp + 0x58]
adc edx, dword [esp + 0xfc]
push 0
push eax
mov eax, dword [esp + 0x24]
push eax
mov dword [esp + 0x68], edx
mov eax, dword [eax + 0xc]
call eax
add esp, 0xc
test eax, eax
jne 0x4634aa
mov ecx, dword [esi + 8]
mov eax, ecx
mov edx, dword [esi + 0xc]
or eax, edx
jne 0x4632e0
cmp ebx, ebp
jne 0x4634d1
mov eax, dword [esp + 0x18]
test eax, eax
jne 0x4634d1
push eax
push ebx
mov ebx, dword [esp + 0x24]
mov edx, edi
mov ecx, ebx
call fcn.00462bf0
add esp, 8
jmp 0x463484
cmp ecx, 0x30101
jne 0x463460
test edx, edx
jne 0x463460
push dword [esp + 0x28]
mov dword [esp + 0x78], edx
lea ecx, [esp + 0x64]
push dword [esi + 0x14]
mov dword [esp + 0x78], edx
mov edx, dword [esi + 0x10]
call fcn.00464ce0
mov esi, eax
add esp, 8
test esi, esi
jne 0x4634d8
mov dword [esp + 0x74], edi
mov dword [esp + 0x88], ebp
mov dword [esp + 0x84], eax
mov dword [esp + 0xac], 1
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
mov dword [esp + 0xb0], 1
mov edi, dword [esp + 0x18]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 0x40000
test edi, edi
ja 0x463386
jb 0x463382
cmp ebx, 0x40000
jae 0x463386
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x24]
push eax
mov eax, dword [eax]
call eax
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x463445
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0x60]
mov dword [esp + 0x18], eax
mov edx, ebp
mov eax, dword [esp + 0x84]
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
push 1
lea eax, [esp + 0x20]
push eax
push dword [esp + 0x2c]
call fcn.004649a0
mov edx, dword [esp + 0x34]
mov esi, eax
mov eax, dword [esp + 0x28]
add esp, 0x10
sub edx, eax
sub ebx, eax
mov dword [esp + 0x24], edx
sbb edi, 0
mov dword [esp + 0x18], edi
test esi, esi
jne 0x463445
mov ecx, dword [esp + 0x84]
mov edi, dword [esp + 0x88]
cmp ecx, edi
je 0x46342a
test eax, eax
jne 0x463410
cmp dword [esp + 0x48], ecx
je 0x46342a
push eax
mov eax, dword [esp + 0x20]
push eax
mov eax, dword [eax + 4]
call eax
mov esi, eax
add esp, 8
test esi, esi
je 0x463360
jmp 0x463445
cmp edi, ebp
jne 0x463440
test edx, edx
jne 0x463440
mov eax, dword [esp + 0x4c]
cmp eax, 1
je 0x463445
cmp eax, 4
je 0x463445
mov esi, 1
mov eax, dword [esp + 0x28]
push dword [esp + 0x70]
push eax
mov eax, dword [eax + 4]
call eax
add esp, 8
test esi, esi
jne 0x4634d8
mov ebx, dword [esp + 0x1c]
jmp 0x463488
cmp ecx, 0x21
jne 0x4634dc
test edx, edx
jne 0x4634dc
push dword [esp + 0x28]
mov ecx, esi
push ebp
push edi
push dword [esp + 0x24]
push ebx
mov ebx, dword [esp + 0x30]
mov edx, ebx
call fcn.004629b0
add esp, 0x14
test eax, eax
jne 0x4634aa
mov ebp, dword [esp + 0x30]
mov edi, dword [esp + 0x14]
mov esi, dword [esp + 0x44]
mov eax, dword [esp + 0x2c]
inc eax
mov dword [esp + 0x2c], eax
mov edx, dword [esi + 0x10]
cmp eax, edx
jb 0x462ff0
xor eax, eax
mov ecx, dword [esp + 0xec]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0053a175
add esp, 0xe0
ret
mov eax, 2
jmp 0x4634aa
mov eax, 5
jmp 0x4634aa
mov eax, 1
jmp 0x4634aa
mov eax, esi
jmp 0x4634aa
mov eax, 4
jmp 0x4634aa