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

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x58
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x18], ecx
mov eax, dword [esp + 0x74]
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x50], edx
lea edi, [edx + 0x1c]
shr ebx, 1
lea edx, [eax*4]
lea esi, [ebx*4]
add ebx, ebx
mov dword [esp], ebx
sub ecx, esi
mov ebx, 0xd
movzx esi, word [ecx]
movzx ebp, word [ecx + 2]
movzx eax, word [ecx + 4]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx - 2]
add eax, ebp
movzx ebp, word [ecx - 4]
lea eax, [eax + eax*4]
lea esi, [ebp + esi*4]
movzx ebp, word [ecx + 6]
sub esi, eax
add esi, ebp
mov dword [edi - 0x1c], esi
movzx eax, word [ecx + 2]
movzx esi, word [ecx + 4]
movzx ebp, word [ecx + 6]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx - 2]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 8]
sub eax, esi
add eax, ebp
mov dword [edi - 0x18], eax
movzx eax, word [ecx + 4]
movzx esi, word [ecx + 6]
movzx ebp, word [ecx + 8]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 2]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0xa]
sub eax, esi
add eax, ebp
mov dword [edi - 0x14], eax
movzx eax, word [ecx + 6]
movzx esi, word [ecx + 8]
movzx ebp, word [ecx + 0xa]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 4]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 2]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0xc]
sub eax, esi
add eax, ebp
mov dword [edi - 0x10], eax
movzx eax, word [ecx + 8]
movzx esi, word [ecx + 0xa]
movzx ebp, word [ecx + 0xc]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 6]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 4]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0xe]
sub eax, esi
add eax, ebp
mov dword [edi - 0xc], eax
movzx eax, word [ecx + 0xa]
movzx esi, word [ecx + 0xc]
movzx ebp, word [ecx + 0xe]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 8]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 6]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0x10]
sub eax, esi
add eax, ebp
mov dword [edi - 8], eax
movzx eax, word [ecx + 0xc]
movzx esi, word [ecx + 0xe]
movzx ebp, word [ecx + 0x10]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 0xa]
add ebp, esi
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 8]
lea eax, [ebp + eax*4]
movzx ebp, word [ecx + 0x12]
sub eax, esi
add eax, ebp
mov dword [edi - 4], eax
movzx eax, word [ecx + 0xe]
movzx esi, word [ecx + 0x10]
movzx ebp, word [ecx + 0x12]
add esi, eax
lea eax, [esi + esi*4]
movzx esi, word [ecx + 0xc]
add ebp, esi
movzx esi, word [ecx + 0xa]
lea eax, [esi + eax*4]
lea esi, [ebp + ebp*4]
movzx ebp, word [ecx + 0x14]
add ecx, dword [esp]
sub eax, esi
add eax, ebp
mov dword [edi], eax
add edi, edx
dec ebx
jne 0x1010426b
mov eax, dword [esp + 0x70]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x18]
mov esi, eax
sar eax, 1
mov ecx, esi
and esi, 0x7ffffffe
and ecx, 0xfffffffe
lea ebp, [edx + esi*2]
add ecx, edx
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], ecx
lea ecx, [eax + eax*2]
lea edi, [eax + ecx*4]
lea esi, [edx + ecx*2]
lea ebx, [edx + ecx*4]
xor ecx, ecx
add edi, eax
mov dword [esp + 0x4c], esi
lea esi, [edx + eax*8]
lea eax, [eax + eax*4]
mov dword [esp + 0x34], ebx
lea eax, [edx + eax*2]
add edi, edx
mov edx, dword [esp + 0x14]
mov dword [esp + 0x48], esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x28], edi
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x74]
mov dword [esp], ecx
lea eax, [eax + ecx*2]
lea ecx, [eax + edx]
mov ebp, dword [eax + ebx*8]
mov dword [esp + 4], eax
add ecx, edx
lea eax, [ecx + edx]
mov edi, dword [ecx + ebx*4]
mov dword [esp + 8], ecx
add eax, edx
mov ecx, dword [eax + ebx*4]
mov dword [esp + 0x40], ebp
add eax, edx
mov esi, edi
lea esi, [edi + ebp]
mov dword [esp + 0x20], edi
lea esi, [esi + esi*4]
lea ebp, [ecx + 0x200]
mov edi, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x30], ebp
mov edi, dword [ecx]
add edi, ebp
lea ebp, [edi + esi*4]
mov esi, dword [ecx + ebx*4]
mov ecx, dword [esp + 8]
mov edi, dword [ecx + ebx*8]
lea ecx, [edi + esi]
lea ecx, [ecx + ecx*4]
sub ebp, ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
sar ebp, 0xa
mov dword [esp + 4], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 8], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 0x1c], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 0x10], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov dword [esp + 0x24], ecx
mov ecx, dword [eax + ebx*4]
add eax, edx
mov edx, dword [esp]
cmp ebp, 0x1000
mov dword [esp + 0x44], ecx
mov ecx, dword [eax + ebx*4]
mov eax, dword [esp + 0x18]
movzx eax, word [eax + edx]
jb 0x101044ff
neg ebp
sar ebp, 0x1f
and ebp, 0xfff
lea eax, [eax + ebp + 1]
mov ebp, dword [esp + 0x18]
mov ebx, dword [esp]
mov edx, dword [esp + 0x40]
mov dword [esp + 0x54], ecx
shr eax, 1
mov word [ebp + ebx], ax
mov eax, dword [esp + 0x20]
mov ebp, dword [esp + 4]
lea eax, [edi + eax]
lea esi, [ebp + esi + 0x200]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0xc]
lea esi, [esi + edx]
lea esi, [esi + esi*4]
sub eax, esi
mov esi, dword [esp + 0x3c]
sar eax, 0xa
cmp eax, 0x1000
movzx esi, word [esi + ebx]
jb 0x10104559
neg eax
sar eax, 0x1f
and eax, 0xfff
lea eax, [esi + eax + 1]
mov ebx, dword [esp]
mov esi, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
shr eax, 1
mov word [esi + ebx], ax
mov eax, dword [esp + 0xc]
mov esi, dword [esp + 8]
lea eax, [eax + edi]
lea esi, [esi + ecx + 0x200]
mov ecx, dword [esp + 4]
lea eax, [eax + eax*4]
lea eax, [esi + eax*4]
mov esi, dword [esp + 0x20]
lea esi, [ecx + esi]
lea esi, [esi + esi*4]
sub eax, esi
movzx esi, word [edx + ebx]
sar eax, 0xa
cmp eax, 0x1000
jb 0x101045b6
neg eax
sar eax, 0x1f
and eax, 0xfff
mov ebx, dword [esp]
lea eax, [esi + eax + 1]
mov ecx, dword [esp + 0xc]
mov esi, dword [esp + 8]
shr eax, 1
mov word [edx + ebx], ax
mov eax, dword [esp + 4]
lea esi, [esi + edi]
lea esi, [esi + esi*4]
lea eax, [eax + ecx]
mov ecx, dword [esp + 0x20]
lea eax, [eax + eax*4]
add ecx, ebp
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 0x4c]
sub eax, esi
add eax, 0x200
sar eax, 0xa
movzx esi, word [ecx + ebx]
cmp eax, 0x1000
jb 0x10104607
neg eax
sar eax, 0x1f
and eax, 0xfff
mov ebx, dword [esp]
lea eax, [esi + eax + 1]
add edi, dword [esp + 0x10]
shr eax, 1
mov word [ecx + ebx], ax
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
lea eax, [eax + ecx]
mov ecx, dword [esp + 0xc]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
mov edi, dword [esp + 0x48]
add ecx, ebp
lea edx, [ecx + ecx*4]
sub eax, edx
movzx edx, word [edi + ebx]
add eax, 0x200
sar eax, 0xa
cmp eax, 0x1000
jb 0x10104655
neg eax
sar eax, 0x1f
and eax, 0xfff
mov ebx, dword [esp]
lea eax, [edx + eax + 1]
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x10]
shr eax, 1
mov word [edi + ebx], ax
mov eax, dword [esp + 8]
add ecx, dword [esp + 0x24]
lea eax, [ebp + eax]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, dword [esp + 4]
lea edx, [edx + ecx]
add ecx, 0x200
lea edx, [edx + edx*4]
sub eax, edx
mov edx, dword [esp + 0x38]
sar eax, 0xa
cmp eax, 0x1000
movzx edx, word [edx + ebx]
jb 0x101046aa
neg eax
sar eax, 0x1f
and eax, 0xfff
lea eax, [edx + eax + 1]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp]
mov esi, dword [esp + 0x24]
add ecx, dword [esp + 0x44]
shr eax, 1
mov word [edx + ebx], ax
mov eax, dword [esp + 0x10]
lea eax, [eax + ebp]
mov ebp, dword [esp + 8]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
lea edx, [esi + ebp]
add ebp, 0x200
lea edx, [edx + edx*4]
sub eax, edx
mov edx, dword [esp + 0x34]
sar eax, 0xa
cmp eax, 0x1000
movzx edx, word [edx + ebx]
mov ebx, ebp
jb 0x10104700
neg eax
sar eax, 0x1f
and eax, 0xfff
lea eax, [edx + eax + 1]
mov ecx, dword [esp + 0x34]
mov edx, dword [esp]
add ebx, dword [esp + 0x54]
mov edi, dword [esp + 0x28]
shr eax, 1
mov word [ecx + edx], ax
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x44]
add eax, dword [esp + 0x10]
add ecx, dword [esp + 0x1c]
lea eax, [eax + eax*4]
lea ecx, [ecx + ecx*4]
lea eax, [ebx + eax*4]
sub eax, ecx
movzx ecx, word [edi + edx]
sar eax, 0xa
cmp eax, 0x1000
jb 0x1010474c
neg eax
sar eax, 0x1f
and eax, 0xfff
lea eax, [ecx + eax + 1]
mov ecx, dword [esp]
mov edx, dword [esp + 0x14]
shr eax, 1
mov word [edi + ecx], ax
add ecx, 2
cmp ecx, 0x10
jne 0x1010443d
add esp, 0x58
pop esi
pop edi
pop ebx
pop ebp
ret