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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
cmp byte [edi + 2], 0
movzx esi, byte [edi + 0xa]
je 0x4332f3
mov ecx, dword [ebp + 0x10]
mov edi, dword [ecx + 0x1c]
mov ebx, dword [ecx + 0x20]
mov eax, dword [ecx + 0x10]
add ebx, edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], ebx
mov dword [ebp - 4], eax
cmp ebx, 0x80
jae 0x4332c2
mov eax, dword [ebp + 0xc]
mov byte [esi + eax], bl
mov eax, 1
jmp 0x4332d8
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
call fcn.0046b4d0
mov ecx, dword [ebp + 0x10]
add esp, 0xc
push dword [ecx + 0xc]
movzx eax, al
push dword [ecx + 8]
add esi, eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
call fcn.0046b4d0
add esp, 0xc
jmp 0x433331
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 8], ebx
mov edi, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
cmp ebx, 0x80
jae 0x43331b
mov eax, dword [ebp + 0xc]
mov byte [esi + eax], bl
mov eax, 1
jmp 0x43332e
mov eax, ebx
cdq
push edx
push eax
mov eax, dword [ebp + 0xc]
add eax, esi
push eax
call fcn.0046b4d0
add esp, 0xc
movzx eax, al
mov ecx, dword [ebp + 8]
add esi, eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0x14], esi
add esi, dword [ebp + 0xc]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x10], esi
cmp ebx, eax
jg 0x433382
mov ecx, dword [ebp - 0x14]
add ecx, ebx
mov eax, 4
cmp ecx, eax
push edi
push dword [ebp - 4]
cmovl ecx, eax
mov eax, dword [ebp + 0x14]
push esi
mov dword [eax], ecx
call sub.MSVCR110.dll_memcpy
sub ebx, edi
push ebx
lea eax, [esi + edi]
push 0
push eax
call sub.MSVCR110.dll_memset
add esp, 0x18
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
movzx esi, word [ecx + 0x10]
mov ecx, dword [ecx + 0x34]
xor edx, edx
mov ecx, dword [ecx + 0x28]
mov eax, ebx
sub eax, esi
sub ecx, 4
div ecx
mov eax, dword [ebp + 0x14]
mov edi, dword [ebp + 8]
add edx, esi
cmp edx, dword [ebp - 0x1c]
cmovg edx, esi
mov esi, dword [ebp - 0x14]
add esi, edx
lea ecx, [esi + 4]
mov dword [eax], ecx
mov eax, dword [ebp + 0xc]
mov edi, dword [edi + 0x34]
add eax, esi
mov dword [ebp - 0x1c], eax
xor eax, eax
xor ebx, ebx
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], edi
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
cmp ecx, edx
mov esi, ecx
mov ecx, dword [ebp - 0xc]
cmovg esi, edx
cmp ecx, esi
jl 0x4333ea
push esi
push dword [ebp - 4]
push eax
call sub.MSVCR110.dll_memcpy
jmp 0x433405
test ecx, ecx
jle 0x4333fc
push ecx
push dword [ebp - 4]
mov esi, ecx
push eax
call sub.MSVCR110.dll_memcpy
jmp 0x433405
push esi
push 0
push eax
call sub.MSVCR110.dll_memset
mov ecx, dword [ebp - 8]
sub ecx, esi
add esp, 0xc
mov dword [ebp - 8], ecx
test ecx, ecx
jle 0x433596
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
add dword [ebp - 4], esi
sub dword [ebp - 0xc], esi
add eax, esi
sub edx, esi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], edx
jne 0x4333d0
cmp byte [edi + 0x11], 0
mov dword [ebp + 8], 0
mov dword [ebp - 0x10], ebx
je 0x43348d
inc ebx
cmp ebx, 2
jae 0x43344a
xor ecx, ecx
jmp 0x433477
mov eax, 0xcccccccd
mul dword [edi + 0x28]
mov esi, edx
shr esi, 2
xor edx, edx
inc esi
lea eax, [ebx - 2]
div esi
xor edx, edx
mov ecx, eax
mov eax, dword [0x4d9c0c]
imul ecx, esi
div dword [edi + 0x24]
add ecx, 2
inc eax
cmp ecx, eax
jne 0x433477
inc ecx
cmp ecx, ebx
je 0x433440
mov eax, dword [0x4d9c0c]
xor edx, edx
div dword [edi + 0x24]
inc eax
cmp ebx, eax
je 0x433440
mov dword [ebp - 0x14], ebx
push 0
push ebx
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 8]
push eax
push edi
call fcn.004235e0
mov ebx, dword [ebp - 0x14]
add esp, 0x14
cmp byte [edi + 0x11], 0
mov esi, eax
mov dword [ebp - 0x18], esi
je 0x4334eb
test esi, esi
jne 0x43357d
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
push eax
test eax, eax
setne al
add al, 3
movzx eax, al
push eax
push ebx
push edi
call fcn.00442960
mov esi, dword [ebp - 0x18]
add esp, 0x14
test esi, esi
je 0x4334f3
mov eax, dword [ebp + 8]
test eax, eax
je 0x4334eb
push eax
call fcn.00444050
add esp, 4
test esi, esi
jne 0x43357d
mov ecx, dword [ebp - 0x1c]
mov eax, ebx
bswap eax
mov dword [ecx], eax
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x433557
mov edx, dword [eax + 0x48]
test byte [edx + 0x1c], 0x20
je 0x43354e
mov eax, dword [edx + 0x14]
dec dword [eax + 0x78]
mov ecx, dword [eax + 0x88]
mov dword [edx + 0x10], ecx
mov esi, dword [eax + 0x3c]
mov dword [eax + 0x88], edx
push dword [edx + 4]
mov ecx, dword [edx + 0x18]
mov eax, dword [eax + 0x98]
mov edi, dword [esi]
cdq
push edx
push eax
dec ecx
push 0
push ecx
call fcn.004a95a0
push edx
push eax
mov eax, dword [edi + 0x48]
push esi
call eax
mov edi, dword [ebp - 0x20]
add esp, 0x10
jmp 0x433557
push edx
call fcn.00468660
add esp, 4
mov eax, dword [ebp + 8]
mov dword [ebp + 0xc], eax
mov ecx, dword [eax + 0x38]
mov dword [ebp - 0x1c], ecx
mov dword [ecx], 0
mov eax, dword [eax + 0x38]
mov edx, dword [edi + 0x28]
add eax, 4
mov dword [ebp - 0x10], eax
sub edx, 4
jmp 0x4333ca
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43358d
push eax
call fcn.00444050
add esp, 4
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x4335a6
push eax
call fcn.00444050
add esp, 4
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret