Function at 0x100706da
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 + 0x24], ecx
push 4
mov al, byte [esi + 4]
mov byte [esp + 0x2c], al
movzx eax, al
imul eax, eax, 0xd8
mov word [esp + 0xc0], 0xff00
pop ebx
add eax, 0x100a68c0
mov dword [esp + 0x10], 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 0x10070748
push dword [esp + 0x28]
lea ecx, [esp + 0xa4]
call fcn.100705d3
test eax, eax
jne 0x10070f77
lea eax, [esp + 0xa0]
push eax
push dword [ebp + 0xc]
lea ecx, [esp + 0xb8]
push esi
call fcn.10070f80
test eax, eax
jne 0x10070f77
movzx eax, byte [esp + 0xbd]
mov edx, dword [esp + 0x10]
mov edi, dword [esp + 0xc0]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x18], edi
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x40]
movzx eax, byte [edx]
mov ebx, eax
mov dword [esp + 0x14], eax
mov al, byte [esi + 0xd]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x2c], ebx
cmp al, byte [esi + 0xa]
jb 0x1007081c
mov eax, dword [esi]
shr eax, 4
test al, 1
je 0x10070801
movzx ebx, byte [edx + 1]
jmp 0x10070818
mov eax, dword [esp + 0x30]
cmp eax, edi
jae 0x10070812
mov al, byte [esp + eax*8 + 0x1c6]
jmp 0x10070815
mov al, byte [esi + 6]
movzx ebx, al
mov dword [esp + 0x2c], ebx
cmp byte [esp + 0xbb], 0
je 0x10070a72
movzx eax, byte [esi + 5]
cmp ebx, eax
jne 0x10070837
mov edx, dword [esi + 0x24]
jmp 0x1007083a
mov edx, dword [esi + 0x28]
mov eax, ecx
mov dword [esp + 0x60], ebx
shr eax, 3
xor ebx, ebx
and eax, 0x1f
mov dword [esp + 0x64], ebx
shl eax, 3
mov edi, ebx
or eax, 2
mov dword [esp + 0x68], edx
mov dword [esp + 0x5c], 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 + 0x14]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x18]
test eax, eax
je 0x10070a6c
lea esi, [esp + 0x1c6]
mov edx, dword [esi + edi*8 + 2]
mov ecx, edx
shr ecx, 9
test cl, 1
je 0x10070a5a
sar edx, 0xc
lea ecx, [esp + 0x7c]
mov eax, edx
mov dword [esp + 0x4c], 1
cdq
push edx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x58], 0xff
push eax
mov dword [esp + 0x60], ebx
mov dword [esp + 0x64], ebx
call fcn.10070579
mov ebx, dword [esp + edi*8 + 0x1c4]
lea ecx, [esp + 0x5c]
mov eax, ebx
sar eax, 0xc
cdq
push edx
push eax
lea eax, [esp + 0x74]
push eax
call fcn.10070579
mov ecx, ebx
shr ecx, 0xa
and cl, 1
je 0x10070919
mov eax, ebx
shr eax, 9
test al, 1
jne 0x10070d9f
movzx eax, byte [esi + edi*8]
mov dword [esp + 0x70], eax
shr ebx, 8
test bl, 1
je 0x1007096d
test cl, cl
jne 0x1007096d
movzx eax, byte [esi + edi*8 + 1]
lea esi, [esp + 0xc4]
mov ecx, dword [esp + 0x10]
mov edx, dword [ecx + eax*4 + 0x14]
mov eax, edx
shr eax, 8
and eax, 0xf
mov dword [esp + 0x4c], edx
shl eax, 6
add esi, eax
lea eax, [esp + 0x1c6]
movzx ecx, byte [eax + edi*8]
mov dword [esp + 0x50], ecx
mov byte [ecx + esi + 0x20], 0xff
mov eax, dword [esi + 0xc]
btc eax, ecx
mov dword [esi + 0xc], eax
mov esi, dword [esp + 0x24]
jmp 0x100709e4
mov al, byte [esp + edi*8 + 0x1c8]
mov bl, byte [esp + edi*8 + 0x1c4]
mov dl, al
mov cl, byte [esp + 0x28]
push ebx
mov dword [esp + 0x18], eax
call fcn.10070626
pop ecx
test eax, eax
je 0x10070da7
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 0x10070da7
mov esi, dword [esp + 0x24]
bsf ecx, edx
push 0
mov dword [esp + 0x54], ecx
lea ecx, [esp + 0x70]
push ebx
push ecx
push dword [esp + 0x20]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x5c]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 8]
test eax, eax
jne 0x10070f77
mov eax, dword [esp + edi*8 + 0x1c4]
mov ecx, 0x500
and eax, ecx
cmp eax, ecx
jne 0x10070a17
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
mov al, byte [esp + edi*8 + 0x1c4]
lea ecx, [esp + 0x4c]
mov byte [esp + 0x3c], al
xor ebx, ebx
mov eax, dword [esi]
push ebx
push dword [esp + 0x40]
push ecx
lea ecx, [esp + 0x9c]
push ecx
mov ecx, esi
call dword [eax]
test eax, eax
jne 0x10070f77
or dword [esp + edi*8 + 0x1c4], 0x800
lea esi, [esp + 0x1c6]
mov eax, dword [esp + 0x18]
inc edi
cmp edi, eax
jb 0x1007089a
mov esi, dword [ebp + 8]
mov edi, dword [esp + 0x18]
jmp 0x10070a6e
mov edi, eax
mov edx, dword [esp + 0x10]
xor ebx, ebx
and dword [esp + 0x38], 0
test edi, edi
je 0x10070d81
lea edi, [esp + 0x1cb]
jmp 0x10070a8e
mov edx, dword [esp + 0x10]
mov ecx, dword [edi - 7]
mov eax, ecx
shr eax, 0xb
test al, 1
jne 0x10070d67
shr ecx, 8
test cl, 1
je 0x10070d67
mov al, byte [edi - 4]
movzx ecx, byte [edi - 5]
mov byte [esp + 0x1e], al
movzx eax, al
mov dword [esp + 0x20], ecx
movzx ecx, byte [edi - 1]
mov dword [esp + 0xc], ecx
mov eax, dword [edx + eax*4 + 0x14]
mov dword [esp + 0x8c], eax
shr eax, 8
and eax, 0xffffff0f
mov dword [esp + 0x3c], eax
movzx eax, byte [edi]
mov eax, dword [edx + eax*4 + 0x14]
mov edx, eax
shr edx, 8
and dl, 0xf
cmp byte [esp + 0x3c], dl
jne 0x10070d9f
mov esi, dword [ebp + 8]
movzx ecx, dl
lea edx, [esp + 0xc4]
shl ecx, 6
add ecx, edx
xor edx, edx
mov dword [esp + 0x34], ecx
inc edx
mov ecx, dword [ecx + 0xc]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0xc]
shl edx, cl
test dword [esp + 0x14], edx
je 0x10070ca7
mov edx, dword [esp + 0x34]
mov cl, byte [edx + ecx + 0x20]
mov byte [esp + 0x1f], cl
movzx ecx, cl
mov dword [esp + 0x14], ecx
mov edx, dword [esp + ecx*8 + 0x1c8]
test edx, edx
mov dword [esp + 0x28], edx
mov edx, dword [esp + 0x34]
je 0x10070b6c
shr dword [esp + 0x28], 8
test byte [esp + 0x28], 1
je 0x10070b64
movzx ecx, byte [esp + ecx*8 + 0x1ca]
cmp ecx, dword [esp + 0x20]
je 0x10070b6c
or ebx, 2
jmp 0x10070d67
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x10]
movzx ecx, cl
test byte [ecx + esi + 0x10], 1
mov esi, dword [ebp + 8]
je 0x10070c7b
mov ecx, dword [esp + 0x14]
movzx edx, byte [esp + 0x1e]
push 6
mov cl, byte [esp + ecx*8 + 0x1cb]
cmp byte [esp + 0x22], 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 + 0x10]
push edx
mov dword [esp + 0x88], edx
mov dword [esp + 0x8c], edx
mov eax, dword [ecx + eax*4 + 0x14]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x80], eax
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x68], edx
mov dword [esp + 0x6c], edx
lea edx, [esp + 0x60]
mov dword [esp + 0x64], eax
mov eax, dword [ecx]
push edx
lea edx, [esp + 0x84]
push edx
call dword [eax + 4]
test eax, eax
jne 0x10070f77
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x20]
mov cl, byte [esp + 0x1f]
mov byte [eax + edx + 0x20], cl
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x38]
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 + 0x14]
or eax, 0x800
mov dword [edi - 7], eax
mov eax, dword [esp + ecx*8 + 0x1c4]
and eax, edx
mov edx, dword [esp + 0x20]
shl edx, 0x10
or eax, edx
mov dword [esp + ecx*8 + 0x1c4], eax
cmp dword [esp + ecx*8 + 0x1c8], 0
je 0x10070c73
or eax, 0x800
mov dword [esp + ecx*8 + 0x1c4], eax
or ebx, 1
jmp 0x10070d67
mov ecx, dword [edx + 0xc]
not ecx
mov dword [esp + 0x14], ecx
test dword [edx + 4], ecx
je 0x10070b64
mov ecx, dword [edx + 0x10]
or ecx, dword [edx + 0xc]
not ecx
test dword [edx + 4], ecx
cmove ecx, dword [esp + 0x14]
and ecx, dword [edx + 4]
bsf ecx, ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x8c]
xor edx, edx
mov dword [esp + 0x4c], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x50], ecx
mov cl, byte [edi - 3]
push edx
mov dword [esp + 0x70], eax
mov al, byte [edi - 7]
mov byte [esp + 0x48], cl
mov ecx, dword [esp + 0x10]
mov byte [esp + 0x44], al
push dword [esp + 0x44]
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x7c], edx
mov dword [esp + 0x80], edx
lea edx, [esp + 0x54]
push edx
push dword [esp + 0x50]
mov eax, dword [ecx]
lea edx, [esp + 0x7c]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10070f77
mov ecx, dword [esp + 0x34]
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0xc]
mov esi, dword [esp + 0x20]
mov byte [ecx + eax + 0x20], 0xff
mov eax, dword [esp + 0x38]
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 0x10070d64
or ecx, 0x800
mov dword [edi - 7], ecx
or ebx, 3
mov eax, dword [esp + 0x38]
add edi, 8
inc eax
mov dword [esp + 0x38], eax
cmp eax, dword [esp + 0x18]
jb 0x10070a8a
mov edi, dword [esp + 0x18]
test bl, 2
je 0x10070dab
mov eax, ebx
and al, 5
cmp al, 4
je 0x10070da7
mov edx, dword [esp + 0x10]
shl ebx, 2
not ebx
and ebx, 4
jmp 0x10070a74
push 0x19
pop eax
jmp 0x10070f77
push 3
jmp 0x10070da1
cmp byte [esp + 0xb9], 0
je 0x10070f75
mov al, byte [esi + 0xd]
xor edx, edx
inc edx
mov dword [esp + 0xc], edx
cmp al, byte [esi + 0xa]
jb 0x10070dec
mov eax, dword [esi]
shr eax, 4
test dl, al
jne 0x10070dec
mov eax, dword [esp + 0x30]
cmp eax, edi
jae 0x10070de2
mov al, byte [esp + eax*8 + 0x1c6]
jmp 0x10070de5
mov al, byte [esi + 6]
movzx eax, al
mov dword [esp + 0x2c], eax
movzx eax, byte [esi + 5]
mov ebx, dword [esp + 0x2c]
cmp ebx, eax
jne 0x10070dfd
mov ecx, dword [esi + 0x24]
jmp 0x10070e00
mov ecx, dword [esi + 0x28]
mov eax, dword [esp + 0x48]
and dword [esp + 0x74], 0
shr eax, 3
and eax, 0x1f
mov dword [esp + 0x70], ebx
shl eax, 3
or eax, 2
mov dword [esp + 0x78], ecx
mov dword [esp + 0x6c], eax
xor eax, eax
mov dword [esp + 0x30], eax
xor ebx, ebx
test edi, edi
je 0x10070f68
mov ecx, dword [esp + ebx*8 + 0x1c4]
mov eax, ecx
shr eax, 0xb
test al, 1
jne 0x10070f57
shr ecx, 9
test cl, 1
je 0x10070f57
mov eax, dword [esp + 0x10]
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 + 0x2c]
jne 0x10070eb1
test dl, dl
jne 0x10070eb1
cmp dword [esp + 0xc], 1
jne 0x10070ea3
mov edi, dword [esp + 0x18]
push 2
pop edx
mov dword [esp + 0xc], edx
jmp 0x10070f5b
mov byte [ecx + edi + 0x20], 0xff
mov eax, dword [ecx + 0xc]
btc eax, edi
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x10]
lea ecx, [esp + 0x6c]
mov eax, dword [eax + esi*4 + 0x14]
and dword [esp + 0x64], 0
and dword [esp + 0x68], 0
mov dword [esp + 0x5c], eax
mov eax, dword [esp + ebx*8 + 0x1c4]
sar eax, 0xc
cdq
push edx
push eax
lea eax, [esp + 0x98]
mov dword [esp + 0x68], edi
push eax
call fcn.10070579
mov al, byte [esp + ebx*8 + 0x1c8]
lea edx, [esp + 0x90]
mov ecx, dword [esp + 0x24]
mov byte [esp + 0x44], al
mov al, byte [esp + ebx*8 + 0x1c4]
push 0
mov byte [esp + 0x4c], al
push dword [esp + 0x4c]
mov eax, dword [ecx]
push edx
push dword [esp + 0x50]
lea edx, [esp + 0x6c]
push edx
call dword [eax + 8]
test eax, eax
jne 0x10070f77
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 + 0x18]
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 + 0xc]
inc ebx
cmp ebx, edi
jb 0x10070e31
mov eax, dword [esp + 0x30]
inc eax
mov dword [esp + 0x30], eax
cmp eax, edx
jb 0x10070e27
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8