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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x5c
mov esi, dword [esp + 0x74]
mov ebx, dword [esp + 0x70]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
mov dword [esp + 0x24], edx
mov ebp, dword [esp + 0x78]
test esi, esi
sete byte [esp + 0x34]
cmp ebx, 8
mov dword [esp + 0x30], ecx
mov dword [esp + 0x28], eax
jne 0x4339e0
cmp byte [esp + 0x34], 0
je 0x4339e0
test ebp, ebp
je 0x433b00
lea eax, [ebx + ebp]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
lea edi, [ebx + esi]
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.00433800
add esi, ebp
js 0x433dd0
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
cmp ebx, 0xf
jle 0x4339a2
mov eax, ebx
mov edx, esi
sar eax, 1
neg edx
lea ecx, [eax + esi]
mov dword [esp + 0x38], eax
lea edi, [eax + ebp]
shl eax, 2
mov dword [esp + 0x3c], edx
mov edx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 8], ecx
mov dword [esp + 0x4c], ecx
add eax, edx
mov edx, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 4], edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x24]
mov dword [esp], eax
call fcn.0042ecd0
mov ecx, dword [esp + 0x30]
mov dword [esp + 0xc], ebp
mov dword [esp + 8], edi
mov dword [esp + 4], ecx
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
add eax, ecx
mov dword [esp], eax
mov dword [esp + 0x44], eax
call fcn.0042ecd0
mov edx, dword [esp + 0x48]
lea edx, [edx + edx*2]
lea eax, [eax + edx + 4]
cmp eax, 8
ja case.default.0x433a6e
mov ecx, dword [esp + 0x4c]
jmp dword [eax*4 + 0x525900]
mov eax, 1
mov dword [esp + 0x3c], 0
cmp byte [esp + 0x34], 0
je 0x433b70
cmp dword [esp + 0x38], 8
jne 0x433b70
test ebp, ebp
jne 0x433b70
test eax, eax
lea ebp, [ebx*4]
je 0x433e00
mov eax, dword [esp + 0x28]
mov edx, 0x40
lea esi, [eax + ebp]
test esi, 1
mov edi, esi
jne 0x433e6d
test edi, 2
jne 0x433e5c
mov ecx, edx
xor eax, eax
shr ecx, 2
test dl, 2
rep stosd dword es:[edi], eax
je 0x433aec
xor ecx, ecx
add edi, 2
mov word [edi - 2], cx
and edx, 1
je 0x433af4
mov byte [edi], 0
mov edi, esi
jmp 0x433e1d
mov eax, dword [esp + 0x20]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x74], edx
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp fcn.00431dd0
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.004333d0
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.004333d0
xor eax, eax
cmp byte [esp + 0x34], 0
mov dword [esp + 0x3c], 0
jne 0x433a8d
lea esi, [esi]
mov edi, dword [esp + 0x28]
test eax, eax
lea eax, [ebx*4]
mov dword [esp + 0x48], eax
lea edi, [edi + ebx*8]
mov dword [esp + 0x34], edi
jne 0x433db0
mov edx, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov edi, edx
add edi, eax
mov eax, dword [esp + 0x34]
add ecx, edx
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x38]
mov dword [esp], eax
mov eax, edi
call fcn.00433960
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x30]
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x20]
mov dword [esp], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 4], 0
call fcn.00433960
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x38]
mov eax, dword [esp + 0x48]
add eax, dword [esp + 0x20]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x44]
mov dword [esp], edx
mov edx, dword [esp + 0x40]
mov dword [esp + 8], ebp
mov dword [esp + 4], esi
mov dword [esp + 0x24], eax
call fcn.00433960
mov eax, dword [esp + 0x24]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
mov dword [esp], eax
call fcn.00431b70
mov dword [esp + 0xc], ebx
mov esi, eax
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x433d90
mov eax, dword [esp + 0x28]
mov dword [esp + 8], edi
mov dword [esp], edi
mov dword [esp + 4], eax
call fcn.00431ca0
sub esi, eax
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x20]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], edi
add eax, ebp
mov dword [esp + 4], eax
mov dword [esp], eax
call fcn.00431b70
add esi, eax
je 0x4339d4
add ebx, dword [esp + 0x38]
lea edx, [ebp + ebx*4]
mov eax, dword [edx]
add eax, esi
cmp esi, eax
mov dword [edx], eax
jbe 0x4339d4
add edx, 4
add dword [edx], 1
je 0x433ca6
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.004333d0
mov edx, ebp
mov eax, dword [esp + 0x28]
neg edx
mov ecx, dword [esp + 0x44]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x30]
add eax, dword [esp + 0x2c]
mov dword [esp], edi
call fcn.004333d0
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x433a82
mov eax, dword [esp + 0x3c]
mov dword [esp], ecx
mov edx, dword [esp + 0x24]
mov ecx, dword [esp + 0x40]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x28]
call fcn.004333d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.004333d0
xor eax, eax
mov dword [esp + 0x3c], 0
jmp 0x433a82
mov dword [esp], ecx
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
mov dword [esp + 4], esi
call fcn.004333d0
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x44]
add eax, dword [esp + 0x2c]
mov dword [esp + 4], ebp
mov dword [esp], edi
call fcn.004333d0
xor eax, eax
mov dword [esp + 0x3c], 1
jmp 0x433a82
mov eax, dword [esp + 0x28]
mov dword [esp + 4], edi
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.00431b70
add esi, eax
jmp 0x433c6a
mov edi, dword [esp + 0x28]
mov dword [esp + 8], eax
mov dword [esp + 4], 0
add edi, eax
mov dword [esp], edi
call sub.msvcrt.dll_memset
jmp 0x433bc2
mov eax, dword [esp + 0x20]
add ebx, edi
neg esi
add ebx, ebp
shl esi, 2
mov dword [esp + 0x78], esi
lea eax, [eax + ebx*4]
mov dword [esp + 0x74], 0
mov dword [esp + 0x70], eax
add esp, 0x5c
pop ebx
pop esi
pop edi
pop ebp
jmp sub.msvcrt.dll_memset
mov esi, dword [esp + 0x28]
mov eax, esi
add eax, dword [esp + 0x2c]
lea edi, [esi + ebp]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp], edi
call fcn.00431dd0
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x20]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x24]
mov dword [esp], esi
add ebp, esi
mov dword [esp + 4], eax
call fcn.00431dd0
mov eax, dword [esp + 0x44]
mov dword [esp], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 8], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 4], eax
call fcn.00431dd0
jmp 0x433c22
xor eax, eax
add edi, 2
mov word [edi - 2], ax
sub edx, 2
jmp 0x433ad5
mov byte [esi], 0
lea edi, [esi + 1]
mov dl, 0x3f
jmp 0x433ac9