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

Disassembly:
sub esp, 0x60
push ebx
mov ebx, ecx
mov eax, dword [ebx]
mov edx, dword [eax + 0x58]
call edx
test eax, eax
jne 0x462efe
mov eax, dword [0x5b2f68]
push ebp
mov ebp, dword [eax + 0x15d0]
mov eax, dword [ebx + 0x24]
push esi
xor esi, esi
mov dword [esp + 0xc], eax
cmp word [eax], si
je 0x462efc
mov edx, dword [ebx]
mov eax, dword [edx + 0x60]
mov ecx, ebx
call eax
mov edx, dword [ebx]
mov edx, dword [edx + 0x64]
mov dword [esp + 0x10], eax
lea eax, [esp + 0x10]
push eax
mov ecx, ebx
call edx
mov dword [esp + 0x14], eax
cmp eax, esi
je 0x462efc
dec ebp
cmp ebp, esi
push edi
jl 0x462ced
mov edi, ebp
imul edi, edi, 0x54
jmp 0x462cb0
cmp ebp, esi
mov eax, dword [0x5b2f68]
jl 0x462ed8
cmp ebp, dword [eax + 0x15d0]
jge 0x462ed8
mov eax, dword [eax + 0x15cc]
mov ecx, dword [esp + 0x10]
add eax, edi
mov eax, dword [eax]
push eax
push ecx
call fcn.005183ef
add esp, 8
test eax, eax
je 0x462ced
dec ebp
sub edi, 0x54
cmp ebp, esi
jge 0x462cb0
cmp ebp, esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x48], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x58], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x50], esi
mov byte [esp + 0x5c], 0
mov dword [esp + 0x40], esi
mov dword [esp + 0x60], esi
mov dword [esp + 0x68], esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x6c], esi
jl 0x462dcb
mov eax, dword [0x5b2f68]
cmp ebp, dword [eax + 0x15d0]
jge 0x462ed8
mov esi, dword [eax + 0x15cc]
mov edx, ebp
imul edx, edx, 0x54
add esi, edx
mov ecx, 0x15
lea edi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
mov esi, dword [0x5b2f68]
mov ecx, dword [esi + 0x15d0]
lea edi, [esi + 0x15d0]
lea eax, [ebp + 1]
cmp eax, ecx
jg 0x462ed8
cmp eax, ebp
jl 0x462ed8
cmp eax, 1
jl 0x462ed8
sub ecx, eax
je 0x462dc7
mov esi, dword [esi + 0x15cc]
imul ecx, ecx, 0x54
imul eax, eax, 0x54
push ecx
add eax, esi
push eax
add edx, esi
push ecx
push edx
call fcn.00517a9d
push eax
call fcn.00401d10
add esp, 0x14
dec dword [edi]
jmp 0x462ddd
mov edx, dword [esp + 0x10]
push esi
push edx
call fcn.00447630
add esp, 8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax + 0x70]
mov edx, dword [eax + 0x6c]
mov eax, dword [esp + 0x20]
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
call fcn.004d7727
mov eax, dword [ebx + 0xf0]
xor ecx, ecx
mov edx, 4
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004d76f8
xor esi, esi
add esp, 8
cmp dword [ebx + 0xf0], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x34], esi
jle 0x462e64
xor ecx, ecx
cmp dword [ebx + 0x294], ecx
jle 0x462e64
xor edx, edx
jmp 0x462e40
mov edi, dword [ebx + 0x2e0]
cmp dword [edx + edi + 0x14], 0
je 0x462e54
lea edi, [ecx + 1]
mov dword [eax + esi*4], edi
inc esi
inc ecx
add edx, 0x20
cmp ecx, dword [ebx + 0x294]
jl 0x462e40
mov dword [esp + 0x34], esi
cmp dword [0x5b3534], 0
je 0x462e8d
lea eax, [esp + 0x68]
push eax
lea ecx, [esp + 0x68]
push ecx
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebx
call fcn.00462490
mov edx, dword [ebx + 0xf8]
lea eax, [esp + 0x5c]
push eax
lea ecx, [esp + 0x54]
push ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x4c]
push edx
lea eax, [esp + 0x20]
push eax
push ecx
mov ecx, ebx
call fcn.00461910
mov esi, dword [0x5b2f68]
mov edi, dword [esi + 0x15d0]
mov edx, dword [ebx + 0x78]
add esi, 0x15c8
mov dword [esp + 0x60], eax
mov dword [esp + 0x6c], edx
test edi, edi
jge 0x462edd
call fcn.004e0962
push 0xffffffffffffffff
lea eax, [edi + 1]
push eax
mov ecx, esi
call fcn.00411e90
imul edi, edi, 0x54
add edi, dword [esi + 4]
mov ecx, 0x15
lea esi, [esp + 0x1c]
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x60
ret