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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x10012004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x11c], edx
mov dword [ebp - 0x120], esi
mov dword [ebp - 0x128], eax
push edi
test esi, esi
je 0x1000158a
mov edx, dword [esi + 0x3c]
add edx, esi
cmp dword [edx], 0x4550
jne 0x1000158a
movzx eax, word [edx + 6]
and dword [ebp - 0x114], 0
test eax, eax
je 0x1000158a
movzx eax, word [edx + 0x14]
lea ebx, [edx + 0x18]
add ebx, eax
lea ecx, [ebp - 0xc]
sub eax, ecx
add eax, 0x18
add eax, edx
mov dword [ebp - 0x110], eax
mov dword [ebp - 0xa], 0x747865
xor edi, edi
mov word [ebp - 0xc], 0x742e
mov esi, dword [ebp - 0x110]
lea ecx, [ebp - 0xc]
add ecx, edi
mov al, byte [ecx]
cmp al, byte [esi + ecx]
mov esi, dword [ebp - 0x120]
jne 0x10001567
inc edi
cmp edi, 6
jb 0x10001514
mov eax, dword [ebx + 0xc]
mov ecx, dword [ebx + 0x10]
add eax, esi
add ecx, eax
mov dword [ebp - 0x124], eax
mov dword [ebp - 8], ecx
test eax, eax
je 0x1000158a
test ecx, ecx
je 0x1000158a
cmp dword [edx + 0x7c], 0
je 0x1000158a
mov edi, dword [edx + 0x78]
mov ecx, dword [ebp - 0x11c]
add edi, esi
test ecx, ecx
je 0x1000159b
mov eax, dword [edi + 0x18]
jmp 0x1000159e
mov ecx, dword [ebp - 0x114]
add ebx, 0x28
movzx eax, word [edx + 6]
inc ecx
add dword [ebp - 0x110], 0x28
mov dword [ebp - 0x114], ecx
cmp ecx, eax
jl 0x10001505
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10001cb5
leave
ret
mov eax, dword [edi + 0x14]
xor edx, edx
mov dword [ebp - 0x118], eax
mov dword [ebp - 0x110], edx
test eax, eax
jle 0x1000158a
mov dword [ebp - 0x114], esi
or ebx, 0xffffffff
test ecx, ecx
je 0x10001606
mov eax, dword [edi + 0x20]
mov ecx, dword [ebp - 0x114]
mov ecx, dword [ecx + eax]
mov eax, ebx
add ecx, esi
inc eax
cmp byte [eax + ecx], 0
jne 0x100015cd
mov edx, dword [ebp - 0x11c]
movzx edx, word [edx]
cmp eax, edx
mov edx, dword [ebp - 0x110]
jne 0x1000161b
mov edx, dword [ebp - 0x11c]
movzx eax, word [edx]
mov edx, dword [edx + 4]
push eax
call section..text
pop ecx
test eax, eax
jne 0x10001640
mov edx, dword [ebp - 0x110]
jmp 0x1000161b
mov eax, dword [edi + 0x24]
lea eax, [eax + edx*2]
movsx ecx, word [eax + esi]
add ecx, dword [edi + 0x10]
movzx eax, word [ebp + 8]
cmp ecx, eax
je 0x10001657
add dword [ebp - 0x114], 4
inc edx
mov dword [ebp - 0x110], edx
cmp edx, dword [ebp - 0x118]
jge 0x1000158a
mov ecx, dword [ebp - 0x11c]
jmp 0x100015b9
mov ecx, dword [ebp - 0x110]
mov eax, dword [edi + 0x24]
mov edx, dword [edi + 0x10]
lea eax, [eax + ecx*2]
movsx ecx, word [eax + esi]
add ecx, edx
jmp 0x1000165a
mov edx, dword [edi + 0x10]
mov eax, dword [edi + 0x1c]
sub ecx, edx
lea eax, [eax + ecx*4]
mov edx, dword [eax + esi]
add edx, esi
mov dword [ebp - 0x118], edx
cmp dword [ebp - 0x124], edx
ja 0x1000167e
cmp edx, dword [ebp - 8]
jbe 0x10001761
inc ebx
cmp byte [ebx + edx], 0
jne 0x1000167e
xor ecx, ecx
test ebx, ebx
je 0x10001761
cmp byte [ecx + edx], 0x2e
je 0x1000169f
inc ecx
cmp ecx, ebx
jb 0x1000168f
jmp 0x10001761
test ecx, ecx
je 0x10001761
xor ebx, ebx
test ecx, ecx
je 0x100016d2
lea eax, [ebp - 0x10c]
mov edi, edx
sub eax, edx
mov dword [ebp - 8], eax
mov esi, eax
mov al, byte [edi]
mov byte [edi + esi], al
cmp byte [edi], 0
je 0x100016cc
inc ebx
inc edi
cmp ebx, ecx
jb 0x100016bc
mov esi, dword [ebp - 0x120]
lea ebx, [ebp - 0x10c]
mov dword [ebp - 0xc], 0x6c6c642e
xor edi, edi
mov byte [ebp - 8], 0
add ebx, ecx
mov al, byte [ebp + edi - 0xc]
mov byte [edi + ebx], al
test al, al
je 0x100016f8
inc edi
cmp edi, 5
jb 0x100016e7
inc ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0xc], xmm0
add ecx, edx
jne 0x10001709
xor eax, eax
jmp 0x10001718
cmp byte [ecx], 0
mov eax, ecx
je 0x10001716
inc eax
cmp byte [eax], 0
jne 0x10001710
sub eax, ecx
mov dword [ebp - 8], ecx
lea ecx, [ebp - 0x10c]
mov word [ebp - 0xc], ax
mov word [ebp - 0xa], ax
call fcn.10001029
test eax, eax
je 0x1000158a
cmp eax, esi
je 0x1000158a
lea ecx, [ebp - 0x118]
push ecx
push 0
lea edx, [ebp - 0xc]
mov ecx, eax
call fcn.10001287
pop ecx
pop ecx
test eax, eax
je 0x1000158a
mov edx, dword [ebp - 0x118]
mov eax, dword [ebp - 0x128]
mov dword [eax], edx
xor eax, eax
inc eax
jmp 0x1000158c