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

Disassembly:
sub esp, 0x8c
mov ecx, 0xc
mov dword [esp + 8], ebp
mov ebp, dword [esp + 0xa4]
mov dword [esp + 0xc], esi
mov esi, 0x4cc320
mov dword [esp + 0x10], edi
lea edi, [esp + 0x54]
mov dword [esp + 4], ebx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x7c], eax
xor ebx, ebx
mov esi, dword [esp + 0x98]
mov dword [esp + 0x80], ecx
push ebp
lea eax, [esp + 0x58]
call fcn.00410fbc
test al, al
je 0x46258b
cmp ebx, 2
jne 0x4622e6
cmp byte [esp + 0x69], 0
jne 0x4622e6
cmp dword [esp + 0x9c], 0
sete dl
mov ecx, 0x4625a8
mov edi, 0x4cc290
push edx
lea esi, [esp + 0x90]
mov eax, 0x1e7
push ecx
push esi
push edi
push 0x37
call fcn.00411320
jmp 0x46258b
mov edx, dword [esp + 0x54]
cmp edx, 0x7fffffff
jne 0x46232b
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x44], edx
mov dword [esp + 0x48], ecx
push ebx
push esi
push dword [esp + 0x50]
push dword [esp + 0x50]
call fcn.004625e0
mov edi, eax
test eax, eax
jns 0x462324
or byte [esp + 0x6b], 1
neg edi
mov dword [esp + 0x54], edi
inc ebx
jmp 0x462381
test edx, edx
jns 0x462381
mov ecx, dword [esp + 0x90]
neg edx
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x28], ecx
lea ecx, [edx - 1]
mov dword [esp + 0x88], edx
push ecx
push esi
push dword [esp + 0x30]
push dword [esp + 0x30]
call fcn.004625e0
mov edi, eax
cmp ebx, dword [esp + 0x88]
jae 0x462372
mov ebx, dword [esp + 0x88]
test edi, edi
jns 0x46237d
or byte [esp + 0x6b], 1
neg edi
mov dword [esp + 0x54], edi
mov edx, dword [esp + 0x58]
cmp edx, 0x7fffffff
jne 0x4623c9
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], edx
push ebx
push esi
push dword [esp + 0x38]
push dword [esp + 0x38]
call fcn.004626b0
mov edi, eax
test eax, eax
js 0x4623be
mov dword [esp + 0x58], edi
jmp 0x4623c6
mov dword [esp + 0x58], 0x7ffffffe
inc ebx
jmp 0x46241f
test edx, edx
jns 0x46241f
mov ecx, dword [esp + 0x90]
mov edi, edx
neg edi
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x94]
lea edx, [edi - 1]
mov dword [esp + 0x40], ecx
push edx
push esi
push dword [esp + 0x48]
push dword [esp + 0x48]
call fcn.004626b0
cmp ebx, edi
mov dword [esp + 0x84], eax
jae 0x462406
mov ebx, edi
mov edi, dword [esp + 0x84]
test edi, edi
js 0x462417
mov dword [esp + 0x58], edi
jmp 0x46241f
mov dword [esp + 0x58], 0x7ffffffe
cmp dword [esp + 0x5c], 0x7fffffff
jne 0x462453
mov ecx, dword [esp + 0x90]
mov edx, dword [esp + 0x94]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
push ebx
push esi
push dword [esp + 0x40]
push dword [esp + 0x40]
call fcn.00462780
inc ebx
mov dword [esp + 0x5c], eax
cmp dword [esp + 0x60], 0x7fffffff
jne 0x462477
push ebx
push esi
push dword [esp + 0x9c]
push dword [esp + 0x9c]
call fcn.00462850
inc ebx
mov dword [esp + 0x64], eax
cmp ebx, 2
jne 0x4624b4
cmp byte [esp + 0x69], 0
jne 0x4624b4
cmp dword [esp + 0x9c], 0
sete dl
mov ecx, 0x4625c4
mov edi, 0x4cc290
push edx
lea esi, [esp + 0x90]
mov eax, 0x22c
push ecx
push esi
push edi
push 0x37
call fcn.00411320
jmp 0x46258b
cmp byte [esp + 0x69], 0
mov eax, ebx
je 0x4624c5
movzx eax, byte [esp + 0x69]
dec eax
jmp 0x4624c6
inc ebx
test eax, eax
je 0x4624d1
cmp eax, 1
je 0x4624f2
jmp 0x462539
push ebp
push esi
lea eax, [esp + 0x5c]
call fcn.00414b84
movzx ecx, byte [esp + 0x6a]
cmp ebx, ecx
jae 0x4624e7
mov ebx, ecx
cmp byte [esp + 0x6a], 1
jbe 0x462297
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x94]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
push ebp
lea ecx, [esp + 0x18]
push ecx
lea eax, [esp + 0x5c]
call fcn.00412930
movzx edx, byte [esp + 0x6a]
cmp ebx, edx
jae 0x46252e
mov ebx, edx
cmp byte [esp + 0x6a], 2
jbe 0x462297
mov dword [esp], 0x4d7d90
call fcn.00462d20
mov esi, 0x4cc2d0
mov edi, 0x4cc2f0
push esi
mov ebx, eax
mov eax, 2
push 0x16
push dword [esp + 0x71]
push 0x24
push dword [esp + 0x78]
push edi
push 0xf
call fcn.00415484
mov ecx, 0x4cc290
push edx
push eax
mov eax, ebx
push ecx
push 0x37
push 0x253
push 0
call fcn.00466af4
mov dword [esp], eax
call fcn.00463074
mov eax, ebx
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 8]
mov esi, dword [esp + 0xc]
mov edi, dword [esp + 0x10]
add esp, 0x8c
ret 0x18