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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d7de
sub esp, 0x78
mov eax, dword [esp + 0x7c]
test byte [eax], al
lea ecx, [eax + 0x14]
mov dword [esp + 0x48], ecx
nop
mov dword [esp], ecx
call fcn.00409150
mov eax, dword [esp + 0x7c]
movzx ecx, byte [eax + 0x18]
test cl, cl
jne 0x45d7cc
mov ecx, dword [eax + 0x54]
test ecx, ecx
seta dl
mov ebx, dword [eax + 0x58]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
mov edi, dword [eax + 0x90]
mov eax, dword [eax + 0x94]
and ebp, edx
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x45d1f2
cmp ecx, edi
sete dl
cmp ebx, eax
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
jmp 0x45d1f4
xor ebp, ebp
xchg ebp, eax
mov byte [esp + 0x2a], al
xchg ebp, eax
mov dword [esp + 0x2c], edi
mov dword [esp + 0x34], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x38], ebx
mov edx, dword [esp + 0x84]
test edx, edx
xchg esi, ebx
sete bl
xchg esi, ebx
setg al
mov edi, dword [esp + 0x80]
test edi, edi
xchg ebp, ebx
seta bl
xchg ebp, ebx
and esi, ebp
or eax, esi
test al, al
jne 0x45d23e
mov edx, dword [esp + 0x84]
jmp 0x45d28b
call fcn.00461eb0
mov eax, dword [esp]
mov ecx, dword [esp + 0x80]
add ecx, eax
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x84]
adc edx, eax
test edx, edx
sete al
setl bl
test ecx, ecx
xchg ebp, ebx
setbe bl
xchg ebp, ebx
and ebp, eax
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45d281
mov edx, 0x7fffffff
mov ecx, 0xffffffff
mov ebx, dword [esp + 0x38]
mov edi, ecx
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x88]
cmp eax, 0x72
je 0x45d29e
cmp eax, 0xe9
jne 0x45d2aa
mov ebp, dword [esp + 0x7c]
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x58], edx
jmp 0x45d2ae
mov ebp, dword [esp + 0x7c]
cmp eax, 0x77
je 0x45d2ba
cmp eax, 0xe9
jne 0x45d2c6
mov dword [ebp + 0x90], edi
mov dword [ebp + 0x94], edx
mov dword [esp], ebp
call fcn.0042e5f0
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x54]
test ecx, ecx
seta dl
mov ebx, dword [eax + 0x58]
test ebx, ebx
xchg ebp, ebx
sete bl
xchg ebp, ebx
xchg esi, ebx
setg bl
xchg esi, ebx
and ebp, edx
or ebp, esi
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45d311
cmp dword [eax + 0x94], ebx
sete dl
cmp dword [eax + 0x90], ecx
xchg esi, ebx
sete bl
xchg esi, ebx
and esi, edx
jmp 0x45d313
xor esi, esi
xchg esi, eax
test al, al
xchg esi, eax
je 0x45d321
lea edx, [0x52aff0]
jmp 0x45d327
lea edx, [0x52aff4]
xchg esi, eax
mov byte [esp + 0x2b], al
xchg esi, eax
lea edi, [eax + 0x38]
mov esi, dword [eax + 0x38]
test esi, esi
je 0x45d44f
mov ebp, dword [esp + 0x34]
cmp ecx, ebp
setne cl
mov ebp, dword [esp + 0x38]
cmp ebx, ebp
setne bl
or ebx, ecx
test bl, bl
je 0x45d35f
movzx ecx, byte [esp + 0x2b]
movzx ebx, byte [esp + 0x2a]
jmp 0x45d371
movzx ecx, byte [esp + 0x2b]
movzx ebx, byte [esp + 0x2a]
cmp cl, bl
je 0x45d519
mov dword [esp + 0x54], edi
inc dword [eax + 0x20]
mov ebp, dword [eax + 0x58]
test ebp, ebp
xchg esi, ebx
setg bl
xchg esi, ebx
mov edi, dword [eax + 0x54]
test edi, edi
xchg edi, ebx
seta bl
xchg edi, ebx
test ebp, ebp
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edi
or esi, ebp
xchg esi, eax
test al, al
xchg esi, eax
je 0x45d40d
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
mov ecx, dword [0x5ffc34]
mov dword [esp + 0x68], ecx
lea ecx, [eax + 0x98]
mov dword [esp + 0x6c], ecx
mov ebx, dword [esp + 0x68]
lea ebp, [eax + 0x24]
mov esi, dword [eax + 0x54]
mov edi, dword [eax + 0x58]
mov eax, dword [eax + 0x20]
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], eax
call fcn.00452580
mov ecx, dword [esp + 0x7c]
jmp 0x45d43e
lea ecx, [eax + 0x24]
mov dword [esp], ecx
call fcn.00451fa0
mov eax, dword [0x6265b0]
test eax, eax
jne 0x45d42f
mov ecx, dword [esp + 0x7c]
mov dword [ecx + 0x38], 0
jmp 0x45d43e
mov edi, dword [esp + 0x54]
xor eax, eax
call fcn.00461090
mov ecx, dword [esp + 0x7c]
mov eax, ecx
movzx ecx, byte [esp + 0x2b]
movzx ebx, byte [esp + 0x2a]
jmp 0x45d519
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45d50f
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x45d468
mov dword [eax + 0x38], edx
jmp 0x45d473
mov ecx, eax
mov eax, edx
call fcn.00461090
mov eax, ecx
mov dword [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov ecx, dword [0x5ffc34]
mov dword [esp + 0x70], ecx
lea ecx, [eax + 0x98]
mov dword [esp + 0x74], ecx
mov edx, dword [esp + 0x70]
mov dword [eax + 0x3c], edx
mov ebx, dword [0x6265b0]
test ebx, ebx
jne 0x45d4ad
mov dword [eax + 0x40], ecx
jmp 0x45d4bb
lea edi, [eax + 0x40]
mov ebx, eax
mov eax, ecx
call fcn.00461090
mov eax, ebx
mov dword [esp + 0x50], ecx
mov ebx, dword [eax + 0x20]
mov dword [esp + 0x3c], ebx
mov dword [eax + 0x44], ebx
lea ebp, [eax + 0x24]
mov esi, dword [eax + 0x54]
mov edi, dword [eax + 0x58]
mov ebx, dword [eax + 0x30]
mov ecx, dword [eax + 0x34]
mov eax, dword [eax + 0x38]
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.00452580
mov eax, dword [esp + 0x7c]
movzx ecx, byte [esp + 0x2b]
movzx ebx, byte [esp + 0x2a]
lea edi, [eax + 0x74]
mov edx, dword [eax + 0x74]
test edx, edx
je 0x45d637
mov edx, dword [esp + 0x2c]
cmp dword [eax + 0x90], edx
setne dl
mov ebp, dword [esp + 0x30]
cmp dword [eax + 0x94], ebp
xchg ebp, ebx
setne bl
xchg ebp, ebx
or edx, ebp
test dl, dl
jne 0x45d553
cmp cl, bl
je 0x45d731
mov dword [esp + 0x4c], edi
inc dword [eax + 0x5c]
mov edx, dword [eax + 0x90]
test edx, edx
seta dl
mov ebx, dword [eax + 0x94]
test ebx, ebx
sete bl
xchg ebp, ebx
setg bl
xchg ebp, ebx
and ebx, edx
or ebp, ebx
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45d5fe
test cl, cl
jne 0x45d5fe
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov ecx, dword [0x5ffc34]
mov dword [esp + 0x58], ecx
lea ecx, [eax + 0x98]
mov dword [esp + 0x5c], ecx
mov edx, dword [esp + 0x58]
lea ebx, [eax + 0x60]
mov ebp, dword [eax + 0x90]
mov esi, dword [eax + 0x94]
mov edi, dword [eax + 0x5c]
mov dword [esp], ebx
mov dword [esp + 8], esi
mov dword [esp + 4], ebp
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
lea ebx, [0x52aff8]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
call fcn.00452580
mov eax, dword [esp + 0x7c]
jmp 0x45d731
lea ecx, [eax + 0x60]
mov dword [esp], ecx
call fcn.00451fa0
mov eax, dword [0x6265b0]
test eax, eax
jne 0x45d623
mov eax, dword [esp + 0x7c]
mov dword [eax + 0x74], 0
jmp 0x45d731
mov edi, dword [esp + 0x4c]
xor eax, eax
call fcn.00461090
mov eax, dword [esp + 0x7c]
jmp 0x45d731
mov edx, dword [eax + 0x90]
test edx, edx
seta dl
mov ebx, dword [eax + 0x94]
test ebx, ebx
setg bl
xchg ebp, ebx
sete bl
xchg ebp, ebx
and ebp, edx
or ebx, ebp
test bl, bl
je 0x45d731
test cl, cl
jne 0x45d731
mov ecx, dword [0x6265b0]
test ecx, ecx
jne 0x45d67d
lea ecx, [0x52aff8]
mov dword [eax + 0x74], ecx
jmp 0x45d68c
mov ecx, eax
lea eax, [0x52aff8]
call fcn.00461090
mov eax, ecx
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov ecx, dword [0x5ffc34]
mov dword [esp + 0x60], ecx
lea ecx, [eax + 0x98]
mov dword [esp + 0x64], ecx
mov edx, dword [esp + 0x60]
mov dword [eax + 0x78], edx
mov ebx, dword [0x6265b0]
test ebx, ebx
jne 0x45d6c6
mov dword [eax + 0x7c], ecx
jmp 0x45d6d4
lea edi, [eax + 0x7c]
mov ebx, eax
mov eax, ecx
call fcn.00461090
mov eax, ebx
mov dword [esp + 0x50], ecx
mov ebx, dword [eax + 0x5c]
mov dword [esp + 0x3c], ebx
mov dword [eax + 0x80], ebx
lea ebp, [eax + 0x60]
mov esi, dword [eax + 0x90]
mov edi, dword [eax + 0x94]
mov ebx, dword [eax + 0x6c]
mov ecx, dword [eax + 0x70]
mov eax, dword [eax + 0x74]
mov dword [esp], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], esi
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x20], eax
call fcn.00452580
mov eax, dword [esp + 0x7c]
mov ecx, dword [eax + 0x58]
test ecx, ecx
jl 0x45d73c
xor ecx, ecx
jmp 0x45d75b
mov dword [esp], eax
mov dword [esp + 4], 0x72
mov byte [esp + 8], 0
call fcn.0042eb60
mov eax, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x44], ecx
mov edx, dword [eax + 0x94]
test edx, edx
jl 0x45d76d
xor eax, eax
jmp 0x45d786
mov dword [esp], eax
mov dword [esp + 4], 0x77
mov byte [esp + 8], 0
call fcn.0042eb60
mov eax, dword [esp + 0xc]
mov dword [esp + 0x40], eax
nop
nop
mov ecx, dword [esp + 0x48]
mov dword [esp], ecx
call fcn.00409350
mov eax, dword [esp + 0x44]
test eax, eax
je 0x45d7b0
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042e9b0
mov eax, dword [esp + 0x40]
test eax, eax
je 0x45d7c8
mov dword [esp], eax
mov dword [esp + 4], 3
call fcn.0042e9b0
add esp, 0x78
ret
nop
nop
mov eax, dword [esp + 0x48]
mov dword [esp], eax
call fcn.00409350
add esp, 0x78
ret
call fcn.0045fcc0
jmp fcn.0045d170