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

Disassembly:
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
mov ebp, dword [esp + 0x50]
push esi
mov edx, dword [ebx + 0x30]
mov eax, dword [ebx + 0x7c]
and edx, 0x20
mov ecx, dword [ebx + 4]
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x2c], eax
push edi
test eax, eax
jne 0x4503e9
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
call eax
mov edx, dword [esp + 0x44]
movzx eax, al
neg eax
sbb eax, eax
add eax, 2
mov dword [esp + 0x30], eax
mov dword [ebx + 0x7c], eax
cmp eax, 1
jne 0x45047d
cmp byte [esp + 0x64], 0
jne 0x450403
cmp byte [ebx + 0x78], 0
jne 0x450403
xor dh, dh
jmp 0x450405
mov dh, 1
mov eax, dword [ebx + 0x4c]
mov dl, 1
mov edi, dword [ebx + 0x48]
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov esi, ebp
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x13], dl
xor dl, dl
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x48]
mov byte [esp + 0x58], dh
mov dword [esp + 0x24], edi
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x12], dl
cmp byte [ebx + 0x78], dl
je 0x4504e6
mov esi, dword [ebx + 0x70]
mov dword [esp + 0x34], esi
mov esi, dword [ebx + 0x74]
mov dword [esp + 0x38], esi
mov esi, dword [esp + 0x20]
mov dword [esp + 0x14], eax
mov al, byte [esp + 0x13]
mov dword [esp + 0x20], esi
mov esi, ebp
mov byte [esp + 0x58], dh
mov dword [esp + 0x24], edi
mov dword [esp + 0x1c], ecx
mov byte [esp + 0x13], al
mov byte [esp + 0x12], dl
jmp 0x4504fc
cmp byte [esp + 0x64], 0
je 0x4504ae
test edx, edx
jne 0x4504ae
mov ecx, dword [ebx + 0x48]
xorps xmm0, xmm0
mov eax, dword [ebx + 0x4c]
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x4c]
mov byte [esp + 0x58], 1
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ecx
jmp 0x4504d2
mov eax, dword [ebx + 0x4c]
xorps xmm0, xmm0
mov ecx, dword [ebx + 0x48]
movlpd qword [esp + 0x48], xmm0
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x4c]
mov byte [esp + 0x58], 0
mov dword [esp + 0x24], ecx
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x48]
mov esi, ebp
mov dword [esp + 0x14], eax
mov byte [esp + 0x12], 0
mov byte [esp + 0x13], 1
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x48]
mov dword [esp + 0x34], eax
mov edx, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x18], edx
mov dword [esp + 0x5c], edi
mov al, byte [esp + 0x58]
mov ecx, dword [ebx + 0x40]
test al, al
je 0x450533
test ecx, ecx
je 0x450547
push dword [esp + 0x38]
push dword [esp + 0x38]
push edx
push edi
push ebp
call fcn.004b4920
mov ecx, edx
mov edx, dword [esp + 0x18]
jmp 0x450558
test ecx, ecx
je 0x450547
push edx
push edi
push ebp
call fcn.004b4a20
mov ecx, edx
mov edx, dword [esp + 0x18]
jmp 0x450558
xorps xmm0, xmm0
movlpd qword [esp + 0x48], xmm0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x4c]
test ecx, ecx
jl 0x45058d
jg 0x450562
test eax, eax
je 0x45058d
add dword [esp + 0x34], eax
adc dword [esp + 0x38], ecx
cmp dword [esp + 0x30], 1
je 0x450577
add dword [ebx + 0x48], eax
adc dword [ebx + 0x4c], ecx
add dword [esp + 0x14], eax
adc dword [esp + 0x1c], ecx
add ebp, eax
sub edi, eax
mov dword [esp + 0x5c], edi
sbb edx, ecx
mov dword [esp + 0x18], edx
test edx, edx
jl 0x45067e
jg 0x45059f
test edi, edi
je 0x45067e
cmp byte [esp + 0x12], 0
jne 0x45067e
cmp dword [esp + 0x30], 1
je 0x4505da
mov edx, dword [ebx + 0x48]
mov ecx, dword [ebx + 0x4c]
cmp edx, dword [ebx + 0x50]
jne 0x4505c1
cmp ecx, dword [ebx + 0x54]
je 0x4505da
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x2c]
push edx
mov eax, dword [eax]
mov eax, dword [eax + 0x40]
call eax
test al, al
je 0x4507c1
cmp dword [esp + 0x44], 0
lea eax, [ebx + 0x68]
mov ecx, dword [esp + 0x18]
mov byte [esp + 0x13], 0
jne 0x45060a
mov dword [esp + 0x2c], eax
mov eax, dword [eax]
cdq
cmp ecx, edx
jl 0x4506ef
jg 0x450606
cmp edi, eax
jb 0x4506f4
mov eax, dword [esp + 0x2c]
cmp byte [esp + 0x58], 0
mov edx, eax
jne 0x4506cb
mov edx, dword [esp + 0x28]
push ecx
push edi
push ebp
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0x60]
call eax
mov ecx, dword [esp + 0x5c]
mov edi, edx
mov edx, dword [esp + 0x18]
cmp eax, ecx
jne 0x45063e
mov byte [esp + 0x12], 0
cmp edi, edx
je 0x450643
mov byte [esp + 0x12], 1
test edi, edi
jl 0x4507c1
jg 0x450655
test eax, eax
je 0x4507b7
add dword [esp + 0x14], eax
adc dword [esp + 0x1c], edi
add ebp, eax
sub ecx, eax
mov dword [esp + 0x5c], ecx
sbb edx, edi
cmp dword [esp + 0x30], 1
mov dword [esp + 0x18], edx
je 0x45067e
add dword [ebx + 0x48], eax
adc dword [ebx + 0x4c], edi
add dword [ebx + 0x50], eax
adc dword [ebx + 0x54], edi
mov edi, dword [esp + 0x14]
test byte [ebx + 0x30], 0x10
je 0x45081e
cmp esi, ebp
jae 0x45081e
cmp byte [esi], 0xd
mov edi, ebp
je 0x4506aa
nop dword [eax + eax]
inc esi
cmp esi, ebp
je 0x4506aa
cmp byte [esi], 0xd
jne 0x4506a0
mov ecx, esi
cmp esi, ebp
jae 0x450804
mov ebx, dword [esp + 0x5c]
mov al, byte [esi]
inc esi
cmp al, 0xd
je 0x4507df
mov byte [ecx], al
inc ecx
jmp 0x4507f0
cmp dword [esp + 0x44], 0
mov eax, edx
je 0x4506f8
mov eax, dword [edx]
mov dword [esp + 0x2c], edx
cdq
cmp edx, ecx
jl 0x4506f4
jg 0x4506e5
cmp eax, edi
jb 0x4506f4
mov dword [esp + 0x2c], edi
mov dword [esp + 0x3c], ecx
jmp 0x450705
lea eax, [ebx + 0x68]
jmp 0x4506f8
mov eax, dword [esp + 0x2c]
mov eax, dword [eax]
cdq
mov dword [esp + 0x2c], eax
mov ecx, edx
mov dword [esp + 0x3c], edx
mov eax, dword [esp + 0x28]
push ecx
push dword [esp + 0x30]
mov ecx, dword [ebx + 0x40]
mov eax, dword [eax]
mov edi, dword [eax + 0x60]
call fcn.004b4e40
push dword [esp + 0x3c]
mov ecx, dword [esp + 0x2c]
push dword [esp + 0x30]
push eax
call edi
mov ecx, dword [esp + 0x3c]
mov edi, edx
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x48], eax
cmp eax, edx
jne 0x450745
mov byte [esp + 0x12], 0
cmp edi, ecx
je 0x45074a
mov byte [esp + 0x12], 1
test edi, edi
jl 0x450798
jg 0x450754
test eax, eax
je 0x450798
sub edx, eax
sbb ecx, edi
push ecx
mov ecx, dword [ebx + 0x40]
push edx
call fcn.004b40e0
cmp dword [esp + 0x30], 1
je 0x450773
mov eax, dword [esp + 0x48]
add dword [ebx + 0x50], eax
adc dword [ebx + 0x54], edi
mov ecx, dword [esp + 0x24]
mov al, byte [esp + 0x58]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x5c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x20]
mov byte [esp + 0x58], al
mov dword [esp + 0x20], ecx
jmp 0x450510
xorps xmm0, xmm0
movlpd qword [esp + 0x3c], xmm0
sub edx, dword [esp + 0x3c]
sbb ecx, dword [esp + 0x40]
push ecx
mov ecx, dword [ebx + 0x40]
push edx
call fcn.004b40e0
mov eax, dword [esp + 0x48]
test edi, edi
jg 0x4507d6
jl 0x4507c1
test eax, eax
jae 0x4507d6
mov edi, dword [esp + 0x14]
mov eax, edi
or eax, dword [esp + 0x1c]
je 0x45080f
mov edx, dword [esp + 0x18]
jmp 0x450682
mov edx, dword [esp + 0x18]
jmp 0x45067e
add dword [esp + 0x14], 0xffffffff
adc dword [esp + 0x1c], 0xffffffff
dec ebp
add ebx, 1
adc edx, 0
cmp esi, edi
jb 0x4506b8
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x50]
mov dword [esp + 0x18], edx
mov edi, dword [esp + 0x5c]
mov esi, ebp
jmp 0x45050c
pop edi
pop esi
or eax, 0xffffffff
pop ebp
or edx, eax
pop ebx
add esp, 0x44
ret 0x10
cmp byte [esp + 0x58], 0
je 0x45084c
cmp byte [esp + 0x64], 0
je 0x45083c
mov ecx, dword [esp + 0x24]
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], esi
jmp 0x45089b
mov eax, dword [esp + 0x34]
mov dword [ebx + 0x70], eax
mov eax, dword [esp + 0x38]
mov dword [ebx + 0x74], eax
jmp 0x45089b
cmp byte [esp + 0x64], 0
je 0x45089b
mov ecx, dword [esp + 0x24]
mov eax, ecx
sub eax, dword [ebx + 0x48]
mov esi, dword [esp + 0x20]
mov edx, esi
sbb edx, dword [ebx + 0x4c]
mov dword [ebx + 0x48], ecx
mov dword [ebx + 0x4c], esi
js 0x45088f
jg 0x450873
test eax, eax
jb 0x45088f
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x45088f
cmp edx, dword [ecx + 0xc]
jg 0x45088f
jl 0x450886
cmp eax, dword [ecx + 8]
jae 0x45088f
push edx
push eax
call fcn.004b46d0
jmp 0x45089b
mov ecx, dword [ebx + 0x40]
test ecx, ecx
je 0x45089b
call fcn.004b4290
cmp byte [esp + 0x13], 0
je 0x4508bd
mov ecx, ebx
call fcn.0044fce0
test al, al
je 0x4508bd
mov eax, dword [esp + 0x28]
mov ecx, eax
push 0
push 0
push ebp
mov esi, dword [eax]
call dword [esi + 0x60]
mov edx, dword [esp + 0x1c]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x44
ret 0x10