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

Disassembly:
mov ecx, dword [0x68cdd8]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x45c1fb
sub esp, 0x88
mov edx, dword [esp + 0x8c]
mov eax, dword [edx + 0x20]
test eax, eax
jbe 0x45c1f1
shr eax, 2
test eax, eax
jl 0x45c1ec
mov ecx, 4
mov ebx, eax
mul ecx
jo 0x45c1e7
mov ecx, dword [esp + 0x8c]
mov edx, dword [ecx + 0x1c]
mov ebp, edx
neg edx
cmp eax, edx
ja 0x45c1e7
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.0045c4f0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0xa4]
cmp edx, ecx
jb 0x45c1e2
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.0045c210
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.00457c70
movzx eax, byte [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov ebx, dword [esp + 0x14]
test al, al
je 0x45bc76
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x45c1d8
mov byte [edx + eax + 0x14], 2
inc dword [edx + 0xc]
mov eax, dword [edx + 0xc]
nop
cmp eax, 0xffec
jae 0x45c1ce
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 0x45c1c2
cmp esi, eax
jb 0x45c1bb
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 0x45bd1d
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 0x45bd4d
test ebx, ebx
xchg edi, ebx
sete bl
xchg edi, ebx
cmp ecx, 0x80
setb al
and eax, edi
test al, al
je 0x45bcf7
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 0x45c1b1
cmp eax, ecx
ja 0x45c1ac
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 0x45bdbf
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 0x45bdfb
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 0x45bd93
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 0x45be1e
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 0x45bf8f
mov dword [esp + 0x80], ecx
mov eax, edi
lea edi, [esp + 0x3c]
mov ebx, esi
mov esi, ecx
call fcn.0046d5ea
mov ecx, dword [edx + 0xc]
lea ebp, [ecx + 0xa]
cmp ebp, 0xffec
ja 0x45c1a0
cmp ecx, ebp
ja 0x45c197
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 0x45c06b
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 0x45c18b
cmp ecx, ebp
ja 0x45c182
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 0x45c0b2
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 0x45c176
cmp ecx, ebx
ja 0x45c16d
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 0x45c0f6
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 0x45c161
cmp ecx, ebx
ja 0x45c158
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 0x45c136
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 0x45be08
xor eax, eax
mov ecx, dword [esp + 0x84]
jmp 0x45bfa1
mov ebx, dword [esp + 0x34]
lea eax, [ebx + 1]
cmp eax, 4
jge 0x45c03e
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.00471600
mov eax, dword [esp + 4]
test eax, eax
jne 0x45bfe9
mov edi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x84]
mov edx, dword [esp + 0x68]
jmp 0x45bf9a
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.0045bb40
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
jmp 0x45bf9a
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 0x45be8a
cmp esi, 0x80
setb al
and eax, 1
test al, al
je 0x45c05a
jmp 0x45be7c
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 0x45bef0
test edi, edi
sete al
cmp esi, 0x80
setb dl
and edx, eax
test dl, dl
je 0x45c089
jmp 0x45bede
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 0x45bf3d
test esi, esi
sete al
cmp ebp, 0x80
setb dl
and edx, eax
test dl, dl
je 0x45c0d8
jmp 0x45bf2c
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 0x45be08
test esi, esi
sete al
cmp ebp, 0x80
setb dl
and edx, eax
test dl, dl
je 0x45c118
jmp 0x45bf79
mov eax, ecx
mov ecx, ebx
call fcn.0046cfa0
mov ecx, ebx
mov edx, 0xffec
call fcn.0046cf60
mov eax, ecx
mov ecx, ebx
call fcn.0046cfa0
mov ecx, ebx
mov edx, 0xffec
call fcn.0046cf60
mov eax, ecx
mov ecx, ebp
call fcn.0046cfa0
mov ecx, ebp
mov edx, 0xffec
call fcn.0046cf60
mov eax, ecx
mov ecx, ebp
call fcn.0046cfa0
mov ecx, ebp
mov edx, 0xffec
call fcn.0046cf60
call fcn.0046cfa0
mov edx, 0xffec
call fcn.0046cf60
mov ecx, esi
call fcn.0046cfa0
mov ecx, esi
mov edx, 0xffec
call fcn.0046cf60
mov ecx, 0xffec
call fcn.0046cf40
mov ecx, 0xffec
call fcn.0046cf40
call fcn.0046cf80
call fcn.0045f2d0
call fcn.0045f2d0
xor eax, eax
mov ecx, eax
call fcn.0046cf40
nop
call fcn.0046bac0
jmp fcn.0045bb40