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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c4
push ebx
push esi
mov esi, dword [ebp + 8]
lea edx, [esp + 0xc8]
push edi
lea edi, [esp + 0xa0]
mov dword [esp + 0x28], ecx
push 4
mov al, byte [esi + 4]
mov byte [esp + 0x30], al
movzx eax, al
imul eax, eax, 0xd8
mov word [esp + 0xc0], 0xff00
pop ebx
add eax, 0x100a7a58
mov dword [esp + 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [esp + 0xb0], eax
mov dword [esp + 0xb4], eax
mov dword [esp + 0xb8], eax
mov dword [esp + 0xc0], eax
mov dword [edx - 8], eax
lea edi, [edx + 0x18]
mov dword [edx - 4], eax
mov dword [edx], eax
lea edx, [edx + 0x40]
mov dword [edx - 0x3c], eax
mov dword [edx - 0x38], eax
mov dword [edx - 0x34], eax
mov byte [edx - 0x30], al
mov byte [edx - 0x2f], al
mov dword [edx - 0x2e], eax
push 8
mov word [edx - 0x2a], ax
or eax, 0xffffffff
pop ecx
push 0
rep stosd dword es:[edi], eax
pop eax
sub ebx, 1
jne 0x100719df
push dword [esp + 0x2c]
lea ecx, [esp + 0xa4]
call fcn.1007186a
test eax, eax
jne 0x1007220d
lea eax, [esp + 0xa0]
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0xb8]
push esi
call fcn.10072216
test eax, eax
jne 0x1007220d
movzx eax, byte [esp + 0xbd]
mov edx, dword [esp + 0x14]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
movzx eax, byte [edx]
mov ebx, eax
mov dword [esp + 0x18], eax
mov al, byte [esi + 0xd]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], ebx
cmp al, byte [esi + 0xa]
jb 0x10071ab3
mov eax, dword [esi]
shr eax, 4
test al, 1
je 0x10071a98
movzx ebx, byte [edx + 1]
jmp 0x10071aaf
mov eax, dword [esp + 0x34]
cmp eax, edi
jae 0x10071aa9
mov al, byte [esp + eax*8 + 0x1c6]
jmp 0x10071aac
mov al, byte [esi + 6]
movzx ebx, al
mov dword [esp + 0x30], ebx
cmp byte [esp + 0xbb], 0
je 0x10071d11
movzx eax, byte [esi + 5]
cmp ebx, eax
jne 0x10071ace
mov edx, dword [esi + 0x24]
jmp 0x10071ad1
mov edx, dword [esi + 0x28]
mov eax, ecx
mov dword [esp + 0x5c], ebx
shr eax, 3
xor ebx, ebx
and eax, 0x1f
mov dword [esp + 0x60], ebx
shl eax, 3
mov edi, ebx
or eax, 2
mov dword [esp + 0x64], edx
mov dword [esp + 0x58], eax
mov eax, ecx
shr eax, 3
and eax, 0x1f
mov dword [esp + 0x84], ebx
shl eax, 3
or eax, 2
mov dword [esp + 0x88], ebx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x18]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10071d0b
lea esi, [esp + 0x1c6]
mov edx, dword [esi + edi*8 + 2]
mov ecx, edx
shr ecx, 9
test cl, 1
je 0x10071cf1
sar edx, 0xc
lea ecx, [esp + 0x7c]
mov eax, edx
mov dword [esp + 0x48], 1
cdq
push edx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x54], 0xff
push eax
mov dword [esp + 0x5c], ebx
mov dword [esp + 0x60], ebx
call fcn.10071810
mov ebx, dword [esp + edi*8 + 0x1c4]
lea ecx, [esp + 0x58]
mov eax, ebx
sar eax, 0xc
cdq
push edx
push eax
lea eax, [esp + 0x70]
push eax
call fcn.10071810
mov ecx, ebx
shr ecx, 0xa
and cl, 1
je 0x10071bb0
mov eax, ebx
shr eax, 9
test al, 1
jne 0x10072040
movzx eax, byte [esi + edi*8]
mov dword [esp + 0x6c], eax
shr ebx, 8
test bl, 1
je 0x10071c04
test cl, cl
jne 0x10071c04
movzx eax, byte [esi + edi*8 + 1]
lea esi, [esp + 0xc4]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + eax*4 + 0x14]
mov eax, edx
shr eax, 8
and eax, 0xf
mov dword [esp + 0x48], edx
shl eax, 6
add esi, eax
lea eax, [esp + 0x1c6]
movzx ecx, byte [eax + edi*8]
mov dword [esp + 0x4c], ecx
mov byte [ecx + esi + 0x20], 0xff
mov eax, dword [esi + 0xc]
btc eax, ecx
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x28]
jmp 0x10071c7b
mov al, byte [esp + edi*8 + 0x1c8]
mov bl, byte [esp + edi*8 + 0x1c4]
mov dl, al
mov cl, byte [esp + 0x2c]
push ebx
mov dword [esp + 0x1c], eax
call fcn.100718bd
pop ecx
test eax, eax
je 0x10071d03
mov ecx, eax
shr ecx, 8
and ecx, 0xf
shl ecx, 6
mov edx, dword [esp + ecx + 0xd0]
not edx
and edx, dword [esp + ecx + 0xc8]
je 0x10071d03
mov esi, dword [esp + 0x28]
bsf ecx, edx
push 0
mov dword [esp + 0x50], ecx
lea ecx, [esp + 0x6c]
push ebx
push ecx
push dword [esp + 0x24]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x58]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
test eax, eax
jne 0x1007220d
mov ecx, dword [esp + edi*8 + 0x1c4]
mov eax, ecx
shr eax, 0xa
test al, 1
je 0x10071cb4
shr ecx, 8
test cl, 1
je 0x10071cb4
movzx ecx, byte [esp + edi*8 + 0x1c6]
mov byte [esp + ecx + 0xe4], 0xff
mov eax, dword [esp + 0xd0]
btc eax, ecx
mov dword [esp + 0xd0], eax
movzx eax, byte [esp + edi*8 + 0x1c4]
xor ebx, ebx
mov edx, dword [esi]
mov ecx, esi
push ebx
push eax
lea eax, [esp + 0x50]
push eax
lea eax, [esp + 0x9c]
push eax
call dword [edx]
test eax, eax
jne 0x1007220d
or dword [esp + edi*8 + 0x1c4], 0x800
lea esi, [esp + 0x1c6]
mov eax, dword [esp + 0x1c]
inc edi
cmp edi, eax
jb 0x10071b31
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x1c]
jmp 0x10071d0d
push 3
pop eax
jmp 0x1007220d
mov edi, eax
mov edx, dword [esp + 0x14]
xor ebx, ebx
and dword [esp + 0x3c], 0
test edi, edi
je 0x1007201e
lea edi, [esp + 0x1cb]
jmp 0x10071d2d
mov edx, dword [esp + 0x14]
mov ecx, dword [edi - 7]
mov eax, ecx
shr eax, 0xb
test al, 1
jne 0x10072004
shr ecx, 8
test cl, 1
je 0x10072004
mov al, byte [edi - 4]
movzx ecx, byte [edi - 5]
mov byte [esp + 0x22], al
movzx eax, al
mov dword [esp + 0x24], ecx
movzx ecx, byte [edi - 1]
mov dword [esp + 0x10], ecx
mov eax, dword [edx + eax*4 + 0x14]
mov dword [esp + 0x8c], eax
shr eax, 8
and eax, 0xffffff0f
mov dword [esp + 0x78], eax
movzx eax, byte [edi]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, eax
shr edx, 8
and dl, 0xf
cmp byte [esp + 0x78], dl
jne 0x10072040
mov esi, dword [ebp + 8]
movzx ecx, dl
lea edx, [esp + 0xc4]
shl ecx, 6
add ecx, edx
xor edx, edx
mov dword [esp + 0x38], ecx
inc edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x10]
shl edx, cl
test dword [esp + 0x18], edx
je 0x10071f46
mov edx, dword [esp + 0x38]
mov cl, byte [edx + ecx + 0x20]
mov byte [esp + 0x23], cl
movzx ecx, cl
mov dword [esp + 0x18], ecx
mov edx, dword [esp + ecx*8 + 0x1c8]
test edx, edx
mov dword [esp + 0x2c], edx
mov edx, dword [esp + 0x38]
je 0x10071e0b
shr dword [esp + 0x2c], 8
test byte [esp + 0x2c], 1
je 0x10071e03
movzx ecx, byte [esp + ecx*8 + 0x1ca]
cmp ecx, dword [esp + 0x24]
je 0x10071e0b
or ebx, 2
jmp 0x10072004
mov ecx, dword [esp + 0x78]
mov esi, dword [esp + 0x14]
movzx ecx, cl
test byte [ecx + esi + 0x10], 1
mov esi, dword [ebp + 8]
je 0x10071f1a
mov ecx, dword [esp + 0x18]
movzx edx, byte [esp + 0x22]
push 6
mov cl, byte [esp + ecx*8 + 0x1cb]
cmp byte [esp + 0x26], cl
movzx eax, cl
cmovb edx, eax
movzx ecx, dl
lea eax, [edx - 3]
cmp al, 2
pop edx
cmovbe ecx, edx
xor edx, edx
movzx eax, cl
mov ecx, dword [esp + 0x14]
push edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + eax*4 + 0x14]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x80], eax
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
lea edx, [esp + 0x5c]
mov dword [esp + 0x60], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x84]
push edx
call dword [eax + 4]
test eax, eax
jne 0x1007220d
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
mov cl, byte [esp + 0x23]
mov byte [eax + edx + 0x20], cl
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x3c]
mov byte [eax + ecx + 0x20], dl
mov edx, 0xff00ffff
mov eax, dword [edi - 7]
and eax, edx
shl ecx, 0x10
or eax, ecx
mov ecx, dword [esp + 0x18]
or eax, 0x800
mov dword [edi - 7], eax
mov eax, dword [esp + ecx*8 + 0x1c4]
and eax, edx
mov edx, dword [esp + 0x24]
shl edx, 0x10
or eax, edx
mov dword [esp + ecx*8 + 0x1c4], eax
cmp dword [esp + ecx*8 + 0x1c8], 0
je 0x10071f12
or eax, 0x800
mov dword [esp + ecx*8 + 0x1c4], eax
or ebx, 1
jmp 0x10072004
mov ecx, dword [edx + 0xc]
not ecx
mov dword [esp + 0x18], ecx
test dword [edx + 4], ecx
je 0x10071e03
mov ecx, dword [edx + 0x10]
or ecx, dword [edx + 0xc]
not ecx
test dword [edx + 4], ecx
cmove ecx, dword [esp + 0x18]
and ecx, dword [edx + 4]
bsf ecx, ecx
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 0x8c]
xor edx, edx
mov dword [esp + 0x48], ecx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x4c], ecx
mov cl, byte [edi - 3]
mov byte [esp + 0x40], cl
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x68], eax
movzx eax, byte [edi - 7]
push 0
push eax
mov dword [esp + 0x74], ecx
lea eax, [esp + 0x50]
mov ecx, dword [esp + 0x30]
push eax
push dword [esp + 0x4c]
mov dword [esp + 0x60], edx
lea eax, [esp + 0x78]
mov dword [esp + 0x64], edx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edx
mov edx, dword [ecx]
push eax
call dword [edx + 8]
test eax, eax
jne 0x1007220d
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x24]
mov edx, dword [esp + 0x10]
mov esi, dword [esp + 0x24]
mov byte [ecx + eax + 0x20], 0xff
mov eax, dword [esp + 0x3c]
mov byte [ecx + edx + 0x20], al
mov eax, dword [ecx + 0xc]
btc eax, edx
btc eax, esi
mov esi, dword [ebp + 8]
mov dword [ecx + 0xc], eax
movzx ecx, byte [edi]
movzx eax, byte [edi - 3]
shl ecx, 8
or ecx, edx
shl ecx, 0x10
or ecx, eax
or ecx, 0x100
mov dword [edi - 7], ecx
movzx eax, byte [edi - 1]
cmp edx, eax
jne 0x10072001
or ecx, 0x800
mov dword [edi - 7], ecx
or ebx, 3
mov eax, dword [esp + 0x3c]
add edi, 8
inc eax
mov dword [esp + 0x3c], eax
cmp eax, dword [esp + 0x1c]
jb 0x10071d29
mov edi, dword [esp + 0x1c]
test bl, 2
je 0x10072047
mov eax, ebx
and al, 5
cmp al, 4
je 0x10071d03
mov edx, dword [esp + 0x14]
shl ebx, 2
not ebx
and ebx, 4
jmp 0x10071d13
push 0x19
jmp 0x10071d05
cmp byte [esp + 0xb9], 0
je 0x1007220b
mov al, byte [esi + 0xd]
xor edx, edx
inc edx
mov dword [esp + 0x10], edx
cmp al, byte [esi + 0xa]
jb 0x10072088
mov eax, dword [esi]
shr eax, 4
test dl, al
jne 0x10072088
mov eax, dword [esp + 0x34]
cmp eax, edi
jae 0x1007207e
mov al, byte [esp + eax*8 + 0x1c6]
jmp 0x10072081
mov al, byte [esi + 6]
movzx eax, al
mov dword [esp + 0x30], eax
movzx eax, byte [esi + 5]
mov ebx, dword [esp + 0x30]
cmp ebx, eax
jne 0x10072099
mov ecx, dword [esi + 0x24]
jmp 0x1007209c
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x44]
and dword [esp + 0x70], 0
shr eax, 3
and eax, 0x1f
mov dword [esp + 0x6c], ebx
shl eax, 3
or eax, 2
mov dword [esp + 0x74], ecx
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x34], eax
xor ebx, ebx
test edi, edi
je 0x100721fe
mov ecx, dword [esp + ebx*8 + 0x1c4]
mov eax, ecx
shr eax, 0xb
test al, 1
jne 0x100721ed
shr ecx, 9
test cl, 1
je 0x100721ed
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0xc4]
movzx esi, byte [esp + ebx*8 + 0x1cb]
movzx edi, byte [esp + ebx*8 + 0x1ca]
mov edx, dword [eax + esi*4 + 0x14]
shr edx, 8
and dl, 0xf
movzx eax, dl
shl eax, 6
add ecx, eax
mov dword [esp + 0x40], ecx
cmp edi, dword [esp + 0x30]
jne 0x1007214d
test dl, dl
jne 0x1007214d
cmp dword [esp + 0x10], 1
jne 0x1007213f
mov edi, dword [esp + 0x1c]
push 2
pop edx
mov dword [esp + 0x10], edx
jmp 0x100721f1
mov byte [ecx + edi + 0x20], 0xff
mov eax, dword [ecx + 0xc]
btc eax, edi
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x68]
mov eax, dword [eax + esi*4 + 0x14]
and dword [esp + 0x60], 0
and dword [esp + 0x64], 0
mov dword [esp + 0x58], eax
mov eax, dword [esp + ebx*8 + 0x1c4]
sar eax, 0xc
cdq
push edx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x64], edi
push eax
call fcn.10071810
mov al, byte [esp + ebx*8 + 0x1c8]
mov ecx, dword [esp + 0x28]
mov byte [esp + 0x44], al
movzx eax, byte [esp + ebx*8 + 0x1c4]
push 0
mov edx, dword [ecx]
push eax
lea eax, [esp + 0x98]
push eax
push dword [esp + 0x50]
lea eax, [esp + 0x68]
push eax
call dword [edx + 8]
test eax, eax
jne 0x1007220d
mov ecx, dword [esp + 0x40]
shl esi, 8
or esi, edi
shl esi, 0x10
mov byte [ecx + edi + 0x20], bl
mov eax, dword [ecx + 0xc]
btc eax, edi
mov edi, dword [esp + 0x1c]
mov dword [ecx + 0xc], eax
movzx eax, byte [esp + ebx*8 + 0x1c4]
or esi, eax
or esi, 0x900
mov dword [esp + ebx*8 + 0x1c4], esi
mov edx, dword [esp + 0x10]
inc ebx
cmp ebx, edi
jb 0x100720cd
mov eax, dword [esp + 0x34]
inc eax
mov dword [esp + 0x34], eax
cmp eax, edx
jb 0x100720c3
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8