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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x5c
mov edi, dword [esp + 0x7c]
mov dword [esp + 0x10], ecx
mov esi, dword [esp + 0x78]
mov ecx, dword [esp + 0x70]
mov dword [esp + 0x50], edx
mov ebx, 0xd
shr edi, 1
lea eax, [edi*4]
add edi, edi
sub ecx, eax
lea eax, [edx + 0xe]
lea edx, [esi + esi]
movzx esi, word [ecx + 2]
movzx ebp, word [ecx + 4]
add si, word [ecx]
add bp, word [ecx - 2]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx - 4]
add esi, ebp
add si, word [ecx + 6]
mov word [eax - 0xe], si
movzx esi, word [ecx + 4]
movzx ebp, word [ecx + 6]
add si, word [ecx + 2]
add bp, word [ecx]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx - 2]
add esi, ebp
add si, word [ecx + 8]
mov word [eax - 0xc], si
movzx esi, word [ecx + 6]
movzx ebp, word [ecx + 8]
add si, word [ecx + 4]
add bp, word [ecx + 2]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx]
add esi, ebp
add si, word [ecx + 0xa]
mov word [eax - 0xa], si
movzx esi, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
add si, word [ecx + 6]
add bp, word [ecx + 4]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx + 2]
add esi, ebp
add si, word [ecx + 0xc]
mov word [eax - 8], si
movzx esi, word [ecx + 0xa]
movzx ebp, word [ecx + 0xc]
add si, word [ecx + 8]
add bp, word [ecx + 6]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx + 4]
add esi, ebp
add si, word [ecx + 0xe]
mov word [eax - 6], si
movzx esi, word [ecx + 0xc]
movzx ebp, word [ecx + 0xe]
add si, word [ecx + 0xa]
add bp, word [ecx + 8]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx + 6]
add esi, ebp
add si, word [ecx + 0x10]
mov word [eax - 4], si
movzx esi, word [ecx + 0xe]
movzx ebp, word [ecx + 0x10]
add si, word [ecx + 0xc]
add bp, word [ecx + 0xa]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx + 8]
add esi, ebp
add si, word [ecx + 0x12]
mov word [eax - 2], si
movzx esi, word [ecx + 0x10]
movzx ebp, word [ecx + 0x12]
add si, word [ecx + 0xe]
add bp, word [ecx + 0xc]
shl esi, 2
lea ebp, [ebp + ebp*4]
lea esi, [esi + esi*4]
neg ebp
add si, word [ecx + 0xa]
add esi, ebp
add si, word [ecx + 0x14]
add ecx, edi
mov word [eax], si
add eax, edx
dec ebx
jne 0x101002ec
mov eax, dword [esp + 0x74]
mov dword [esp + 0x4c], edx
mov edx, dword [esp + 0x10]
xor ebx, ebx
mov ecx, eax
sar eax, 1
mov esi, ecx
and ecx, 0x7ffffffe
lea ebp, [edx + eax*8]
lea ecx, [edx + ecx*2]
and esi, 0xfffffffe
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x20], ecx
lea ecx, [eax + eax*2]
add esi, edx
lea edi, [edx + ecx*2]
mov dword [esp + 0x30], esi
mov dword [esp + 0x48], edi
lea edi, [eax + ecx*4]
lea ecx, [edx + ecx*4]
add edi, eax
lea eax, [eax + eax*4]
mov dword [esp + 0x44], ecx
lea eax, [edx + eax*2]
add edi, edx
mov dword [esp + 0x28], eax
mov dword [esp + 0x1c], edi
mov eax, dword [esp + 0x50]
mov ebp, dword [esp + 0x4c]
mov dword [esp + 0x54], ebx
lea edx, [eax + ebx]
movsx eax, word [eax + ebx]
lea ecx, [edx + ebp]
add ecx, ebp
mov dword [esp], eax
mov eax, dword [esp + 0x78]
movsx ebx, word [ecx + eax*2]
add ecx, ebp
movsx esi, word [edx + eax*4]
add ecx, ebp
movsx edi, word [ecx + eax*2]
add ecx, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 4], edi
mov edi, ebx
lea edi, [ebx + esi]
mov esi, dword [esp]
mov ebx, dword [esp + 4]
lea edi, [edi + edi*4]
lea esi, [ebx + esi + 0x200]
movsx ebx, word [edx + eax*2]
lea edi, [esi + edi*4]
movsx esi, word [edx + eax*8]
mov dword [esp + 0x24], ebx
mov edx, esi
lea edx, [esi + ebx]
mov dword [esp + 0xc], esi
mov ebx, dword [esp + 0x54]
lea edx, [edx + edx*4]
sub edi, edx
movsx edx, word [ecx + eax*2]
add ecx, ebp
sar edi, 0xa
mov dword [esp + 8], edx
movsx edx, word [ecx + eax*2]
add ecx, ebp
mov dword [esp], edx
movsx edx, word [ecx + eax*2]
add ecx, ebp
mov dword [esp + 0x14], edx
movsx edx, word [ecx + eax*2]
add ecx, ebp
mov dword [esp + 0x3c], edx
movsx edx, word [ecx + eax*2]
add ecx, ebp
movsx esi, word [ecx + eax*2]
add ecx, ebp
movsx ebp, word [ecx + eax*2]
mov ecx, dword [esp + 0x10]
mov eax, 0x200
cmp edi, eax
mov dword [esp + 0x40], esi
movzx ecx, word [ecx + ebx]
mov dword [esp + 0x58], ebp
mov ebp, edx
jb 0x1010056e
neg edi
sar edi, 0x1f
and edi, 0x1ff
lea ecx, [ecx + edi + 1]
mov edi, dword [esp + 0x10]
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x38], ebp
shr ecx, 1
mov word [edi + ebx], cx
mov ecx, dword [esp + 0xc]
lea ecx, [ecx + edx]
mov edx, dword [esp + 8]
lea ecx, [ecx + ecx*4]
lea edi, [edx + esi + 0x200]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0x34]
lea ecx, [edi + ecx*4]
lea edi, [edx + esi]
mov esi, dword [esp + 0x30]
lea edi, [edi + edi*4]
sub ecx, edi
sar ecx, 0xa
movzx edi, word [esi + ebx]
mov esi, 0x200
cmp ecx, esi
jb 0x101005d3
neg ecx
sar ecx, 0x1f
and ecx, 0x1ff
mov esi, dword [esp + 0x30]
lea ecx, [edi + ecx + 1]
mov edx, dword [esp + 4]
mov ebp, dword [esp + 0x14]
shr ecx, 1
mov word [esi + ebx], cx
mov ecx, dword [esp + 0xc]
mov esi, dword [esp]
lea ecx, [edx + ecx]
mov edx, dword [esp + 0x34]
lea ecx, [ecx + ecx*4]
lea edi, [esi + edx + 0x200]
mov edx, dword [esp + 8]
mov esi, dword [esp + 0x18]
lea ecx, [edi + ecx*4]
lea edi, [edx + esi]
mov esi, 0x200
lea edi, [edi + edi*4]
sub ecx, edi
movzx edi, word [eax + ebx]
sar ecx, 0xa
cmp ecx, esi
jb 0x1010062f
neg ecx
sar ecx, 0x1f
and ecx, 0x1ff
lea ecx, [edi + ecx + 1]
mov edx, dword [esp + 4]
mov esi, dword [esp + 0xc]
shr ecx, 1
mov word [eax + ebx], cx
mov eax, dword [esp + 8]
lea ecx, [eax + edx]
mov eax, dword [esp + 0x18]
lea ecx, [ecx + ecx*4]
add eax, ebp
lea ecx, [eax + ecx*4]
mov eax, dword [esp]
lea edi, [eax + esi]
mov eax, dword [esp + 0x48]
mov esi, 0x200
lea edi, [edi + edi*4]
sub ecx, edi
add ecx, 0x200
movzx edi, word [eax + ebx]
sar ecx, 0xa
cmp ecx, esi
jb 0x10100684
neg ecx
sar ecx, 0x1f
and ecx, 0x1ff
lea ecx, [edi + ecx + 1]
mov edi, dword [esp + 0x3c]
lea esi, [ebp + edx]
add edx, 0x200
shr ecx, 1
lea esi, [esi + esi*4]
mov word [eax + ebx], cx
mov eax, dword [esp]
mov ecx, dword [esp + 8]
lea ecx, [eax + ecx]
mov eax, dword [esp + 0xc]
lea ecx, [ecx + ecx*4]
add eax, edi
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x2c]
sub ecx, esi
add ecx, 0x200
sar ecx, 0xa
movzx esi, word [eax + ebx]
mov eax, 0x200
cmp ecx, eax
jb 0x101006dc
neg ecx
sar ecx, 0x1f
and ecx, 0x1ff
mov eax, dword [esp + 0x2c]
lea ecx, [esi + ecx + 1]
add edx, dword [esp + 0x38]
shr ecx, 1
mov word [eax + ebx], cx
mov eax, dword [esp]
lea ecx, [ebp + eax]
lea ecx, [ecx + ecx*4]
lea eax, [edx + ecx*4]
mov edx, dword [esp + 8]
lea ecx, [edi + edx]
add edx, 0x200
lea ecx, [ecx + ecx*4]
sub eax, ecx
mov ecx, dword [esp + 0x28]
sar eax, 0xa
cmp eax, 0x200
movzx ecx, word [ecx + ebx]
jb 0x10100729
neg eax
sar eax, 0x1f
and eax, 0x1ff
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 0x28]
add edx, dword [esp + 0x40]
mov esi, dword [esp + 0x1c]
shr eax, 1
mov word [ecx + ebx], ax
lea eax, [edi + ebp]
mov ecx, dword [esp + 0x38]
mov ebp, dword [esp]
lea eax, [eax + eax*4]
lea eax, [edx + eax*4]
mov edx, dword [esp + 0x44]
mov edi, ecx
lea ecx, [ecx + ebp]
add ebp, 0x200
lea ecx, [ecx + ecx*4]
sub eax, ecx
movzx ecx, word [edx + ebx]
sar eax, 0xa
cmp eax, 0x200
jb 0x1010077b
neg eax
sar eax, 0x1f
and eax, 0x1ff
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 0x40]
add edi, dword [esp + 0x3c]
add ebp, dword [esp + 0x58]
shr eax, 1
mov word [edx + ebx], ax
add ecx, dword [esp + 0x14]
lea eax, [edi + edi*4]
lea eax, [ebp + eax*4]
lea ecx, [ecx + ecx*4]
sub eax, ecx
movzx ecx, word [esi + ebx]
sar eax, 0xa
cmp eax, 0x200
jb 0x101007b9
neg eax
sar eax, 0x1f
and eax, 0x1ff
lea eax, [ecx + eax + 1]
shr eax, 1
mov word [esi + ebx], ax
add ebx, 2
cmp ebx, 0x10
jne 0x1010049a
add esp, 0x5c
pop esi
pop edi
pop ebx
pop ebp
ret