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

Disassembly:
sub esp, 0xa4
push ebx
xor ebx, ebx
cmp dword [esp + 0xb4], ebx
jne 0x5ddd6b
mov eax, dword [edi + 4]
mov ecx, dword [edi]
mov edx, dword [esp + 0xb0]
push eax
mov eax, dword [esp + 0xb0]
push ecx
push esi
push edx
push eax
push edi
call fcn.005dd400
add esp, 0x18
pop ebx
add esp, 0xa4
ret
mov edx, dword [edi]
imul edx, dword [edi + 4]
mov ecx, dword [0x66e9c0]
imul edx, esi
push ebp
push edx
mov dword [esp + 0x30], ecx
mov dword [0x66e9c0], ebx
call dword [0x610670]
add esp, 4
xor ecx, ecx
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
jmp 0x5ddda2
xor ebx, ebx
mov eax, 4
mov edx, 2
mov dword [esp + 0x64], edx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x84], edx
mov dword [esp + 0x88], edx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xa8], edx
mov edx, dword [edi]
mov dword [esp + 0x7c], eax
mov dword [esp + 0x80], eax
mov dword [esp + 0x9c], eax
mov dword [esp + 0xa0], eax
mov dword [esp + 0x5c], eax
mov dword [esp + 0x44], eax
mov ebp, 1
mov dword [esp + 0x58], ebx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x68], ebx
mov dword [esp + 0x70], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x50], ebx
mov ebx, 8
mov dword [esp + 0x6c], ebp
mov eax, dword [esp + ecx + 0x58]
sub edx, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x90], ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x74], ebx
mov dword [esp + 0x78], ebx
mov dword [esp + 0x8c], ebp
mov ebx, dword [esp + ecx + 0x74]
lea eax, [edx + ebx - 1]
xor edx, edx
div ebx
mov dword [esp + 0x54], ebp
mov ebp, dword [esp + ecx + 0x90]
mov dword [esp + 0x38], ebx
mov edx, ebp
mov dword [esp + 0x30], ebp
mov ebx, eax
mov eax, dword [esp + ecx + 0x3c]
sub edx, eax
mov eax, dword [edi + 4]
lea eax, [edx + eax - 1]
xor edx, edx
div ebp
test ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], eax
je 0x5ddf78
test eax, eax
je 0x5ddf78
mov ecx, dword [esp + 0xb4]
mov edx, dword [esp + 0xb0]
push eax
push ebx
push esi
push ecx
push edx
push edi
call fcn.005dd400
add esp, 0x18
test eax, eax
je 0x5ddfa6
mov ecx, dword [esp + 0x24]
test ecx, ecx
jle 0x5ddf4e
mov eax, dword [esp + 0xc]
mov edx, dword [esp + eax + 0x3c]
mov eax, ebx
imul eax, esi
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], edx
mov dword [esp + 0x34], eax
mov dword [esp + 0x1c], ecx
lea esp, [esp]
test ebx, ebx
jle 0x5ddf3f
mov eax, dword [esp + 0x20]
mov ebx, dword [esp + 0x10]
xor ebp, ebp
mov dword [esp + 0x18], eax
mov edx, dword [edi]
imul edx, dword [esp + 0x14]
add edx, dword [esp + 0x28]
mov ecx, dword [edi + 0x20]
add edx, ebp
imul edx, esi
add edx, dword [esp + 8]
push esi
add ecx, ebx
push ecx
push edx
call fcn.005e796e
add ebp, dword [esp + 0x44]
add esp, 0xc
add ebx, esi
sub dword [esp + 0x18], 1
jne 0x5ddf02
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
add dword [esp + 0x14], ebp
add dword [esp + 0x10], eax
sub dword [esp + 0x1c], 1
jne 0x5ddef0
mov eax, dword [edi + 0x20]
push eax
call dword [0x61066c]
imul ebx, esi
mov ecx, dword [esp + 0x10]
add ebx, 1
imul ebx, dword [esp + 0x28]
add dword [esp + 0xb4], ebx
add esp, 4
sub dword [esp + 0xb4], ebx
add ecx, 4
cmp ecx, 0x1c
mov dword [esp + 0xc], ecx
jl 0x5ddda0
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 8]
pop ebp
mov dword [0x66e9c0], eax
mov dword [edi + 0x20], edx
mov eax, 1
pop ebx
add esp, 0xa4
ret
mov ecx, dword [esp + 8]
push ecx
call dword [0x61066c]
add esp, 4
pop ebp
xor eax, eax
pop ebx
add esp, 0xa4
ret