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

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45a813
sub esp, 0x68
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x45a3e9
mov dword [esp + 0x28], ecx
mov ecx, dword [eax]
mov dword [esp + 0x48], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x44], edx
mov ebx, dword [ecx]
mov dword [esp], edx
mov dword [esp + 4], ebx
call fcn.0045d080
mov eax, dword [esp + 0x28]
cmp dword [esp + 8], eax
jne 0x45a1b6
mov ecx, 0xffffffff
jmp 0x45a1ed
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
mov edx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov dword [esp + 8], 1
dec eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], eax
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x10], ebx
call fcn.0045e0c0
mov eax, dword [esp + 0x14]
mov ecx, eax
mov eax, dword [esp + 0x28]
cmp ecx, 0xffffffff
jne 0x45a1f4
xor ecx, ecx
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], ecx
mov edx, dword [esp + 0x6c]
mov ebx, dword [edx + 0x1c]
sub ebx, dword [edx + 0x14]
test ebx, ebx
jbe 0x45a291
mov dword [esp + 0x2c], ebx
mov ebp, dword [esp + 0x48]
cmp byte [ebp + 0x2b], 1
ja 0x45a220
xor esi, esi
jmp 0x45a24e
lea esi, [ebp + 0x2b]
mov edi, dword [esp + 0x44]
mov eax, dword [edi + 0xa0]
mov ebx, dword [ebp + 0x1c]
lea ebx, [esi + ebx*4 + 5]
mov ebx, dword [ebx]
add eax, ebx
cmp ebx, 0xffffffff
sete bl
movzx ebx, bl
dec ebx
and eax, ebx
mov ebx, dword [esp + 0x2c]
mov esi, eax
mov eax, dword [esp + 0x28]
test esi, esi
je 0x45a73b
mov edi, dword [esi]
test edi, edi
jle 0x45a73b
mov ebx, dword [esi + 4]
test ebx, ebx
jle 0x45a28b
mov dword [esp + 0x60], esi
test ecx, ecx
jl 0x45a628
cmp ecx, edi
jge 0x45a628
lea edi, [ebx + 7]
sar edi, 3
imul edi, ecx
nop
lea esi, [esi + edi + 8]
jmp 0x45a295
xor ebx, ebx
xor esi, esi
jmp 0x45a295
xor ebx, ebx
xor esi, esi
mov dword [esp + 0x64], esi
mov dword [esp + 0x40], ebx
mov dword [esp], edx
call fcn.00459e20
mov eax, dword [esp + 4]
mov ecx, dword [esp + 8]
test eax, eax
jle 0x45a344
test ecx, ecx
je 0x45a2c8
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov ebx, eax
jmp 0x45a34e
mov edx, dword [esp + 0x48]
movzx ebx, byte [edx + 0x2b]
test bl, bl
ja 0x45a2dc
mov ebp, dword [esp + 0x44]
xor esi, esi
jmp 0x45a300
lea ebx, [edx + 0x2b]
mov ebp, dword [esp + 0x44]
mov esi, dword [ebp + 0xa0]
mov edi, dword [edx + 0x1c]
lea ebx, [ebx + edi*4 + 1]
mov ebx, dword [ebx]
add esi, ebx
cmp ebx, 0xffffffff
sete bl
movzx ebx, bl
dec ebx
and esi, ebx
test esi, esi
je 0x45a54d
mov ebx, dword [esi]
test ebx, ebx
jle 0x45a54d
mov dword [esp + 0x5c], esi
mov edi, dword [esp + 0x30]
test edi, edi
jl 0x45a43e
cmp edi, ebx
jge 0x45a43e
mov ebx, dword [esi + 4]
test ebx, ebx
jne 0x45a335
xor ebx, ebx
jmp 0x45a34e
lea eax, [ebx + 7]
sar eax, 3
imul edi, eax
lea ecx, [esi + edi + 8]
jmp 0x45a34e
mov edx, dword [esp + 0x48]
mov ebp, dword [esp + 0x44]
mov ebx, eax
cmp byte [edx + 0x2b], 2
ja 0x45a358
xor ebp, ebp
jmp 0x45a378
lea esi, [edx + 0x2b]
mov ebp, dword [ebp + 0xa0]
mov edx, dword [edx + 0x1c]
lea edx, [esi + edx*4 + 9]
mov edx, dword [edx]
add ebp, edx
cmp edx, 0xffffffff
sete dl
movzx edx, dl
dec edx
and ebp, edx
test ebp, ebp
je 0x45a3ae
mov edx, dword [ebp]
nop
test edx, edx
jl 0x45a439
mov dword [esp + 0x34], edx
mov eax, 0x10
mul edx
jo 0x45a434
lea edx, [ebp + 4]
mov ebp, edx
neg edx
cmp eax, edx
ja 0x45a434
mov eax, dword [esp + 0x34]
jmp 0x45a3b2
xor eax, eax
xor ebp, ebp
mov edx, dword [esp + 0x40]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x64]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ecx
mov dword [esp + 0x88], ebp
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], eax
add esp, 0x68
ret
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov dword [esp + 0x8c], 0
mov dword [esp + 0x90], 0
add esp, 0x68
ret
call fcn.0046b0f0
call fcn.0046b0f0
sar edi, 0x1f
mov dword [esp + 0x40], edi
mov ecx, dword [edx + 4]
mov dword [esp], ebp
mov dword [esp + 4], ecx
call fcn.0045d1b0
mov eax, dword [esp + 8]
mov dword [esp + 0x4c], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x18], ecx
mov edx, dword [esp + 0x5c]
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
call fcn.00442040
lea eax, [0xde85be]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004428c0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004426e0
lea eax, [0xdc93b3]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004428c0
mov eax, dword [esp + 0x3c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004426e0
lea eax, [0xdf81dc]
mov dword [esp], eax
mov dword [esp + 4], 0x1c
call fcn.004428c0
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 4], eax
call fcn.004428c0
lea eax, [0xdd3b9b]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004428c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00442750
lea eax, [0xdc76f1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004428c0
call fcn.004420a0
lea eax, [0xde288d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00440250
shl eax, 2
mov dword [esp + 0x40], eax
sar eax, 0x1f
mov dword [esp + 0x3c], eax
mov edx, dword [edx + 4]
mov dword [esp], ebp
mov dword [esp + 4], edx
call fcn.0045d1b0
mov eax, dword [esp + 8]
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x1c], ecx
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x20]
mov dword [esp + 0x38], edx
call fcn.00442040
lea eax, [0xde0385]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004428c0
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov eax, dword [esp + 0x1c]
mov dword [esp + 4], eax
call fcn.004428c0
lea eax, [0xddca20]
mov dword [esp], eax
mov dword [esp + 4], 0xe
call fcn.004428c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov dword [esp], eax
call fcn.00442750
lea eax, [0x19b4454]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004428c0
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call fcn.00442750
call fcn.00442250
call fcn.004420a0
lea eax, [0xde287d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00440250
sar ecx, 0x1f
mov dword [esp + 0x40], ecx
mov edx, dword [ebp + 4]
mov ebx, dword [esp + 0x44]
mov dword [esp], ebx
mov dword [esp + 4], edx
call fcn.0045d1b0
mov eax, dword [esp + 8]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x20], ecx
mov edx, dword [esp + 0x60]
mov edx, dword [edx]
mov dword [esp + 0x3c], edx
call fcn.00442040
lea eax, [0xde85be]
mov dword [esp], eax
mov dword [esp + 4], 0x13
call fcn.004428c0
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x30]
mov dword [esp], eax
call fcn.004426e0
lea eax, [0xdc93b3]
mov dword [esp], eax
mov dword [esp + 4], 5
call fcn.004428c0
mov eax, dword [esp + 0x3c]
mov ecx, eax
sar eax, 0x1f
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.004426e0
lea eax, [0xdfafbc]
mov dword [esp], eax
mov dword [esp + 4], 0x1e
call fcn.004428c0
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
call fcn.004428c0
lea eax, [0xdd3b9b]
mov dword [esp], eax
mov dword [esp + 4], 0xb
call fcn.004428c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00442750
lea eax, [0xdc76f1]
mov dword [esp], eax
mov dword [esp + 4], 2
call fcn.004428c0
call fcn.004420a0
lea eax, [0xde288d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00440250
mov eax, dword [ebp + 4]
mov ecx, dword [esp + 0x44]
mov dword [esp], ecx
mov dword [esp + 4], eax
call fcn.0045d1b0
mov eax, dword [esp + 8]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x6c]
mov edx, dword [edx + 0x1c]
mov dword [esp + 0x38], edx
call fcn.00442040
lea eax, [0xde0385]
mov dword [esp], eax
mov dword [esp + 4], 0xf
call fcn.004428c0
mov eax, dword [esp + 0x58]
mov dword [esp], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
call fcn.004428c0
lea eax, [0xde286d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.004428c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x2c]
sub eax, ecx
mov dword [esp], eax
call fcn.00442750
lea eax, [0x19b4454]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004428c0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x2c]
mov dword [esp], eax
call fcn.00442750
call fcn.00442250
call fcn.004420a0
lea eax, [0xde287d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00440250
nop
call fcn.00474040
jmp fcn.0045a160