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

Disassembly:
sub esp, 0x4c
mov ecx, dword [ebx + 0x60]
mov edx, dword [ebx + 0xd8]
xor eax, eax
push ebp
mov ebp, dword [esp + 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov eax, dword [ebx + 0x58]
add ecx, eax
add ecx, dword [ebp + 0xc]
push esi
mov dword [esp + 0xc], ecx
mov ecx, dword [ebx + 0x1c]
mov dword [esp + 0x20], ecx
push edi
mov ecx, 7
mov esi, ebp
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [esp + 0x48]
mov esi, dword [ebx + 0x54]
add dword [esp + 0x44], esi
add ecx, eax
test byte [ebx + 0x24], 1
mov dword [esp + 0x1c], 1
mov dword [esp + 0x48], ecx
je 0x4331c9
mov edi, dword [ebx + 0x74]
jmp 0x4331cd
mov edi, dword [esp + 0x4c]
add esi, esi
sub edi, esi
mov esi, dword [esp + 0x50]
neg eax
test edx, edx
lea eax, [esi + eax*2]
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], eax
jne 0x433227
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
push edx
push ecx
push 0
push ebx
call fcn.00433600
mov ecx, dword [ebx + 0x24]
mov eax, ecx
and eax, 7
sub eax, 1
je 0x43344f
sub eax, 1
je 0x433446
sub eax, 2
jne 0x433458
mov eax, dword [ebp + 0x10]
jmp 0x433452
mov edx, dword [esp + 0x18]
test edx, edx
mov edi, edx
mov dword [esp + 0x28], edi
je 0x43343c
mov eax, dword [edx]
mov esi, dword [edx + 8]
mov edx, dword [esi + 0x7c]
shr edx, 3
not edx
test dl, 1
mov dword [esp + 0x18], eax
je 0x43342c
test dword [esi + 0x24], 0x200
jne 0x43342c
cmp dword [esp + 0x1c], 0
je 0x433267
mov dword [esp + 0x14], edi
mov eax, dword [esi]
mov edx, dword [eax + 4]
push 0x4f3218
mov ecx, esi
call edx
test eax, eax
je 0x4332d9
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
push esi
push eax
mov eax, dword [esp + 0x1c]
push edi
push ebx
call fcn.00433600
mov edx, dword [ebx + 0x54]
mov ecx, dword [ebp + 8]
add ecx, edx
mov dword [esp + 0x44], ecx
mov ecx, dword [ebx + 0x60]
add ecx, esi
test byte [ebx + 0x24], 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x48], ecx
je 0x4332b2
mov eax, dword [ebx + 0x74]
jmp 0x4332b5
mov eax, dword [ebp + 0x10]
add edx, edx
sub eax, edx
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
sub eax, ecx
sub eax, dword [ebx + 0x58]
mov dword [esp + 0x1c], 0
add eax, dword [ebp + 0xc]
mov dword [esp + 0x50], eax
jmp 0x43342c
xor edx, edx
cmp dword [esp + 0x4c], edx
jne 0x4332f2
mov edi, dword [esp + 0x34]
mov dword [esp + 0x20], 1
jmp 0x433374
mov eax, dword [esi]
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0x40]
push ecx
push edx
push 0x47
mov dword [esp + 0x30], edx
mov dword [esi + 0xd4], edx
push edx
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x20]
mov edx, dword [esp + 0x4c]
mov edi, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov dword [esp + 0x38], ecx
mov ecx, dword [esp + 0x44]
add edx, ecx
cmp edi, edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], edi
mov dword [esp + 0x20], 0
jg 0x433342
cmp edi, eax
jg 0x433372
cmp dword [esp + 0x1c], 0
jne 0x433372
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x28]
push edx
push eax
mov eax, dword [esp + 0x1c]
push ecx
push ebx
mov dword [esp + 0x30], 1
call fcn.00433600
mov edx, dword [esp + 0x28]
mov dword [esp + 0x14], edx
xor edx, edx
cmp dword [esp + 0x20], edx
mov dword [esp + 0x1c], edx
je 0x4333f2
mov ecx, dword [ebx + 0x60]
mov edi, dword [ebx + 0x54]
mov eax, dword [ebp + 8]
add ecx, dword [esp + 0x10]
add eax, edi
test byte [ebx + 0x24], 1
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
je 0x4333a0
mov eax, dword [ebx + 0x74]
jmp 0x4333a3
mov eax, dword [ebp + 0x10]
add edi, edi
sub eax, edi
mov dword [esp + 0x4c], eax
mov eax, dword [ebp + 0x14]
sub eax, ecx
sub eax, dword [ebx + 0x58]
lea ecx, [esp + 0x28]
add eax, dword [ebp + 0xc]
push ecx
lea ecx, [esp + 0x40]
push ecx
push edx
mov dword [esp + 0x5c], eax
mov eax, dword [esi]
push 0x47
mov dword [esp + 0x38], edx
mov dword [esi + 0xd4], edx
push edx
mov edx, dword [eax + 0x34]
mov ecx, esi
call edx
mov ecx, dword [esi + 0x1c]
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x20]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], edx
mov edi, ecx
mov eax, dword [ebx + 0x5c]
mov ecx, dword [esp + 0x2c]
mov edx, eax
sub edx, ecx
sub ecx, eax
mov eax, dword [esp + 0x38]
add edx, edi
add dword [esp + 0x44], edx
sub ecx, edi
add dword [esp + 0x4c], ecx
cmp dword [esp + 0x10], eax
jge 0x433419
mov dword [esp + 0x10], eax
mov eax, dword [ebx + 0x54]
mov ecx, dword [esp + 0x48]
add eax, edi
cmp dword [esp + 0x24], eax
jge 0x43342c
mov dword [esp + 0x24], eax
cmp dword [esp + 0x18], 0
jne 0x433223
jmp 0x4331e6
push 0x80004005
call fcn.00401340
mov edx, dword [esp + 0x24]
mov dword [ebx + 0x1c], edx
jmp 0x433458
mov eax, dword [ebx + 0x74]
add eax, dword [ebp + 8]
mov dword [ebx + 0x1c], eax
and ecx, 0x70
cmp ecx, 0x10
je 0x433481
cmp ecx, 0x20
je 0x433475
cmp ecx, 0x40
jne 0x43348a
mov ecx, dword [ebp + 0x14]
add ecx, dword [ebp + 0xc]
mov dword [ebx + 0x20], ecx
jmp 0x43348a
mov edx, dword [ebx + 0x58]
add edx, dword [esp + 0x10]
mov dword [ebx + 0x20], edx
jmp 0x43348a
mov eax, dword [ebx + 0x78]
add eax, dword [ebp + 0xc]
mov dword [ebx + 0x20], eax
mov eax, dword [ebx + 0xd8]
test eax, eax
je 0x4335f3
jmp 0x4334a4
mov eax, dword [esp + 0x18]
test eax, eax
je 0x43343c
mov ebp, dword [eax + 8]
mov edx, dword [ebp + 0x7c]
mov ecx, dword [eax]
shr edx, 3
not edx
test dl, 1
mov dword [esp + 0x18], ecx
je 0x4335e8
test dword [ebp + 0x24], 0x200
je 0x4335e8
mov esi, dword [esp + 0x5c]
mov edx, dword [ebx + 0x54]
mov eax, dword [ebx + 0x58]
mov ecx, 7
lea edi, [esp + 0x3c]
rep movsd dword es:[edi], dword [esi]
add dword [esp + 0x44], edx
add dword [esp + 0x48], eax
test byte [ebx + 0x24], 1
je 0x4334f7
mov ecx, dword [ebx + 0x74]
jmp 0x4334fb
mov ecx, dword [esp + 0x4c]
add edx, edx
sub ecx, edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x50]
neg eax
lea edx, [ecx + eax*2]
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
mov dword [esp + 0x58], edx
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
push eax
push 0x47
push eax
mov ecx, ebp
mov dword [esp + 0x3c], eax
mov dword [ebp + 0xd4], eax
call edx
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
mov dword [esp + 0x30], eax
mov eax, dword [ebp + 0x80]
or eax, dword [ebp + 0x84]
test eax, 0x8000
je 0x433565
mov edx, edi
sub edx, ecx
add edx, dword [esp + 0x4c]
add dword [esp + 0x44], edx
jmp 0x43357d
test eax, 0x4000
je 0x43357d
mov eax, edi
sub eax, ecx
add eax, dword [esp + 0x4c]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x44], eax
mov eax, dword [ebp + 0x80]
or eax, dword [ebp + 0x84]
test eax, 0x2000
je 0x43359c
mov eax, dword [esp + 0x30]
sub eax, esi
add eax, dword [esp + 0x50]
jmp 0x4335b2
test eax, 0x1000
je 0x4335b6
mov eax, dword [esp + 0x30]
sub eax, esi
add eax, dword [esp + 0x50]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x48], eax
sub esi, dword [esp + 0x30]
sub ecx, edi
mov dword [esp + 0x4c], ecx
lea ecx, [esp + 0x28]
push ecx
xor eax, eax
lea ecx, [esp + 0x40]
push ecx
push eax
mov dword [esp + 0x5c], esi
mov edx, dword [ebp]
mov edx, dword [edx + 0x34]
push 0x47
push eax
mov ecx, ebp
mov dword [esp + 0x3c], eax
mov dword [ebp + 0xd4], eax
call edx
cmp dword [esp + 0x18], 0
jne 0x4334a0
pop edi
pop esi
pop ebp
add esp, 0x4c
ret 4