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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45471f
sub esp, 0x5c
mov eax, dword [esp + 0x68]
test eax, eax
je 0x454229
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x454276
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.004541b0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x70]
xor ebp, ebp
jmp 0x454242
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
inc ebp
mov ebx, dword [esp + 0x70]
cmp ebp, 8
jge 0x454276
lea esi, [eax + eax*2]
shl esi, 5
add esi, ebx
lea edi, [ebp + ebp*2]
lea ebx, [esi + edi*4 + 4]
cmp dword [ebx], edx
jne 0x45423d
lea ebx, [esi + edi*4]
cmp dword [ebx], ecx
jne 0x45423d
mov eax, dword [esi + edi*4 + 8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.00454000
movzx eax, byte [esp + 8]
test al, al
je 0x4542f0
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x30]
mov ebx, dword [esp + 0x68]
sub edx, ebx
mov dword [esp + 0x3c], edx
neg edx
sar edx, 0x1f
and edx, ebx
add edx, dword [eax + 0x28]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0x60]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00454090
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x68]
sub ecx, edx
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x50]
jmp 0x454388
movzx eax, byte [esp + 0x74]
test al, al
je 0x454303
mov eax, dword [0x7179dc]
test eax, eax
je 0x454317
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 4], eax
call fcn.00454090
mov eax, dword [esp + 8]
mov dword [esp + 0x48], eax
call fcn.004398f0
lea eax, [0x5d9773]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.0043a480
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043a340
call fcn.00439ae0
call fcn.00439950
lea eax, [0x5d24d3]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004382f0
mov ebp, eax
mov eax, ecx
mov ecx, edx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x50], ebp
mov dword [esp + 0x30], eax
mov edx, dword [esp + 0x60]
mov dword [esp], edx
mov esi, dword [esp + 0x64]
mov dword [esp + 4], esi
call fcn.00454090
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00454f70
mov eax, dword [esp + 0x18]
movzx ecx, byte [esp + 0x24]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test cl, cl
je 0x45448d
mov ecx, dword [esp + 0x34]
mov ebp, dword [esp + 0x6c]
cmp ebp, ecx
jae 0x454382
mov eax, dword [esp + 0x70]
test eax, eax
je 0x454479
mov dword [esp], ebp
call fcn.004541b0
mov eax, dword [esp + 4]
mov dword [esp + 0x28], eax
mov dword [esp], 8
call fcn.00452710
mov eax, dword [esp + 0x28]
lea eax, [eax + eax*2]
shl eax, 5
mov ecx, dword [esp + 0x70]
lea edx, [eax + ecx]
mov ebx, dword [esp + 4]
lea ebx, [ebx + ebx*2]
mov ebp, dword [ecx + eax + 4]
mov esi, dword [ecx + eax + 8]
mov edi, dword [ecx + eax]
mov dword [edx + ebx*4], edi
mov dword [edx + ebx*4 + 4], ebp
mov dword [edx + ebx*4 + 8], esi
mov edx, dword [esp + 0x2c]
mov ebx, dword [esp + 0x6c]
mov dword [ecx + eax], ebx
mov ebx, dword [esp + 0x68]
mov dword [ecx + eax + 4], ebx
mov dword [ecx + eax + 8], edx
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov ecx, dword [0x7179dc]
test ecx, ecx
jne 0x4545fc
movzx ecx, byte [esp + 0x74]
test cl, cl
je 0x4545fc
mov dword [esp + 0x44], edx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x60]
mov dword [esp], eax
mov ecx, dword [esp + 0x64]
mov dword [esp + 4], ecx
call fcn.004547a0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x4c], ecx
mov edx, dword [esp + 0x34]
mov dword [esp + 0x48], edx
call fcn.004398f0
lea eax, [0x5dc689]
mov dword [esp], eax
mov dword [esp + 4], 0x24
call fcn.0043a480
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 4], eax
call fcn.0043a480
lea eax, [0x5cec7c]
mov dword [esp], eax
mov dword [esp + 4], 4
call fcn.0043a480
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043a340
lea eax, [0x5d0300]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043a480
mov dword [esp + 4], 0
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
call fcn.0043a340
lea eax, [0x5ceeb7]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.0043a480
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 8], eax
call fcn.0043a4d0
call fcn.00439ae0
call fcn.00439950
mov eax, dword [esp + 0x64]
mov ecx, dword [eax + 0x2c]
mov dword [esp + 0x4c], ecx
mov edx, dword [eax + 0x30]
mov ebx, dword [esp + 0x68]
sub edx, ebx
mov dword [esp + 0x3c], edx
neg edx
sar edx, 0x1f
and edx, ebx
add edx, dword [eax + 0x28]
mov dword [esp + 0x50], edx
mov esi, dword [esp + 0x60]
mov dword [esp], esi
mov dword [esp + 4], eax
call fcn.00454090
mov eax, dword [esp + 8]
mov dword [esp + 0x34], eax
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x68]
sub eax, ecx
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x50]
jmp 0x454694
mov dword [esp + 0x78], 0xffffffff
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov dword [esp + 0x38], edx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x3c], ebx
mov eax, dword [esp + 0x34]
mov dword [esp + 0x48], eax
call fcn.004398f0
lea eax, [0x5cf753]
mov dword [esp], eax
mov dword [esp + 4], 7
call fcn.0043a480
mov eax, dword [esp + 0x2c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.0043a2c0
lea eax, [0x5d0314]
mov dword [esp], eax
mov dword [esp + 4], 0xa
call fcn.0043a480
mov dword [esp + 4], 0
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.0043a340
call fcn.00439ae0
call fcn.00439950
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x50], edx
mov dword [esp + 0x38], eax
mov ebx, dword [esp + 0x60]
mov dword [esp], ebx
mov ebp, dword [esp + 0x64]
mov dword [esp + 4], ebp
call fcn.00454090
mov eax, dword [esp + 8]
cmp dword [esp + 0x34], eax
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 8], eax
lea eax, [esp + 0x34]
mov dword [esp + 0xc], eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x10], ecx
sete dl
mov byte [esp + 0x14], dl
call fcn.00454f70
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x20]
test al, al
jne 0x454610
lea eax, [0x5d95b3]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004382f0
nop
call fcn.00463a70
jmp fcn.004541e0