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

Disassembly:
sub esp, 0x7c
mov eax, 4
push ebx
push esi
push edi
push ebp
mov edi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0x98]
mov edi, dword [edi]
mov ecx, dword [ecx]
mov dword [esp + 0x18], edi
mov edi, ecx
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x18]
shl edi, 2
mov esi, dword [esp + 0x14]
sub edi, 4
dec ecx
mov dword [esp + 0x20], edi
mov edx, dword [edx]
imul ecx, dword [esp + 0x20]
dec esi
mov edi, 0xfffffffc
mov dword [esp + 0x10], 0xc
mov dword [esp + 0x1c], edx
mov dword [esp + 0x58], 2
mov dword [esp + 0x5c], 0xffffffff
mov dword [esp + 0x64], 0
imul esi, dword [esp + 0x18]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x60], ecx
lea esi, [eax + esi*4]
mov eax, edx
shl eax, 2
mov dword [esp + 0x28], esi
add eax, dword [esp + 0x10]
mov esi, edx
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
add eax, 3
imul eax, dword [esp + 0x2c]
mov dword [esp + 0x30], eax
mov eax, edx
add eax, 3
sub edi, dword [esp + 0x14]
imul edi, eax
mov eax, edx
shl edi, 2
sub edi, 4
shl eax, 2
mov dword [esp + 0x34], edi
sub eax, 4
mov edi, 4
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x18]
dec eax
imul eax, dword [esp + 0x38]
mov dword [esp + 0x3c], eax
mov eax, edx
dec eax
imul eax, dword [esp + 0x18]
lea edi, [edi + eax*4]
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x40], edi
imul eax, dword [esp + 0x38]
mov edi, 4
mov dword [esp + 0x44], eax
mov eax, edx
dec eax
imul eax, dword [esp + 0x14]
lea edi, [edi + eax*4]
mov eax, edx
dec eax
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x14]
dec eax
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x18]
dec eax
shl esi, 2
xor edx, edx
test eax, eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x68], esi
setle dl
mov dword [esp + 0x6c], edx
mov edx, dword [esp + 0xb0]
sub edx, dword [esp + 0x34]
mov dword [esp + 0x70], edx
mov edx, dword [esp + 0x5c]
cmp edx, 1
jge 0x4c808a
mov edx, 1
mov esi, dword [esp + 0x54]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x78], esi
mov dword [esp + 0x7c], edx
test edx, edx
jne 0x4c816f
mov edx, dword [esp + 0x60]
mov ecx, dword [esp + 0x70]
add edx, dword [esp + 0x20]
mov edi, dword [esp + 0x74]
mov ebx, dword [esp + 0x30]
lea edi, [ecx + edi*4]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x10], edi
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0xa4]
test ebp, ebp
jle 0x4c8140
sub eax, dword [esp + 0x28]
mov edi, dword [esp + 0x80]
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x70]
add eax, dword [esp + 0x7c]
add eax, 4
add edi, dword [esp + 0x2c]
add edi, dword [esp + 0x10]
add ecx, dword [esp + 0x2c]
lea ebx, [edx + ecx]
mov edx, dword [esp + 0x64]
add edx, ebx
mov ebx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x2c]
mov esi, dword [eax]
shl esi, 2
add esi, dword [esp + 0x94]
mov esi, dword [esi - 4]
sub esi, 0xa
cmp esi, 9
jbe 0x4c8132
mov esi, dword [edi]
mov dword [edx], esi
add edi, ecx
add edx, ebx
dec ebp
add eax, 4
test ebp, ebp
jg 0x4c8117
mov esi, dword [esp + 0x20]
mov edi, dword [esp + 0x30]
add esi, dword [esp + 0x7c]
add edi, dword [esp + 0x80]
mov edx, dword [esp + 0x78]
dec edx
mov dword [esp + 0x7c], esi
mov dword [esp + 0x80], edi
mov dword [esp + 0x78], edx
test edx, edx
jg 0x4c80cc
mov ebp, dword [esp + 0x5c]
mov ebx, dword [esp + 0x60]
add ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x64]
add ebx, dword [esp + 0x24]
add eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x5c], ebp
dec ecx
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x58], ecx
test ecx, ecx
jg 0x4c807c
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0x3c]
imul edx, dword [esp + 0x2c]
mov dword [esp + 0x10], 2
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], 0xffffffff
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], edx
mov ecx, dword [esp + 0x1c]
cmp ecx, 1
jge 0x4c81df
mov ecx, 1
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4c829f
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x24]
add edx, dword [esp + 0x38]
add eax, dword [esp + 0x30]
imul ecx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x54]
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], eax
add ecx, dword [esp + 0x30]
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xa8]
test esi, esi
jle 0x4c8276
sub ebx, dword [esp + 0x40]
mov edi, dword [esp + 0xb0]
mov eax, dword [esp + 0xb0]
add ebx, dword [esp + 0x58]
add ebx, 4
sub edi, dword [esp + 0x34]
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x5c]
lea edi, [edi + ecx + 4]
add eax, 4
mov edx, dword [ebx]
shl edx, 2
add edx, dword [esp + 0x94]
mov edx, dword [edx - 4]
sub edx, 0xa
cmp edx, 9
jbe 0x4c8268
mov edx, dword [edi]
mov dword [eax], edx
dec esi
lea ebx, [ebx + 4]
lea edi, [edi + 4]
lea eax, [eax + 4]
test esi, esi
jg 0x4c824d
mov edx, dword [esp + 0x38]
mov esi, dword [esp + 0x30]
add edx, dword [esp + 0x58]
mov eax, dword [esp + 0x30]
add esi, dword [esp + 0x5c]
add eax, ecx
dec ebp
mov dword [esp + 0x58], edx
mov dword [esp + 0x5c], esi
mov ecx, eax
test ebp, ebp
jg 0x4c8210
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x3c]
add edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x24]
add esi, dword [esp + 0x20]
add eax, dword [esp + 0x28]
mov ebp, dword [esp + 0x10]
dec ebp
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
mov ecx, dword [esp + 0x18]
jg 0x4c81d1
imul ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x44]
mov dword [esp + 0x10], 2
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x14]
cmp edx, 1
jge 0x4c830f
mov edx, 1
mov ebp, dword [esp + 0x50]
mov ecx, ebp
test ebp, ebp
mov ebp, dword [esp + 0x1c]
jle 0x4c83cd
mov eax, dword [esp + 0x20]
add ebp, dword [esp + 0x38]
add eax, dword [esp + 0x2c]
imul edx, dword [esp + 0x30]
mov dword [esp + 0x28], eax
add edx, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x4c]
mov ebx, dword [esp + 0xac]
test esi, esi
jle 0x4c83a4
mov edi, dword [esp + 0xb0]
sub ebx, dword [esp + 0x48]
sub edi, dword [esp + 0x34]
mov eax, dword [esp + 0xb0]
add edi, dword [esp + 0x3c]
lea ebx, [ebx + ebp + 4]
add edi, 4
sub eax, dword [esp + 0x34]
add eax, dword [esp + 0x28]
add eax, 4
mov edx, dword [ebx]
shl edx, 2
add edx, dword [esp + 0x94]
mov edx, dword [edx - 4]
sub edx, 0xa
cmp edx, 9
jbe 0x4c8396
mov edx, dword [edi]
mov dword [eax], edx
dec esi
lea ebx, [ebx + 4]
lea edi, [edi + 4]
lea eax, [eax + 4]
test esi, esi
jg 0x4c837b
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x2c]
add edx, ebp
mov edi, dword [esp + 0x2c]
add ebx, dword [esp + 0x28]
add edi, dword [esp + 0x3c]
dec ecx
mov ebp, edx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x3c], edi
test ecx, ecx
jg 0x4c833e
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x44]
add edx, dword [esp + 0x14]
mov eax, dword [esp + 0x20]
add esi, dword [esp + 0x1c]
add eax, dword [esp + 0x24]
mov ebp, dword [esp + 0x10]
dec ebp
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x10], ebp
test ebp, ebp
jg 0x4c8301
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x7c
ret 0x24