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

Disassembly:
mov ecx, dword [0xcd4e74]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x45f47b
sub esp, 0x88
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 0x20]
test eax, eax
jbe 0x45f471
shr eax, 2
test eax, eax
jl 0x45f46c
mov ecx, 4
mov ebx, eax
mul ecx
jo 0x45f467
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x1c]
mov ebp, edx
neg edx
cmp eax, edx
ja 0x45f467
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0045f770
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
cmp edx, ecx
jb 0x45f462
mov eax, dword [esp + 0x94]
mov dword [esp], eax
mov ebx, dword [esp + 0x9c]
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
mov dword [esp + 0xc], edx
call fcn.0045f490
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], eax
shl eax, 2
lea eax, [eax + eax*4]
shl eax, 1
add eax, 0x16
mov edx, dword [esp + 0x10]
mov dword [esp + 0x78], edx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebx, dword [esp + 0x94]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x98]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.0045aef0
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test al, al
je 0x45eef6
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x45f458
mov byte [edx + eax + 0x14], 2
inc dword [edx + 0xc]
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x45f44e
mov byte [edx + eax + 0x14], 3
mov ebp, dword [edx + 0xc]
lea eax, [ebp + 1]
mov dword [edx + 0xc], eax
lea esi, [ebp + 0xb]
cmp esi, 0xffec
ja 0x45f442
cmp esi, eax
jb 0x45f43b
mov dword [esp + 0x74], ebp
mov dword [esp + 0x70], eax
mov dword [esp + 0x6c], ebx
mov dword [esp + 0x84], ecx
lea esi, [ebp - 0xffeb]
xchg esi, ebx
neg ebx
xchg esi, ebx
xchg esi, ebx
neg ebx
xchg esi, ebx
sar esi, 0x1f
and esi, eax
mov edi, ebx
mov ebx, dword [esp + 0x8c]
mov ecx, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x18]
lea esi, [esi + edx + 0x14]
mov dword [esp + 0x60], eax
xor eax, eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x60]
jmp 0x45ef9d
mov eax, ecx
or eax, 0xffffff80
mov byte [esi + ebp], al
shr ecx, 7
mov eax, ebx
shl eax, 0x19
inc ebp
or ecx, eax
shr ebx, 7
mov eax, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x30], ebp
mov ebp, dword [esp + 0x74]
mov ebp, dword [esp + 0x30]
cmp ebp, 0xa
jge 0x45efcd
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ecx, 0x80
setb al
and eax, edi
test al, al
je 0x45ef77
mov byte [esi + ebp], cl
mov ebx, dword [esp + 0x74]
lea eax, [ebx + ebp + 2]
mov edi, dword [esp + 0x6c]
mov dword [edx + 0xc], eax
lea ecx, [eax + 0xa]
cmp ecx, 0xffec
ja 0x45f431
cmp eax, ecx
ja 0x45f42c
lea ecx, [eax - 0xffec]
neg ecx
neg ecx
sar ecx, 0x1f
and ecx, eax
mov ebx, dword [esp + 0x38]
mov ebp, ebx
sar ebx, 0x1f
lea ecx, [ecx + edx + 0x14]
mov dword [esp + 0x7c], ecx
mov esi, ebp
xor ebp, ebp
mov dword [esp + 0x2c], ebp
mov ebp, esi
jmp 0x45f03f
mov esi, ebp
or esi, 0xffffff80
mov edi, dword [esp + 0x7c]
xchg esi, eax
mov byte [edi + ecx], al
xchg esi, eax
shr ebp, 7
mov esi, ebx
shl esi, 0x19
inc ecx
or ebp, esi
shr ebx, 7
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x2c]
cmp ecx, 0xa
jge 0x45f07b
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ebp, 0x80
xchg esi, ebx
setb bl
xchg esi, ebx
and esi, edi
xchg esi, eax
test al, al
xchg esi, eax
je 0x45f013
mov ebx, dword [esp + 0x7c]
xchg ebp, eax
mov byte [ebx + ecx], al
xchg ebp, eax
lea eax, [ecx + eax + 1]
mov esi, dword [esp + 0x38]
mov edi, dword [esp + 0x6c]
mov dword [esp + 0x68], edx
mov dword [edx + 0xc], eax
mov ecx, dword [esp + 0x78]
jmp 0x45f09e
mov dword [edx + 0xc], ecx
mov ebx, dword [esp + 0x80]
lea ecx, [ebx + 0x1c]
mov ebx, dword [esp + 0x74]
lea esi, [ebx - 1]
mov edi, eax
test esi, esi
jle 0x45f20f
mov dword [esp + 0x80], ecx
mov eax, edi
lea edi, [esp + 0x3c]
mov ebx, esi
mov esi, ecx
call fcn.004723da
mov ecx, dword [edx + 0xc]
lea ebp, [ecx + 0xa]
cmp ebp, 0xffec
ja 0x45f420
cmp ecx, ebp
ja 0x45f417
lea ebp, [ecx - 0xffec]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
mov esi, dword [esp + 0x3c]
lea ebp, [ebp + edx + 0x14]
xor edi, edi
jmp 0x45f2eb
xchg esi, eax
mov byte [ebp + edi], al
xchg esi, eax
lea ecx, [edi + ecx + 1]
mov eax, dword [esp + 0x6c]
mov dword [edx + 0xc], ecx
lea ebp, [ecx + 0xa]
cmp ebp, 0xffec
ja 0x45f40b
cmp ecx, ebp
ja 0x45f402
mov dword [esp + 0x74], ebx
lea ebp, [ecx - 0xffec]
xchg ebp, ebx
neg ebx
xchg ebp, ebx
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, ecx
mov esi, dword [esp + 0x40]
mov edi, dword [esp + 0x44]
lea ebp, [ebp + edx + 0x14]
mov dword [esp + 0x58], eax
xor eax, eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x58]
jmp 0x45f332
xchg esi, eax
mov byte [ebp + ebx], al
xchg esi, eax
lea ecx, [ebx + ecx + 1]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov dword [edx + 0xc], ecx
lea ebx, [ecx + 0xa]
cmp ebx, 0xffec
ja 0x45f3f6
cmp ecx, ebx
ja 0x45f3ed
lea ebx, [ecx - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x4c]
lea ebx, [ebx + edx + 0x14]
xor edi, edi
jmp 0x45f376
xchg ebp, eax
mov byte [ebx + edi], al
xchg ebp, eax
lea ecx, [edi + ecx + 1]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
mov dword [edx + 0xc], ecx
lea ebx, [ecx + 0xa]
cmp ebx, 0xffec
ja 0x45f3e1
cmp ecx, ebx
ja 0x45f3d8
lea ebx, [ecx - 0xffec]
neg ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov ebp, dword [esp + 0x50]
mov esi, dword [esp + 0x54]
lea ebx, [ebx + edx + 0x14]
xor edi, edi
jmp 0x45f3b6
xchg ebp, eax
mov byte [ebx + edi], al
xchg ebp, eax
lea ecx, [edi + ecx + 1]
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
jmp 0x45f088
xor eax, eax
mov ecx, dword [esp + 0x84]
jmp 0x45f221
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
cmp eax, 4
jge 0x45f2be
mov dword [esp + 0x34], eax
mov dword [esp + 0x84], ecx
mov dword [esp + 0x6c], edi
mov dword [esp + 0x68], edx
mov ecx, dword [esp + 0x8c]
lea edx, [ecx + eax*4]
nop
mov dword [esp], edx
call fcn.00476850
mov eax, dword [esp + 4]
test eax, eax
jne 0x45f269
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x68]
jmp 0x45f21a
mov dword [esp], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x9c]
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x14], ecx
mov edx, dword [esp + 0xa4]
mov dword [esp + 0x18], edx
call fcn.0045edc0
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x45f21a
mov dword [esp + 0xa8], ecx
mov dword [esp + 0xac], edi
mov dword [esp + 0xb0], edx
add esp, 0x88
ret
mov eax, esi
or eax, 0xffffff80
mov byte [ebp + edi], al
inc edi
shr esi, 7
mov eax, dword [esp + 0x6c]
cmp edi, 0xa
jge 0x45f10a
cmp esi, 0x80
setb al
and eax, 1
test al, al
je 0x45f2da
jmp 0x45f0fc
mov eax, esi
or eax, 0xffffff80
mov byte [ebp + ebx], al
shr esi, 7
mov eax, edi
shl eax, 0x19
lea edx, [ebx + 1]
or esi, eax
shr edi, 7
mov eax, dword [esp + 0x6c]
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x68]
mov ebx, dword [esp + 0x28]
cmp ebx, 0xa
jge 0x45f170
test edi, edi
sete al
cmp esi, 0x80
setb dl
and edx, eax
test dl, dl
je 0x45f309
jmp 0x45f15e
mov eax, ebp
or eax, 0xffffff80
mov byte [ebx + edi], al
shr ebp, 7
mov eax, esi
shl eax, 0x19
inc edi
or ebp, eax
shr esi, 7
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp edi, 0xa
jge 0x45f1bd
test esi, esi
sete al
cmp ebp, 0x80
setb dl
and edx, eax
test dl, dl
je 0x45f358
jmp 0x45f1ac
mov eax, ebp
or eax, 0xffffff80
mov byte [ebx + edi], al
shr ebp, 7
mov eax, esi
shl eax, 0x19
inc edi
or ebp, eax
shr esi, 7
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x68]
cmp edi, 0xa
jge 0x45f088
test esi, esi
sete al
cmp ebp, 0x80
setb dl
and edx, eax
test dl, dl
je 0x45f398
jmp 0x45f1f9
mov eax, ecx
mov ecx, ebx
call fcn.00471d40
mov ecx, ebx
mov edx, 0xffec
call fcn.00471d00
mov eax, ecx
mov ecx, ebx
call fcn.00471d40
mov ecx, ebx
mov edx, 0xffec
call fcn.00471d00
mov eax, ecx
mov ecx, ebp
call fcn.00471d40
mov ecx, ebp
mov edx, 0xffec
call fcn.00471d00
mov eax, ecx
mov ecx, ebp
call fcn.00471d40
mov ecx, ebp
mov edx, 0xffec
call fcn.00471d00
call fcn.00471d40
mov edx, 0xffec
call fcn.00471d00
mov ecx, esi
call fcn.00471d40
mov ecx, esi
mov edx, 0xffec
call fcn.00471d00
mov ecx, 0xffec
call fcn.00471ce0
mov ecx, 0xffec
call fcn.00471ce0
call fcn.00471d20
call fcn.00462550
call fcn.00462550
xor eax, eax
mov ecx, eax
call fcn.00471ce0
nop
call fcn.00470860
jmp fcn.0045edc0