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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
xor eax, eax
push edi
mov edi, dword [ebp + 8]
mov esi, dword [edi + 0x14]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0x94]
xor edx, edx
div dword [esi + 0x98]
or byte [esi + 0x14], 4
mov edx, dword [edi + 0x18]
lea ecx, [edx - 1]
lea ebx, [eax - 1]
not ebx
and ebx, ecx
mov ecx, dword [esi + 0x18]
inc ebx
cmp edx, ecx
jbe 0x433e78
mov edi, edx
sub edi, ebx
inc edi
mov dword [ebp - 4], edi
jmp 0x433e8f
lea edx, [ebx + eax - 1]
cmp edx, ecx
jbe 0x433e8a
sub ecx, ebx
inc ecx
mov dword [ebp - 4], ecx
mov edi, ecx
jmp 0x433e8f
mov dword [ebp - 4], eax
mov edi, eax
mov dword [ebp - 0x14], 0
test edi, edi
jle 0x434041
mov edi, ebx
cmp dword [ebp - 8], 0
jne 0x434041
mov eax, dword [ebp + 8]
cmp edi, dword [eax + 0x18]
je 0x433f10
mov ecx, dword [esi + 0x38]
test ecx, ecx
je 0x433f10
mov eax, edi
call fcn.00414310
test eax, eax
je 0x433f10
mov eax, dword [esi + 0xd4]
mov ecx, dword [eax + 0x2c]
push 0
push edi
push ecx
call dword [0x4fa0e0]
add esp, 0xc
test eax, eax
je 0x433f07
mov ecx, dword [eax + 4]
cmp dword [ecx], 0
mov edx, dword [esi + 0xd4]
jne 0x433ef9
push eax
push edi
push edx
call fcn.004145d0
add esp, 0xc
jmp 0x433f07
mov eax, 1
add dword [edx + 0xc], eax
add word [ecx + 0x1e], ax
mov eax, ecx
mov dword [ebp - 0xc], eax
test eax, eax
je 0x433f5b
jmp 0x433f49
mov eax, dword [0x4fa170]
cdq
idiv dword [esi + 0x98]
inc eax
cmp edi, eax
je 0x433f5b
mov eax, dword [esi + 0xcc]
push 0
lea edx, [ebp - 0xc]
push edx
push edi
push esi
call eax
add esp, 0x10
mov dword [ebp - 8], eax
test eax, eax
jne 0x433f5b
mov eax, dword [ebp - 0xc]
call fcn.00433d90
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0xc]
test byte [eax + 0x1c], 8
je 0x433f56
mov dword [ebp - 0x10], 1
call fcn.004161f0
mov eax, dword [ebp - 0x14]
inc eax
inc edi
mov dword [ebp - 0x14], eax
cmp eax, dword [ebp - 4]
jl 0x433ea0
cmp dword [ebp - 8], 0
jne 0x434041
cmp dword [ebp - 0x10], 0
je 0x434041
mov ecx, dword [ebp - 4]
mov edi, ebx
mov dword [ebp + 8], edi
mov dword [ebp - 0x14], ecx
jmp 0x433f90
mov eax, dword [esi + 0xd4]
mov edx, dword [eax + 0x2c]
push 0
push edi
push edx
call dword [0x4fa0e0]
mov ecx, eax
add esp, 0xc
test ecx, ecx
je 0x434034
mov eax, dword [ecx + 4]
cmp dword [eax], 0
mov edx, dword [esi + 0xd4]
jne 0x433fcb
push ecx
push edi
push edx
call fcn.004145d0
add esp, 0xc
jmp 0x433fd7
mov ecx, 1
add dword [edx + 0xc], ecx
add word [eax + 0x1e], cx
test eax, eax
je 0x434034
or word [eax + 0x1c], 8
test byte [eax + 0x1c], 0x20
je 0x43402f
mov ecx, dword [eax + 0x14]
dec dword [ecx + 0x78]
mov edx, dword [ecx + 0x88]
mov dword [eax + 0x10], edx
mov edi, dword [ecx + 0x3c]
mov dword [ecx + 0x88], eax
mov edx, dword [eax + 4]
mov eax, dword [eax + 0x18]
mov ebx, dword [edi]
dec eax
push edx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x98]
cdq
push edx
push eax
mov eax, dword [ebp - 0x10]
push 0
push eax
call fcn.004b5250
push edx
push eax
mov eax, dword [ebx + 0x48]
push edi
call eax
mov edi, dword [ebp + 8]
add esp, 0x10
jmp 0x434034
call fcn.00414640
inc edi
dec dword [ebp - 0x14]
mov dword [ebp + 8], edi
jne 0x433f90
and byte [esi + 0x14], 0xfb
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret