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

Disassembly:
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x2c]
sub esp, 8
push ebx
mov ebx, dword [esp + 0x34]
push ebp
push esi
mov esi, dword [esp + 0x18]
lea eax, [esi + 0x64]
mov dword [eax], ecx
mov dword [eax + 4], ebx
push edi
mov edi, dword [esp + 0x28]
mov dword [eax + 8], edx
xor eax, eax
test edi, edi
je 0x5c9ac9
lea esp, [esp]
mov ecx, dword [esi + 0x4c]
mov dword [ecx + eax*4], 0
mov edx, dword [esi + 4]
mov dword [edx + eax*4], 0
inc eax
cmp eax, edi
jne 0x5c9ab0
mov eax, dword [esp + 0x24]
cdq
and edx, 3
add edx, eax
sar edx, 2
test edx, edx
mov dword [esi + 0x50], edi
mov dword [esi + 8], edi
mov dword [esp + 0x14], edx
je 0x5c9b30
mov eax, dword [esp + 0x20]
add eax, 0x2c
mov ebp, edx
lea ecx, [ecx]
mov ecx, dword [eax - 0x20]
cmp ecx, 0xffffffff
je 0x5c9b0b
mov ebx, dword [esi + 0x4c]
lea ecx, [ebx + ecx*4]
inc dword [ecx]
mov ebx, dword [esi + 4]
mov ecx, dword [eax - 0x20]
lea ecx, [ebx + ecx*4]
inc dword [ecx]
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x5c9b24
mov ebx, dword [esi + 0x4c]
lea ecx, [ebx + ecx*4]
inc dword [ecx]
mov ebx, dword [esi + 4]
mov ecx, dword [eax]
lea ecx, [ebx + ecx*4]
inc dword [ecx]
add eax, 0x100
dec ebp
jne 0x5c9af0
mov ebx, dword [esp + 0x40]
xor eax, eax
xor ecx, ecx
test ebx, ebx
je 0x5c9b85
mov ebp, dword [esp + 0x3c]
mov dword [esp + 0x1c], ebx
xor ebx, ebx
xor edi, edi
cmp dword [ebp], ebx
je 0x5c9b73
lea esp, [esp]
mov edx, dword [esi + 0x40]
mov dword [edx + ecx*4], eax
mov edx, dword [esi + 0x10]
mov dword [edx + ecx*4], edi
mov edx, dword [esi + 0x4c]
mov edx, dword [edx + ecx*4]
add eax, edx
add edi, edx
mov edx, dword [ebp]
inc ecx
inc ebx
cmp ebx, edx
jne 0x5c9b50
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x1c]
add ebp, 4
dec edi
mov dword [esp + 0x1c], edi
jne 0x5c9b40
mov edi, dword [esp + 0x28]
mov dword [esi + 0x74], eax
xor eax, eax
test edi, edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x70], edi
mov dword [esi + 0x78], edx
je 0x5c9baf
lea ebx, [ebx]
mov ecx, dword [esi + 0x4c]
mov dword [ecx + eax*4], 0
inc eax
cmp eax, edi
jne 0x5c9ba0
xor edx, edx
test edi, edi
je 0x5c9bdc
mov ecx, dword [esi + 0x78]
xor eax, eax
test ecx, ecx
je 0x5c9bd7
mov edi, edi
mov ebx, dword [esi + 0x34]
imul ecx, edx
add ecx, eax
mov dword [ebx + ecx*4], 0xffffffff
mov ecx, dword [esi + 0x78]
inc eax
cmp eax, ecx
jne 0x5c9bc0
inc edx
cmp edx, edi
jne 0x5c9bb8
mov eax, dword [esp + 0x34]
xor edi, edi
test eax, eax
mov dword [esp + 0x1c], 0
mov dword [esp + 0x3c], edi
je 0x5c9d89
mov edx, dword [esi + 0x58]
mov eax, dword [esp + 0x30]
mov dword [edx + edi*4], 0
mov eax, dword [eax + edi*4]
cdq
and edx, 3
add eax, edx
sar eax, 2
test eax, eax
mov dword [esp + 0x10], 0
je 0x5c9d71
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
shl ecx, 8
add ecx, eax
mov dword [esp + 0x14], ecx
mov ebx, dword [ecx + 0xc]
cmp ebx, 0xffffffff
mov ebp, dword [ecx + 0x2c]
je 0x5c9cb9
mov edx, dword [esi + 0x40]
mov edi, dword [edx + ebx*4]
mov eax, dword [esi + 0x4c]
add edi, dword [eax + ebx*4]
mov edx, dword [esi]
push 0
push ecx
lea ecx, [edi + edi*2]
shl ecx, 5
add ecx, edx
push ecx
call fcn.005c9a10
mov eax, dword [esi + 0x78]
mov edx, dword [esi + 0x4c]
imul eax, ebx
mov edx, dword [edx + ebx*4]
add eax, dword [esp + 0x28]
mov ecx, dword [esi + 0x34]
mov dword [ecx + eax*4], edx
mov eax, dword [esi + 0x4c]
mov edx, dword [esp + 0x28]
lea ebx, [eax + ebx*4]
mov eax, dword [ebx]
add esp, 0xc
inc eax
mov dword [ebx], eax
mov ecx, dword [esi + 0x28]
mov dword [ecx + edi*4], edx
mov eax, dword [esi + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [eax + edi*4], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
lea eax, [edx + eax*4]
inc dword [eax]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x20]
inc ecx
inc eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x20], eax
cmp ebp, 0xffffffff
je 0x5c9d3d
mov edx, dword [esi + 0x40]
mov eax, dword [esi + 0x4c]
mov edi, dword [edx + ebp*4]
mov edx, dword [eax + ebp*4]
mov ebx, dword [esi]
push 1
push ecx
add edi, edx
lea ecx, [edi + edi*2]
shl ecx, 5
add ecx, ebx
push ecx
call fcn.005c9a10
mov ecx, dword [esi + 0x78]
mov edx, dword [esi + 0x4c]
imul ecx, ebp
mov edx, dword [edx + ebp*4]
mov ebx, dword [esi + 0x34]
mov eax, dword [esp + 0x28]
add ecx, eax
mov dword [ebx + ecx*4], edx
mov ecx, dword [esi + 0x4c]
mov ebx, dword [ecx + ebp*4]
lea ebp, [ecx + ebp*4]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
inc ebx
mov dword [ebp], ebx
mov edx, dword [esi + 0x28]
mov dword [edx + edi*4], eax
mov eax, dword [esi + 0x1c]
mov dword [eax + edi*4], ecx
mov edx, dword [esi + 0x58]
mov eax, dword [esp + 0x3c]
mov edi, dword [esp + 0x3c]
lea eax, [edx + eax*4]
inc dword [eax]
mov ecx, dword [esi + 0x2c]
mov eax, dword [esi + 0x20]
inc ecx
inc eax
mov dword [esi + 0x2c], ecx
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x20], eax
mov edx, dword [esp + 0x30]
mov eax, dword [edx + edi*4]
mov ebx, dword [esp + 0x1c]
cdq
inc ebx
and edx, 3
mov dword [esp + 0x1c], ebx
mov ebx, dword [esp + 0x10]
add ecx, 0x100
add eax, edx
inc ebx
sar eax, 2
cmp ebx, eax
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
jne 0x5c9c31
mov edx, dword [esi + 0x5c]
mov eax, dword [esp + 0x34]
inc edx
inc edi
cmp edi, eax
mov dword [esi + 0x5c], edx
mov dword [esp + 0x3c], edi
jne 0x5c9bf6
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret