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

Disassembly:
mov ecx, dword [0x5b6df8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45d95f
sub esp, 0x5c
mov edx, dword [esp + 0x60]
mov ebx, dword [edx + 0x20]
test ebx, ebx
jbe 0x45d955
mov eax, dword [edx + 0x1c]
mov eax, dword [eax]
mov dword [esp + 0x54], eax
mov dword [esp], eax
call fcn.0045d970
mov eax, dword [esp + 8]
mov dword [esp + 0x2c], eax
lea ecx, [eax + 0x34]
mov edx, dword [esp + 4]
mov dword [esp + 0x50], edx
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
movzx ebx, byte [esp + 0x70]
mov byte [esp + 0xc], bl
mov dword [esp + 0x10], ecx
call fcn.00459270
movzx eax, byte [esp + 0x24]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x18]
movzx ebp, byte [esp + 0x20]
test al, al
je 0x45d554
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x45d94b
mov byte [edx + eax + 0x14], 0
inc dword [edx + 0xc]
mov eax, dword [edx + 0xc]
lea esi, [eax + 0xa]
cmp esi, 0xffec
ja 0x45d93f
cmp eax, esi
ja 0x45d938
xchg ebp, eax
mov byte [esp + 0x2b], al
xchg ebp, eax
mov dword [esp + 0x4c], edx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x58], ecx
lea esi, [eax - 0xffec]
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov edi, dword [esp + 0x60]
mov ecx, dword [edi + 0x14]
mov edi, dword [edi + 0x18]
lea esi, [esi + edx + 0x14]
mov dword [esp + 0x3c], eax
xor eax, eax
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x3c]
jmp 0x45d5dc
mov edx, ecx
or edx, 0xffffff80
mov byte [esi + ebx], dl
shr ecx, 7
mov edx, edi
shl edx, 0x19
inc ebx
or ecx, edx
shr edi, 7
mov edx, dword [esp + 0x4c]
movzx ebp, byte [esp + 0x2b]
mov dword [esp + 0x34], ebx
mov ebx, dword [esp + 0x48]
mov ebx, dword [esp + 0x34]
cmp ebx, 0xa
jge 0x45d60d
test edi, edi
xchg ebp, ebx
sete bl
xchg ebp, ebx
cmp ecx, 0x80
setb dl
and edx, ebp
test dl, dl
je 0x45d5b5
mov byte [esi + ebx], cl
lea eax, [ebx + eax + 1]
mov edx, dword [esp + 0x4c]
movzx ebp, byte [esp + 0x2b]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x45d92e
cmp eax, ecx
ja 0x45d929
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x54]
mov edi, esi
lea ebx, [ebx + edx + 0x14]
xor ecx, ecx
jmp 0x45d657
mov ebp, esi
or ebp, 0xffffff80
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
inc ecx
shr esi, 7
movzx ebp, byte [esp + 0x2b]
cmp ecx, 0xa
jge 0x45d680
cmp esi, 0x80
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45d644
xchg esi, eax
mov byte [ebx + ecx], al
xchg esi, eax
lea eax, [ecx + eax + 1]
movzx ebp, byte [esp + 0x2b]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
nop
nop
cmp ecx, 0xffec
ja 0x45d91f
cmp eax, ecx
ja 0x45d91a
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [edi]
lea ebx, [ebx + edx + 0x14]
xor ecx, ecx
jmp 0x45d6c8
mov ebp, esi
or ebp, 0xffffff80
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
inc ecx
shr esi, 7
movzx ebp, byte [esp + 0x2b]
cmp ecx, 0xa
jge 0x45d6f1
cmp esi, 0x80
xchg ebp, ebx
setb bl
xchg ebp, ebx
and ebp, 1
xchg ebp, eax
test al, al
xchg ebp, eax
je 0x45d6b5
xchg esi, eax
mov byte [ebx + ecx], al
xchg esi, eax
lea eax, [ecx + eax + 1]
movzx ebp, byte [esp + 0x2b]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x45d910
cmp eax, ecx
ja 0x45d90b
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [edi + 4]
lea ebx, [ebx + edx + 0x14]
xor ecx, ecx
jmp 0x45d733
mov edi, esi
or edi, 0xffffff80
xchg edi, eax
mov byte [ebx + ecx], al
xchg edi, eax
inc ecx
shr esi, 7
cmp ecx, 0xa
jge 0x45d757
cmp esi, 0x80
xchg edi, ebx
setb bl
xchg edi, ebx
and edi, 1
xchg edi, eax
test al, al
xchg edi, eax
je 0x45d725
xchg esi, eax
mov byte [ebx + ecx], al
xchg esi, eax
lea eax, [ecx + eax + 1]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x45d901
cmp eax, ecx
ja 0x45d8fc
lea ebx, [eax - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, eax
mov esi, dword [esp + 0x2c]
mov edi, esi
sar esi, 0x1f
lea ebx, [ebx + edx + 0x14]
mov ecx, edi
xor ecx, ecx
mov dword [esp + 0x30], ecx
mov ecx, edi
jmp 0x45d7c2
mov ecx, edi
or ecx, 0xffffff80
mov byte [ebx + ebp], cl
shr edi, 7
mov ecx, esi
shl ecx, 0x19
lea edx, [ebp + 1]
or edi, ecx
shr esi, 7
mov ecx, dword [esp + 0x2c]
movzx ebp, byte [esp + 0x2b]
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x4c]
mov ebp, dword [esp + 0x30]
cmp ebp, 0xa
jge 0x45d7f0
test esi, esi
sete cl
cmp edi, 0x80
setb dl
and ecx, edx
test cl, cl
je 0x45d799
xchg edi, eax
mov byte [ebx + ebp], al
xchg edi, eax
lea eax, [ebp + eax + 1]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x4c]
mov dword [edx + 0xc], eax
cmp eax, 0xffec
ja 0x45d8f2
lea ebx, [eax - 0xffec]
neg ebx
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea eax, [eax + edx + 0x14]
cmp ecx, ebp
jl 0x45d819
mov ecx, ebp
mov ebx, dword [esp + 0x50]
cmp ebx, eax
je 0x45d83d
mov dword [esp + 0x44], ecx
mov dword [esp], eax
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0046d9a0
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x4c]
add dword [edx + 0xc], ecx
xor eax, eax
movzx ecx, byte [esp + 0x2b]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
jmp 0x45d858
mov esi, dword [esp + 0x38]
lea eax, [esi + 1]
cmp eax, 4
jge 0x45d8db
mov dword [esp + 0x38], eax
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], edx
mov byte [esp + 0x2b], cl
mov dword [esp + 0x58], ebp
mov ecx, dword [esp + 0x60]
lea edx, [ecx + eax*4]
nop
mov dword [esp], edx
call fcn.00471750
mov eax, dword [esp + 4]
test eax, eax
jne 0x45d89c
movzx ecx, byte [esp + 0x2b]
mov ebx, dword [esp + 0x48]
mov ebp, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
jmp 0x45d851
mov dword [esp], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0xc], eax
movzx eax, byte [esp + 0x2b]
mov byte [esp + 0x10], al
call fcn.0045d4b0
mov ebp, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx ecx, byte [esp + 0x20]
jmp 0x45d851
mov dword [esp + 0x74], ebp
mov dword [esp + 0x78], ebx
mov dword [esp + 0x7c], edx
mov byte [esp + 0x80], cl
add esp, 0x5c
ret
mov ecx, 0xffec
call fcn.0046d1b0
call fcn.0046d1b0
mov edx, 0xffec
call fcn.0046d170
call fcn.0046d1b0
mov edx, 0xffec
call fcn.0046d170
call fcn.0046d1b0
mov edx, 0xffec
call fcn.0046d170
call fcn.0046d1b0
mov edx, 0xffec
call fcn.0046d170
mov ecx, esi
call fcn.0046d1b0
mov ecx, esi
mov edx, 0xffec
call fcn.0046d170
mov ecx, 0xffec
call fcn.0046d150
xor eax, eax
mov ecx, eax
call fcn.0046d150
nop
call fcn.0046bcd0
jmp fcn.0045d4b0