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

Disassembly:
sub esp, 0x6c
mov ecx, dword [esp + 0x74]
push esi
mov esi, dword [ecx + 0x104]
imul esi, dword [ecx + 0xfc]
push edi
mov edi, dword [esp + 0x78]
mov eax, dword [edi + 0x60]
xor edx, edx
div esi
mov dword [esp + 0x60], eax
xor eax, eax
cmp dword [ecx + 0x4c], eax
mov dword [esp + 0x34], eax
jle 0x100a857f
push ebx
push ebp
mov dword [esp + 0x54], eax
lea ebx, [ebx]
mov ebx, dword [ecx + 0x54]
add ebx, dword [esp + 0x54]
xor ebp, ebp
mov eax, dword [ebx + 8]
mov esi, eax
imul eax, dword [esp + 0x88]
imul esi, dword [esp + 0x68]
mov dword [esp + 0x70], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
imul edx, dword [esp + 0x8c]
mov dword [esp + 0x78], ebx
mov dword [esp + 0x4c], esi
mov dword [esp + 0x6c], edx
mov dword [esp + 0x64], ebp
cmp dword [ebx + 0x20], ebp
jbe 0x100a8566
jmp 0x100a81f0
mov edx, dword [esp + 0x94]
mov ecx, dword [edi + 4]
push 1
push eax
mov eax, dword [esp + 0x44]
mov edx, dword [edx + eax*4]
mov eax, dword [ecx + 0x20]
push ebp
push edx
push edi
call eax
add esp, 0x14
cmp dword [ebx + 0xc], 0
mov dword [esp + 0x60], 0
jle 0x100a854d
mov ecx, dword [esp + 0x6c]
add ebp, ecx
shl ebp, 7
mov dword [esp + 0x50], eax
mov dword [esp + 0x40], ebp
xor ebp, ebp
mov dword [esp + 0x48], ebp
cmp dword [ebx + 0x1c], ebp
jbe 0x100a852d
mov ecx, dword [esp + 0x70]
mov edx, dword [edi + 4]
lea eax, [ecx + ebp]
mov dword [esp + 0x74], eax
push 0
cmp eax, esi
jae 0x100a8262
mov eax, dword [ebx + 8]
sub esi, eax
sub esi, ebp
push eax
sub esi, ecx
push esi
jmp 0x100a8267
mov ecx, dword [ebx + 8]
push ecx
push eax
mov ecx, dword [esp + 0x48]
mov eax, dword [esp + 0x9c]
mov eax, dword [eax + ecx*4]
mov ecx, dword [edx + 0x20]
push eax
push edi
call ecx
mov ecx, dword [ebx + 8]
xor esi, esi
add esp, 0x14
mov dword [esp + 0x58], eax
mov dword [esp + 0x5c], esi
test ecx, ecx
jle 0x100a8519
shl ebp, 7
mov dword [esp + 0x44], ebp
jmp 0x100a82a4
mov ebp, dword [esp + 0x44]
mov edx, dword [esp + 0x50]
mov edx, dword [edx]
mov edi, dword [esp + 0x4c]
add edx, ebp
cmp dword [esp + 0x74], edi
jae 0x100a849d
sub ecx, esi
mov ecx, dword [eax + ecx*4 - 4]
add ecx, dword [esp + 0x40]
lea eax, [edx + 0x70]
mov dword [esp + 0x38], eax
lea eax, [edx + 0x60]
mov dword [esp + 0x18], eax
lea eax, [edx + 0x50]
mov dword [esp + 0x14], eax
lea eax, [edx + 0x40]
mov dword [esp + 0x10], eax
lea eax, [edx + 0x30]
mov dword [esp + 0x34], eax
lea eax, [ecx + 0xe]
mov dword [esp + 0x30], eax
lea eax, [ecx + 0xc]
mov dword [esp + 0x2c], eax
lea eax, [ecx + 0xa]
mov dword [esp + 0x28], eax
lea eax, [ecx + 8]
mov dword [esp + 0x24], eax
lea eax, [ecx + 6]
mov dword [esp + 0x20], eax
lea eax, [ecx + 4]
xor esi, esi
lea ebx, [edx + 0x20]
lea edi, [edx + 0x10]
mov dword [esp + 0x1c], eax
lea esp, [esp]
movzx eax, word [ecx]
mov word [edx + esi*2], ax
movzx eax, word [ecx + 2]
mov word [edi], ax
mov eax, dword [esp + 0x1c]
movzx eax, word [eax]
mov word [ebx], ax
mov eax, dword [esp + 0x20]
movzx eax, word [eax]
mov ebp, dword [esp + 0x34]
mov word [ebp], ax
mov eax, dword [esp + 0x24]
movzx eax, word [eax]
mov ebp, dword [esp + 0x10]
mov word [ebp], ax
mov eax, dword [esp + 0x28]
movzx eax, word [eax]
mov ebp, dword [esp + 0x14]
mov word [ebp], ax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax]
mov ebp, dword [esp + 0x18]
mov word [ebp], ax
mov eax, dword [esp + 0x30]
movzx eax, word [eax]
mov ebp, dword [esp + 0x38]
mov word [ebp], ax
mov bp, word [ecx + 0x10]
add dword [esp + 0x1c], 0x10
add dword [esp + 0x20], 0x10
mov eax, dword [esp + 0x34]
neg bp
mov word [edx + esi*2 + 2], bp
mov bp, word [ecx + 0x12]
add dword [esp + 0x24], 0x10
add dword [esp + 0x10], 2
neg bp
mov word [edi + 2], bp
mov ebp, dword [esp + 0x1c]
mov bp, word [ebp]
add ecx, 0x10
add dword [esp + 0x28], 0x10
inc esi
add dword [esp + 0x14], 2
add edi, 2
neg bp
mov word [ebx + 2], bp
mov ebp, dword [esp + 0x20]
mov bp, word [ebp]
add dword [esp + 0x2c], 0x10
add eax, 2
add ebx, 2
mov dword [esp + 0x34], eax
add dword [esp + 0x18], 2
neg bp
mov word [eax], bp
mov eax, dword [esp + 0x24]
movzx eax, word [eax]
mov ebp, dword [esp + 0x10]
add dword [esp + 0x30], 0x10
add dword [esp + 0x38], 2
neg ax
mov word [ebp], ax
mov eax, dword [esp + 0x28]
movzx eax, word [eax]
mov ebp, dword [esp + 0x14]
neg ax
mov word [ebp], ax
mov eax, dword [esp + 0x2c]
movzx eax, word [eax]
mov ebp, dword [esp + 0x18]
neg ax
mov word [ebp], ax
mov eax, dword [esp + 0x30]
mov bp, word [eax]
mov eax, dword [esp + 0x38]
neg bp
inc esi
add edi, 2
mov word [eax], bp
add ebx, 2
add dword [esp + 0x34], 2
add dword [esp + 0x10], 2
add dword [esp + 0x14], 2
add dword [esp + 0x18], 2
add eax, 2
mov dword [esp + 0x38], eax
mov eax, 0x10
add dword [esp + 0x1c], eax
add dword [esp + 0x20], eax
add dword [esp + 0x24], eax
add dword [esp + 0x28], eax
add dword [esp + 0x2c], eax
add dword [esp + 0x30], eax
add ecx, eax
cmp esi, 8
jl 0x100a8320
mov ebx, dword [esp + 0x78]
mov eax, dword [esp + 0x58]
mov esi, dword [esp + 0x5c]
jmp 0x100a84f9
mov ecx, dword [eax + esi*4]
add ecx, dword [esp + 0x40]
add edx, 0x20
add ecx, 4
mov edi, 8
nop
mov bp, word [ecx - 4]
mov word [edx - 0x20], bp
mov bp, word [ecx - 2]
mov word [edx - 0x10], bp
mov bp, word [ecx]
mov word [edx], bp
mov bp, word [ecx + 2]
mov word [edx + 0x10], bp
mov bp, word [ecx + 4]
mov word [edx + 0x20], bp
mov bp, word [ecx + 6]
mov word [edx + 0x30], bp
mov bp, word [ecx + 8]
mov word [edx + 0x40], bp
mov bp, word [ecx + 0xa]
mov word [edx + 0x50], bp
add edx, 2
add ecx, 0x10
sub edi, 1
jne 0x100a84b0
mov ecx, dword [ebx + 8]
sub dword [esp + 0x44], 0xffffff80
mov edi, dword [esp + 0x80]
mov ebp, dword [esp + 0x48]
inc esi
cmp esi, ecx
mov dword [esp + 0x5c], esi
jl 0x100a82a0
add ebp, dword [ebx + 8]
mov esi, dword [esp + 0x4c]
mov dword [esp + 0x48], ebp
cmp ebp, dword [ebx + 0x1c]
jb 0x100a8241
mov eax, dword [esp + 0x60]
add dword [esp + 0x50], 4
sub dword [esp + 0x40], 0xffffff80
inc eax
cmp eax, dword [ebx + 0xc]
mov dword [esp + 0x60], eax
jl 0x100a8232
mov ebp, dword [esp + 0x64]
mov eax, dword [ebx + 0xc]
add ebp, eax
mov dword [esp + 0x64], ebp
cmp ebp, dword [ebx + 0x20]
jb 0x100a81f0
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x3c]
add dword [esp + 0x54], 0x58
inc eax
cmp eax, dword [ecx + 0x4c]
mov dword [esp + 0x3c], eax
jl 0x100a81a0
pop ebp
pop ebx
pop edi
pop esi
add esp, 0x6c
ret