Function at 0x1006cf30
Capabilities:
Enumerate pe sections
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x5c
push ebx
mov ebx, dword [esp + 0x64]
xor edx, edx
push ebp
mov ebp, dword [esp + 0x6c]
mov dword [esp + 0x48], 0
mov eax, dword [ebx + 0x60]
mov ecx, dword [ebp + 0x108]
imul ecx, dword [ebp + 0x100]
div ecx
cmp dword [ebp + 0x4c], 0
mov ecx, eax
mov dword [esp + 0x60], ecx
jle 0x1006d333
mov eax, dword [esp + 0x78]
xor edx, edx
sub dword [esp + 0x7c], eax
push esi
mov dword [esp + 0x50], edx
push edi
nop dword [eax]
mov ebp, dword [ebp + 0x54]
add ebp, edx
mov dword [esp + 0x64], ebp
mov esi, dword [ebp + 8]
mov edi, esi
imul esi, dword [esp + 0x78]
imul edi, ecx
mov ecx, dword [ebp + 0xc]
mov edx, ecx
imul edx, dword [esp + 0x7c]
mov dword [esp + 0x38], esi
mov dword [esp + 0x30], edi
mov dword [esp + 0x5c], edx
xor edx, edx
mov dword [esp + 0x40], edx
cmp dword [ebp + 0x20], edx
jbe 0x1006d302
add eax, dword [esp + 0x84]
mov dword [esp + 0x58], eax
mov eax, dword [ebx + 4]
push 1
push ecx
mov ecx, dword [esp + 0x60]
mov eax, dword [eax + 0x20]
push edx
push dword [ecx]
push ebx
call eax
xor ecx, ecx
mov dword [esp + 0x74], eax
add esp, 0x14
mov dword [esp + 0x3c], ecx
cmp dword [ebp + 0xc], ecx
jle 0x1006d2e5
mov eax, dword [esp + 0x40]
add eax, dword [esp + 0x5c]
shl eax, 7
mov dword [esp + 0x34], eax
nop
xor ebx, ebx
mov dword [esp + 0x4c], ebx
cmp dword [ebp + 0x1c], ebx
jbe 0x1006d2cc
nop
add esi, ebx
mov dword [esp + 0x44], esi
push 0
cmp esi, edi
jae 0x1006d04f
mov ecx, dword [ebp + 8]
mov eax, edi
mov edx, dword [esp + 0x74]
sub eax, ecx
sub eax, ebx
sub eax, dword [esp + 0x3c]
push ecx
mov edx, dword [edx + 4]
push eax
mov eax, dword [esp + 0x8c]
push dword [eax]
mov eax, dword [edx + 0x20]
push dword [esp + 0x80]
call eax
mov edx, eax
mov dword [esp + 0x5c], edx
jmp 0x1006d06f
mov ecx, dword [esp + 0x74]
push dword [ebp + 8]
mov edx, dword [esp + 0x88]
push esi
mov eax, dword [ecx + 4]
push dword [edx]
mov eax, dword [eax + 0x20]
push ecx
call eax
mov edx, eax
mov dword [esp + 0x5c], eax
mov eax, dword [ebp + 8]
add esp, 0x14
xor edi, edi
test eax, eax
jle 0x1006d2ac
shl ebx, 7
mov esi, dword [esp + 0x60]
mov ecx, dword [esp + 0x3c]
mov ecx, dword [esi + ecx*4]
mov esi, dword [esp + 0x44]
add ecx, ebx
cmp esi, dword [esp + 0x30]
jae 0x1006d22f
sub eax, edi
mov dword [esp + 0x10], 0
mov esi, dword [edx + eax*4 - 4]
lea eax, [ecx + 0x70]
add esi, dword [esp + 0x34]
xor edx, edx
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0x60]
mov dword [esp + 0x24], eax
lea eax, [ecx + 0x50]
mov dword [esp + 0x20], eax
lea eax, [ecx + 0x40]
mov dword [esp + 0x1c], eax
lea eax, [ecx + 0x30]
mov dword [esp + 0x18], eax
lea eax, [ecx + 0x20]
mov dword [esp + 0x14], eax
lea eax, [ecx + 0x10]
mov dword [esp + 0x28], eax
movzx eax, word [esi + edx]
lea edx, [edx + 0x20]
mov ebp, dword [esp + 0x10]
inc dword [esp + 0x10]
mov word [ecx + ebp*2], ax
movzx eax, word [esi + edx - 0x1e]
mov ebp, dword [esp + 0x28]
add dword [esp + 0x28], 2
add dword [esp + 0x28], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0x1c]
mov ebp, dword [esp + 0x14]
add dword [esp + 0x14], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0x1a]
mov ebp, dword [esp + 0x18]
add dword [esp + 0x18], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0x18]
mov ebp, dword [esp + 0x1c]
add dword [esp + 0x1c], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0x16]
mov ebp, dword [esp + 0x20]
add dword [esp + 0x20], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0x14]
mov ebp, dword [esp + 0x24]
add dword [esp + 0x24], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0x12]
mov ebp, dword [esp + 0x2c]
mov word [ebp], ax
add ebp, 2
movzx eax, word [esi + edx - 0x10]
neg ax
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x10]
mov word [ecx + ebp*2], ax
movzx eax, word [esi + edx - 0xe]
neg ax
mov word [ecx + ebp*2 + 0x10], ax
movzx eax, word [esi + edx - 0xc]
mov ebp, dword [esp + 0x14]
neg ax
add dword [esp + 0x14], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 0xa]
mov ebp, dword [esp + 0x18]
neg ax
add dword [esp + 0x18], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 8]
mov ebp, dword [esp + 0x1c]
neg ax
add dword [esp + 0x1c], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 6]
mov ebp, dword [esp + 0x20]
neg ax
add dword [esp + 0x20], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 4]
mov ebp, dword [esp + 0x24]
neg ax
add dword [esp + 0x24], 2
mov word [ebp], ax
movzx eax, word [esi + edx - 2]
mov ebp, dword [esp + 0x2c]
neg ax
mov word [ebp], ax
add ebp, 2
mov eax, dword [esp + 0x10]
inc eax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x10], eax
cmp eax, 8
jl 0x1006d0e2
mov ebp, dword [esp + 0x64]
jmp 0x1006d295
mov esi, dword [edx + edi*4]
lea eax, [ecx + 0x20]
add esi, dword [esp + 0x34]
xor edx, edx
nop dword [eax + eax]
movzx ecx, word [edx + esi]
lea eax, [eax + 2]
mov word [eax - 0x22], cx
movzx ecx, word [edx + esi + 2]
mov word [eax - 0x12], cx
movzx ecx, word [edx + esi + 4]
mov word [eax - 2], cx
movzx ecx, word [edx + esi + 6]
mov word [eax + 0xe], cx
movzx ecx, word [edx + esi + 8]
mov word [eax + 0x1e], cx
movzx ecx, word [edx + esi + 0xa]
mov word [eax + 0x2e], cx
movzx ecx, word [edx + esi + 0xc]
mov word [eax + 0x3e], cx
movzx ecx, word [edx + esi + 0xe]
add edx, 0x10
mov word [eax + 0x4e], cx
cmp edx, 0x80
jl 0x1006d240
mov eax, dword [ebp + 8]
inc edi
mov edx, dword [esp + 0x48]
sub ebx, 0xffffff80
cmp edi, eax
jl 0x1006d082
mov ebx, dword [esp + 0x4c]
add ebx, dword [ebp + 8]
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x38]
mov dword [esp + 0x4c], ebx
cmp ebx, dword [ebp + 0x1c]
jb 0x1006d010
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
inc ecx
sub eax, 0xffffff80
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
cmp ecx, dword [ebp + 0xc]
jl 0x1006d000
mov ebx, dword [esp + 0x70]
mov edx, dword [esp + 0x40]
mov ecx, dword [ebp + 0xc]
add edx, ecx
mov dword [esp + 0x40], edx
cmp edx, dword [ebp + 0x20]
jb 0x1006cfc6
mov eax, dword [esp + 0x80]
mov ecx, dword [esp + 0x50]
add eax, 4
mov ebp, dword [esp + 0x74]
inc ecx
mov edx, dword [esp + 0x54]
add edx, 0x58
mov dword [esp + 0x50], ecx
mov dword [esp + 0x54], edx
cmp ecx, dword [ebp + 0x4c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x80], eax
jl 0x1006cf80
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x5c
ret