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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x60
mov edi, dword [esp + 0x80]
mov dword [esp + 0x1c], ecx
mov esi, dword [esp + 0x7c]
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x54], edx
lea ebx, [edx + 0xe]
mov ebp, 0xd
shr edi, 1
lea edx, [esi + esi]
lea eax, [edi*4]
add edi, edi
sub ecx, eax
movzx eax, word [ecx + 2]
movzx esi, word [ecx + 4]
add ax, word [ecx]
add si, word [ecx - 2]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx - 4]
add eax, esi
add ax, word [ecx + 6]
add eax, 0xffffd80a
mov word [ebx - 0xe], ax
movzx eax, word [ecx + 4]
movzx esi, word [ecx + 6]
add ax, word [ecx + 2]
add si, word [ecx]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx - 2]
add eax, esi
add ax, word [ecx + 8]
add eax, 0xffffd80a
mov word [ebx - 0xc], ax
movzx eax, word [ecx + 6]
movzx esi, word [ecx + 8]
add ax, word [ecx + 4]
add si, word [ecx + 2]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx]
add eax, esi
add ax, word [ecx + 0xa]
add eax, 0xffffd80a
mov word [ebx - 0xa], ax
movzx eax, word [ecx + 8]
movzx esi, word [ecx + 0xa]
add ax, word [ecx + 6]
add si, word [ecx + 4]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx + 2]
add eax, esi
add ax, word [ecx + 0xc]
add eax, 0xffffd80a
mov word [ebx - 8], ax
movzx eax, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
add ax, word [ecx + 8]
add si, word [ecx + 6]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx + 4]
add eax, esi
add ax, word [ecx + 0xe]
add eax, 0xffffd80a
mov word [ebx - 6], ax
movzx eax, word [ecx + 0xc]
movzx esi, word [ecx + 0xe]
add ax, word [ecx + 0xa]
add si, word [ecx + 8]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx + 6]
add eax, esi
add ax, word [ecx + 0x10]
add eax, 0xffffd80a
mov word [ebx - 4], ax
movzx eax, word [ecx + 0xe]
movzx esi, word [ecx + 0x10]
add ax, word [ecx + 0xc]
add si, word [ecx + 0xa]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx + 8]
add eax, esi
add ax, word [ecx + 0x12]
add eax, 0xffffd80a
mov word [ebx - 2], ax
movzx eax, word [ecx + 0x10]
movzx esi, word [ecx + 0x12]
add ax, word [ecx + 0xe]
add si, word [ecx + 0xc]
shl eax, 2
lea esi, [esi + esi*4]
lea eax, [eax + eax*4]
neg esi
add ax, word [ecx + 0xa]
add eax, esi
add ax, word [ecx + 0x14]
add ecx, edi
add eax, 0xffffd80a
mov word [ebx], ax
add ebx, edx
dec ebp
jne 0x101022fd
mov eax, dword [esp + 0x78]
mov dword [esp + 0x50], edx
mov edx, dword [esp + 0x1c]
mov esi, eax
sar eax, 1
mov ecx, esi
and esi, 0x7ffffffe
lea ebp, [edx + eax*8]
and ecx, 0xfffffffe
mov dword [esp + 0x2c], ebp
add ecx, edx
mov dword [esp + 0x34], ecx
lea ecx, [edx + esi*2]
mov dword [esp + 0x30], ecx
lea ecx, [eax + eax*2]
lea edi, [eax + ecx*4]
lea esi, [edx + ecx*2]
lea ecx, [edx + ecx*4]
add edi, eax
lea eax, [eax + eax*4]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x4c], esi
lea eax, [edx + eax*2]
add edi, edx
xor edx, edx
mov dword [esp + 0x48], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x54]
mov ecx, edx
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x50]
lea edx, [eax + edx]
movsx eax, word [eax + ecx]
mov ecx, dword [esp + 0x7c]
mov dword [esp], eax
lea eax, [edx + ebx]
movsx esi, word [edx + ecx*4]
add eax, ebx
movsx ebp, word [eax + ecx*2]
add eax, ebx
add eax, ebx
movsx edi, word [eax + ecx*2]
mov dword [esp + 0x10], esi
add eax, ebx
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x14], edi
lea edi, [ebp + esi + 0x4fec]
mov ebp, dword [esp]
mov esi, dword [esp + 0x14]
lea edi, [edi + edi*4]
lea esi, [ebp + esi + 0x27f6]
lea ebp, [esi + edi*4]
movsx edi, word [edx + ecx*8]
movsx esi, word [edx + ecx*2]
lea edx, [edi + esi + 0x4fec]
mov dword [esp + 0x58], edi
lea edx, [edx + edx*4]
sub ebp, edx
movsx edx, word [eax + ecx*2]
add eax, ebx
add ebp, 0x29f6
sar ebp, 0xa
mov dword [esp + 0x20], edx
movsx edx, word [eax + ecx*2]
add eax, ebx
mov dword [esp + 0x40], edx
movsx edx, word [eax + ecx*2]
add eax, ebx
mov dword [esp], edx
movsx edx, word [eax + ecx*2]
add eax, ebx
mov dword [esp + 8], edx
movsx edx, word [eax + ecx*2]
add eax, ebx
mov dword [esp + 0x18], edx
movsx edx, word [eax + ecx*2]
add eax, ebx
cmp ebp, 0x400
movsx ebx, word [eax + ecx*2]
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x24], edx
mov edx, dword [esp + 4]
lea eax, [eax + 0x27f6]
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x38], eax
lea eax, [esi + 0x27f6]
lea esi, [edi + 0x27f6]
lea edi, [ecx + 0x27f6]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x3c]
movzx ecx, word [ecx + edx]
lea eax, [eax + 0x27f6]
jb 0x101025da
neg ebp
sar ebp, 0x1f
and ebp, 0x3ff
mov edx, dword [esp + 0x20]
lea ecx, [ecx + ebp + 1]
mov ebp, dword [esp + 0x1c]
shr ecx, 1
lea ebx, [edx + 0x27f6]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 4]
mov word [ebp + ebx], cx
mov ebp, dword [esp + 0xc]
lea ecx, [esi + eax]
lea ecx, [ecx + ecx*4]
lea ebp, [edx + ebp + 0x29f6]
lea ebp, [ebp + ecx*4]
mov ecx, dword [esp + 0x38]
lea ecx, [edi + ecx]
lea ecx, [ecx + ecx*4]
sub ebp, ecx
mov ecx, dword [esp + 0x34]
sar ebp, 0xa
cmp ebp, 0x400
movzx ecx, word [ecx + ebx]
jb 0x1010263a
neg ebp
sar ebp, 0x1f
and ebp, 0x3ff
lea ecx, [ecx + ebp + 1]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x34]
mov dword [esp + 0xc], edi
mov edx, dword [esp + 0x40]
add dword [esp], 0x27f6
shr ecx, 1
mov word [ebp + ebx], cx
mov ecx, edi
lea ecx, [edi + esi]
mov edi, dword [esp + 0x38]
lea ecx, [ecx + ecx*4]
add edi, edx
lea ebp, [edi + ecx*4]
lea edi, [edx + 0x27f6]
mov edx, dword [esp + 0x10]
add eax, edx
lea eax, [eax + eax*4]
sub ebp, eax
mov eax, dword [esp + 0x30]
add ebp, 0x29f6
sar ebp, 0xa
cmp ebp, 0x400
movzx eax, word [eax + ebx]
jb 0x101026a2
neg ebp
sar ebp, 0x1f
and ebp, 0x3ff
mov ecx, dword [esp + 0x30]
mov ebx, dword [esp + 4]
lea eax, [eax + ebp + 1]
add esi, edi
add dword [esp + 8], 0x27f6
shr eax, 1
mov word [ecx + ebx], ax
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
add ecx, dword [esp]
lea eax, [edx + eax]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea ecx, [esi + esi*4]
mov esi, dword [esp + 0x4c]
sub eax, ecx
add eax, 0x29f6
sar eax, 0xa
movzx ecx, word [esi + ebx]
cmp eax, 0x400
jb 0x101026f8
neg eax
sar eax, 0x1f
and eax, 0x3ff
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 0x58]
mov ebx, dword [esp + 4]
mov ebp, dword [esp + 0x2c]
add dword [esp + 0x18], 0x27f6
shr eax, 1
add ecx, dword [esp + 8]
mov word [esi + ebx], ax
lea eax, [edi + edx]
lea eax, [eax + eax*4]
movzx edx, word [ebp + ebx]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0xc]
add ecx, dword [esp]
lea ecx, [ecx + ecx*4]
sub eax, ecx
add eax, 0x29f6
sar eax, 0xa
cmp eax, 0x400
jb 0x1010274d
neg eax
sar eax, 0x1f
and eax, 0x3ff
mov ebx, dword [esp + 4]
lea eax, [edx + eax + 1]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x48]
add dword [esp + 0x24], 0x27f6
add dword [esp + 0x20], 0x29f6
shr eax, 1
mov word [ebp + ebx], ax
mov eax, dword [esp]
add ecx, dword [esp + 0x18]
lea eax, [eax + edi]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x10]
add ecx, dword [esp + 8]
lea ecx, [ecx + ecx*4]
sub eax, ecx
movzx ecx, word [edx + ebx]
add eax, 0x29f6
sar eax, 0xa
cmp eax, 0x400
jb 0x101027ae
neg eax
sar eax, 0x1f
and eax, 0x3ff
mov ebx, dword [esp + 4]
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 8]
add edi, dword [esp + 0x18]
shr eax, 1
mov word [edx + ebx], ax
mov eax, dword [esp]
mov edx, dword [esp + 0x44]
lea eax, [ecx + eax]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
add ecx, dword [esp + 0x24]
lea eax, [ecx + eax*4]
lea ecx, [edi + edi*4]
sub eax, ecx
movzx ecx, word [edx + ebx]
sar eax, 0xa
cmp eax, 0x400
jb 0x101027f9
neg eax
sar eax, 0x1f
and eax, 0x3ff
lea eax, [ecx + eax + 1]
mov ecx, dword [esp + 4]
mov ebx, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
shr eax, 1
mov word [edx + ecx], ax
mov eax, dword [esp + 0x18]
mov edx, ecx
mov ecx, dword [esp + 0x40]
add ebx, dword [esp]
add eax, dword [esp + 8]
add ecx, dword [esp + 0x5c]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea ecx, [ebx + ebx*4]
sub eax, ecx
movzx ecx, word [edi + edx]
add eax, 0x51ec
sar eax, 0xa
cmp eax, 0x400
jb 0x1010284c
neg eax
sar eax, 0x1f
and eax, 0x3ff
lea eax, [ecx + eax + 1]
shr eax, 1
mov word [edi + edx], ax
add edx, 2
cmp edx, 0x10
jne 0x101024cb
add esp, 0x60
pop esi
pop edi
pop ebx
pop ebp
ret