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

Disassembly:
sub esp, 0x38
push ebx
push ebp
push esi
mov esi, ecx
mov eax, 0x1b4e81b5
push edi
mov ecx, dword [esi + 8]
imul ecx
sar edx, 4
mov ecx, dword [esi + 0xc]
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x1b4e81b5
lea ebx, [edx + edx + 0xa]
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
add edx, ecx
cmp ebx, 0x64
lea ebp, [edx + edx + 0xa]
mov dword [esp + 0x10], ebp
jl 0x433547
mov ebx, 0x64
cmp ebp, 0x64
jl 0x433558
mov dword [esp + 0x10], 0x64
mov ebp, dword [esp + 0x10]
test ebx, ebx
jle 0x433580
mov edx, 0x4b8cc0
mov edi, ebx
test ebp, ebp
jle 0x433577
mov eax, edx
mov ecx, ebp
mov dword [eax], 0
add eax, 0x78
dec ecx
jne 0x43356b
add edx, 0x2ee0
dec edi
jne 0x433563
mov eax, dword [esi + 0x14]
xor edi, edi
test eax, eax
jle 0x433642
mov edx, dword [esi + 0x1c]
push edi
mov eax, dword [edx + edi*4]
mov dword [eax + 0x60], 0
mov ecx, dword [esi + 0x1c]
mov eax, 0x1b4e81b5
mov ecx, dword [ecx + edi*4]
movsx edx, word [ecx + 0xac]
imul edx
movsx ecx, word [ecx + 0xae]
sar edx, 3
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 0x1b4e81b5
mov ebp, edx
imul ecx
mov eax, dword [esp + 0x14]
sar edx, 3
mov ecx, edx
push eax
shr ecx, 0x1f
add edx, ecx
push ebx
push edx
push ebp
mov ecx, esi
mov dword [esp + 0x30], edx
call fcn.00433470
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x1c]
push edi
push ecx
lea eax, [ebp - 1]
push ebx
push edx
push eax
mov ecx, esi
mov dword [esp + 0x50], eax
call fcn.00433470
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
push edi
dec eax
push ecx
push ebx
push eax
push ebp
mov ecx, esi
mov dword [esp + 0x54], eax
call fcn.00433470
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edi
push edx
push ebx
push eax
push ecx
mov ecx, esi
call fcn.00433470
mov eax, dword [esi + 0x14]
inc edi
cmp edi, eax
jl 0x43358d
mov ebp, dword [esp + 0x10]
test ebx, ebx
jle 0x4337c7
xor eax, eax
mov edx, 0x4b8cc0
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ebx
test ebp, ebp
jle 0x43379d
mov dword [esp + 0x30], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x34], ebp
cmp dword [edx], 1
jl 0x433780
mov ebp, 2
mov dword [esp + 0x28], ebp
mov ecx, dword [edx]
mov dword [esp + 0x24], ebp
cmp ebp, ecx
jg 0x43376a
lea ecx, [eax + ebp]
add eax, ebp
mov dword [esp + 0x44], ecx
lea eax, [eax*4 + 0x4b8cc0]
mov dword [esp + 0x1c], eax
mov ecx, dword [esp + 0x44]
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x18], 0
mov ebx, dword [ecx*4 + 0x4b8cbc]
mov ecx, dword [eax]
mov dword [esp + 0x20], ecx
mov ecx, dword [esi + 0x1c]
mov eax, dword [ecx + ebx*4]
cmp byte [eax + 0x14], 0
jbe 0x433748
mov dword [esp + 0x14], 0x18
mov eax, dword [esp + 0x20]
xor edi, edi
mov eax, dword [ecx + eax*4]
cmp byte [eax + 0x14], 0
jbe 0x433721
mov ebp, 0x18
mov edx, dword [eax + ebp]
mov ecx, dword [ecx + ebx*4]
push edx
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [eax + ecx]
push edx
push ecx
mov ecx, esi
call fcn.004337d0
mov ecx, dword [esi + 0x1c]
mov eax, dword [esp + 0x20]
xor edx, edx
inc edi
mov eax, dword [ecx + eax*4]
add ebp, 0xc
mov dl, byte [eax + 0x14]
cmp edi, edx
jl 0x4336ea
mov ebp, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
inc ecx
add eax, 0xc
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x1c]
mov dword [esp + 0x14], eax
xor eax, eax
mov edi, dword [ecx + ebx*4]
mov al, byte [edi + 0x14]
mov edi, dword [esp + 0x18]
cmp edi, eax
jl 0x4336d6
mov eax, dword [esp + 0x24]
mov edi, dword [esp + 0x1c]
mov ecx, dword [edx]
inc eax
add edi, 4
cmp eax, ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], edi
jle 0x4336a5
mov eax, dword [esp + 0x30]
mov edi, dword [edx]
inc ebp
mov dword [esp + 0x28], ebp
lea ecx, [ebp - 1]
cmp ecx, edi
jle 0x433683
mov ebp, dword [esp + 0x10]
mov ecx, dword [esp + 0x34]
add edx, 0x78
add eax, 0x1e
dec ecx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
jne 0x433671
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
add eax, 0xbb8
add edx, 0x2ee0
dec ecx
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], ecx
jne 0x43365d
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x38
ret