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

Disassembly:
push 0xffffffffffffffff
push 0x66d43f
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x7289f4]
xor eax, esp
mov dword [esp + 0xd4], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7289f4]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov esi, dword [esp + 0xfc]
mov edi, ecx
mov eax, dword [esp + 0x104]
mov dword [edi + 0x1c], eax
mov eax, dword [esp + 0x100]
push ecx
add eax, 0xfffffff0
xor ebx, ebx
mov dword [esp + 0x58], esp
mov ebp, esp
push eax
mov dword [esp + 0xfc], ebx
call fcn.00401ea0
add eax, 0x10
add esp, 4
mov ecx, edi
mov dword [ebp], eax
call fcn.0045c630
mov ecx, dword [esp + 0x108]
sub ecx, 1
je 0x45d4f1
sub ecx, 1
jne 0x45d497
cmp eax, 4
jne 0x45d327
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [0x68a7f4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0xf0]
xor eax, eax
cmp dword [ecx + 0x2c], ebx
setne al
mov edx, eax
neg edx
push edx
neg eax
push eax
lea eax, [esp + 0x4c]
push eax
call dword [0x68a808]
mov ecx, dword [esp + 0x100]
mov edx, dword [esp + 0x4c]
sub edx, dword [esp + 0x44]
mov eax, dword [esp + 0x50]
sub eax, dword [esp + 0x48]
push ebx
mov dword [esp + 0x3c], ecx
lea ecx, [esp + 0x1c]
push ecx
push edi
mov dword [esp + 0x28], edx
push ebx
lea edx, [esp + 0x2c]
mov dword [esp + 0x30], eax
push edx
lea eax, [esp + 0x48]
push eax
mov dword [esp + 0x4c], 5
mov dword [esp + 0x58], ebx
call fcn.0045c590
mov eax, dword [esp + 0x118]
add eax, 0xfffffff0
add esp, 0x18
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d31d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 4
jmp 0x45d4c7
cmp eax, 5
jne 0x45d497
lea ecx, [esi + 0x154]
call fcn.00407aa0
lea ecx, [esp + 0x18]
mov dword [esp + 0x14], ebx
call fcn.0047ed10
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0xfc], 5
call dword [0x68a7f4]
mov ecx, dword [esi + 0x180]
mov eax, dword [esi + 0x164]
inc eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x30]
sub eax, dword [esp + 0x28]
mov edx, 1
shl edx, cl
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x24]
mov dword [esp + 0x68], eax
movzx eax, byte [esi + 0x160]
or edx, 0x10
mov dword [esp + 0x60], edx
mov edx, dword [esi + 0x17c]
add edx, edx
or edx, dword [esi + 0x178]
or eax, 0xffffff00
add edx, edx
or edx, dword [esi + 0x174]
shl eax, 8
mov dword [esp + 0x64], ecx
movzx ecx, byte [esi + 0x161]
or eax, ecx
mov dword [esp + 0xd8], edx
movzx edx, byte [esi + 0x162]
shl eax, 8
or eax, edx
mov dword [esp + 0xdc], eax
mov eax, dword [esi + 0x16c]
push 0x20
push eax
lea eax, [esp + 0x78]
push eax
mov dword [esp + 0x78], 0xff000000
call dword [0x68a648]
mov eax, dword [esi + 0x170]
push eax
call fcn.004e0359
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
mov eax, 0x88888889
imul ecx
mov eax, dword [esi + 0x15c]
add edx, ecx
sar edx, 3
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dx, word [esi + 0x168]
mov esi, dword [esi + 0x158]
imul dx, dx, 5
add esp, 4
mov word [esp + 0xd4], cx
push esi
lea ecx, [esp + 0x5c]
push ecx
mov word [esp + 0xe8], dx
mov dword [esp + 0x60], eax
call dword [0x68a054]
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x5c]
push edi
push eax
call fcn.00405e60
add esp, 0xc
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0xf4], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d497
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x100]
add eax, 0xfffffff0
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d4c5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd4]
xor ecx, esp
call fcn.004df5e6
add esp, 0xe4
ret 0x10
cmp eax, 1
jne 0x45d586
push 8
call fcn.004a1cac
add esp, 4
cmp eax, ebx
je 0x45d513
mov dword [eax + 4], ebx
mov dword [eax], 0x68b2a4
mov ebx, eax
mov eax, dword [esp + 0x100]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x1c], esp
mov esi, esp
push eax
mov dword [esp + 0x1c], ebx
call fcn.00401ea0
add esp, 4
lea ecx, [esp + 0x18]
add eax, 0x10
push ecx
mov ecx, edi
mov dword [esi], eax
call fcn.0045c970
mov edx, dword [esp + 0x14]
push edx
mov ecx, edi
call fcn.004c920b
mov eax, dword [esp + 0x100]
add eax, 0xfffffff0
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d57c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x45d4c7
cmp eax, 2
jne 0x45d745
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x44]
push ecx
push edx
call dword [0x68a7f4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0xf0]
xor eax, eax
cmp dword [ecx + 0x2c], ebx
setne al
mov edx, eax
neg edx
push edx
neg eax
push eax
lea eax, [esp + 0x4c]
push eax
call dword [0x68a808]
mov ecx, dword [esp + 0x100]
push 0x2e
push ecx
call fcn.004e053f
add esp, 8
cmp eax, ebx
jne 0x45d5e0
or esi, 0xffffffff
jmp 0x45d5eb
sub eax, dword [esp + 0x100]
sar eax, 1
mov esi, eax
lea ecx, [esp + 0x14]
call fcn.0047ed10
mov edx, dword [esp + 0x100]
mov eax, dword [edx - 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x58]
push eax
lea ecx, [esp + 0x108]
mov byte [esp + 0xfc], 1
call fcn.00402330
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0xf8], 2
call fcn.00403740
mov eax, dword [esp + 0x54]
add eax, 0xfffffff0
mov byte [esp + 0xf4], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d655
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push 0x697288
lea ecx, [esp + 0x18]
call fcn.0040bc20
test eax, eax
je 0x45d679
push 0x697274
lea ecx, [esp + 0x18]
call fcn.0040bc20
test eax, eax
jne 0x45d681
mov dword [esp + 0x34], 2
push 0x697290
lea ecx, [esp + 0x18]
call fcn.0040bc20
test eax, eax
jne 0x45d69b
mov dword [esp + 0x34], 1
mov edx, dword [edi + 0x8c]
mov ecx, dword [esp + 0x100]
mov eax, dword [esp + 0x4c]
sub eax, dword [esp + 0x44]
push ebx
mov dword [esp + 0x3c], ecx
mov ecx, dword [esp + 0x54]
sub ecx, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x28], eax
push ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x48]
push ecx
mov dword [esp + 0x58], ebx
call fcn.0045c590
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
add esp, 0x18
mov byte [esp + 0xf4], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x45d70d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x100]
add eax, 0xfffffff0
mov dword [esp + 0xf4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x45d73b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 2
jmp 0x45d4c7
cmp eax, 3
jne 0x45d804
lea ecx, [esp + 0x58]
call fcn.00403950
mov eax, dword [edi + 0x1c]
mov edx, dword [eax + 0x20]
lea ecx, [esp + 0x24]
push ecx
push edx
mov byte [esp + 0xfc], 3
call dword [0x68a7f4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0xf0]
xor eax, eax
cmp dword [ecx + 0x2c], ebx
setne al
mov edx, eax
neg edx
push edx
neg eax
push eax
lea eax, [esp + 0x2c]
push eax
call dword [0x68a808]
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x20]
push ecx
call dword [0x68a7d8]
push eax
call fcn.004a5609
push edi
lea edx, [esp + 0x28]
push edx
push ecx
mov esi, eax
lea eax, [esp + 0x10c]
mov ecx, esp
mov dword [esp + 0x24], esp
push eax
call fcn.004021c0
lea ecx, [esp + 0x64]
call fcn.00404f80
mov edi, dword [edi + 0x1c]
mov ecx, dword [esi + 4]
mov edx, dword [edi + 0x20]
push ecx
push edx
call dword [0x68a9c4]
lea ecx, [esp + 0x58]
mov byte [esp + 0xf4], bl
call fcn.00403a80
lea ecx, [esp + 0x100]
call fcn.00402260
mov eax, 3
jmp 0x45d4c7
cmp eax, 4
jne 0x45d89a
mov ecx, dword [edi + 0x1c]
mov edx, dword [ecx + 0x20]
lea eax, [esp + 0x34]
push eax
push edx
call dword [0x68a7f4]
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0xf0]
xor eax, eax
cmp dword [ecx + 0x2c], ebx
lea ecx, [esp + 0x34]
setne al
push eax
push eax
call fcn.004086e0
mov edx, dword [esp + 0x100]
mov eax, dword [esp + 0x3c]
sub eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
sub ecx, dword [esp + 0x38]
push ebx
mov dword [esp + 0x2c], edx
lea edx, [esp + 0x1c]
push edx
push edi
mov dword [esp + 0x28], eax
push ebx
lea eax, [esp + 0x2c]
mov dword [esp + 0x30], ecx
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x3c], 5
mov dword [esp + 0x48], ebx
call fcn.0045c590
add esp, 0x18
lea ecx, [esp + 0x100]
call fcn.00402260
mov eax, 4
jmp 0x45d4c7
cmp eax, 5
jne 0x45d497
lea ecx, [esi + 0x154]
call fcn.00407aa0
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], ebx
call fcn.0047ed10
mov eax, dword [edi + 0x1c]
mov ecx, dword [eax + 0x20]
lea edx, [esp + 0x24]
push edx
push ecx
mov byte [esp + 0xfc], 4
call dword [0x68a7f4]
mov ecx, dword [esi + 0x180]
mov edx, dword [esi + 0x164]
mov eax, 1
shl eax, cl
mov ecx, dword [esp + 0x30]
sub ecx, dword [esp + 0x28]
inc edx
or eax, 0x10
mov dword [esp + 0x60], eax
mov eax, dword [esi + 0x17c]
add eax, eax
or eax, dword [esi + 0x178]
mov dword [esp + 0x5c], edx
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
add eax, eax
or eax, dword [esi + 0x174]
mov dword [esp + 0x68], ecx
movzx ecx, byte [esi + 0x162]
mov dword [esp + 0x64], edx
movzx edx, byte [esi + 0x161]
push ecx
mov dword [esp + 0xdc], eax
movzx eax, byte [esi + 0x160]
push edx
push eax
push 0xff
mov dword [esp + 0x7c], 0xff000000
call fcn.00405610
mov ecx, dword [esi + 0x16c]
add esp, 0x10
push 0x20
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0xe8], eax
call dword [0x68a648]
mov eax, dword [esi + 0x170]
push eax
call fcn.004e0359
lea ecx, [eax + eax*4]
add ecx, ecx
add ecx, ecx
mov eax, 0x88888889
imul ecx
add edx, ecx
mov cx, word [esi + 0x168]
sar edx, 3
imul cx, cx, 0x64
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esi + 0x15c]
mov word [esp + 0xd8], ax
mov eax, dword [esi + 0x16c]
add esp, 4
mov word [esp + 0xe0], cx
mov dword [esp + 0x58], edx
cmp dword [eax - 0xc], ebx
je 0x45d9dd
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x5c]
push edi
push edx
call fcn.00405e60
add esp, 0xc
lea ecx, [esp + 0x14]
call fcn.00402260
lea ecx, [esp + 0x100]
call fcn.00402260
mov eax, 5
jmp 0x45d4c7