Function at 0x10003510
Capabilities:
Contain obfuscated stackstrings
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x101effd8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x5a4d
push ebx
push esi
push edi
mov dword [ebp - 0x6c], eax
cmp word [eax], cx
jne 0x1000383b
mov ebx, dword [eax + 0x3c]
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1000383b
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0x4e52454b
push eax
mov dword [ebp - 0x10], 0x32334c45
mov dword [ebp - 0xc], 0x6c6c642e
mov byte [ebp - 8], 0
mov dword [ebp - 0x30], 0x74726956
mov dword [ebp - 0x2c], 0x416c6175
mov dword [ebp - 0x28], 0x636f6c6c
mov byte [ebp - 0x24], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
push 0x40
push 0x2000
push dword [ebx + 0x50]
mov dword [ebp - 0x64], eax
push dword [ebx + 0x34]
call eax
mov dword [ebp - 0x68], eax
test eax, eax
jne 0x100035c4
push 0x40
push 0x2000
push dword [ebx + 0x50]
push eax
call dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
test eax, eax
je 0x1000383b
lea eax, [ebp - 0x60]
mov dword [ebp - 0x60], 0x50746547
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x5c], 0x65636f72
push eax
mov dword [ebp - 0x58], 0x65487373
mov word [ebp - 0x54], 0x7061
mov byte [ebp - 0x52], 0
call esi
push eax
call edi
mov edi, eax
mov dword [ebp - 0x20], 0x70616548
lea eax, [ebp - 0x20]
mov dword [ebp - 0x1c], 0x6f6c6c41
push eax
lea eax, [ebp - 0x14]
mov word [ebp - 0x18], 0x63
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x14
push 0
mov esi, eax
call edi
push eax
call esi
mov esi, dword [ebp - 0x68]
mov edi, eax
push 0x40
push 0x1000
mov dword [ebp - 0x74], edi
mov dword [edi + 4], esi
mov dword [edi + 0xc], 0
mov dword [edi + 8], 0
mov dword [edi + 0x10], 0
push dword [ebx + 0x50]
push esi
call dword [ebp - 0x64]
push 0x40
push 0x1000
push dword [ebx + 0x54]
push esi
call dword [ebp - 0x64]
mov ecx, dword [ebx + 0x54]
mov esi, eax
mov eax, dword [ebp - 0x6c]
add ecx, dword [eax + 0x3c]
push ecx
push eax
push esi
call fcn.1015bf40
mov ecx, dword [ebp - 0x6c]
xor edx, edx
add esp, 0xc
mov dword [ebp - 0x64], 0
mov eax, dword [ecx + 0x3c]
mov ecx, dword [ebp - 0x68]
add eax, esi
mov dword [edi], eax
mov dword [eax + 0x34], ecx
mov ecx, dword [edi]
mov esi, dword [edi + 4]
mov dword [ebp - 0x70], esi
movzx eax, word [ecx + 0x14]
add eax, 0x28
cmp dx, word [ecx + 6]
jae 0x1000376d
lea edi, [eax + ecx]
nop dword [eax]
lea eax, [ebp - 0x40]
mov dword [ebp - 0x50], 0x4e52454b
push eax
lea eax, [ebp - 0x50]
mov dword [ebp - 0x4c], 0x32334c45
push eax
mov dword [ebp - 0x48], 0x6c6c642e
mov byte [ebp - 0x44], 0
mov dword [ebp - 0x40], 0x74726956
mov dword [ebp - 0x3c], 0x416c6175
mov dword [ebp - 0x38], 0x636f6c6c
mov byte [ebp - 0x34], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ecx, dword [edi]
mov edx, eax
test ecx, ecx
jne 0x10003725
mov esi, dword [ebx + 0x38]
test esi, esi
jle 0x1000374c
mov eax, dword [edi - 4]
add eax, dword [ebp - 0x70]
push 0x40
push 0x1000
push esi
push eax
call edx
push esi
push 0
push eax
mov dword [edi - 8], eax
call fcn.1015bde0
jmp 0x10003749
mov eax, dword [edi - 4]
push 0x40
push 0x1000
push ecx
add eax, esi
push eax
call edx
push dword [edi]
mov ecx, dword [edi + 4]
mov esi, eax
add ecx, dword [ebp - 0x6c]
push ecx
push esi
call fcn.1015bf40
mov dword [edi - 8], esi
add esp, 0xc
mov eax, dword [ebp - 0x74]
add edi, 0x28
mov esi, dword [ebp - 0x64]
inc esi
mov dword [ebp - 0x64], esi
mov ecx, dword [eax]
movzx eax, word [ecx + 6]
cmp esi, eax
mov esi, dword [ebp - 0x70]
jl 0x100036b0
mov edi, dword [ebp - 0x74]
mov esi, dword [ebp - 0x68]
mov eax, esi
sub eax, dword [ebx + 0x34]
mov dword [ebp - 0x70], eax
je 0x100037ed
cmp dword [ecx + 0xa4], 0
jbe 0x100037ed
mov edx, dword [edi + 4]
mov edi, dword [ecx + 0xa0]
add edi, edx
mov dword [ebp - 0x6c], edx
mov eax, dword [edi]
test eax, eax
je 0x100037ed
mov ecx, dword [edi + 4]
lea ebx, [eax + edx]
xor esi, esi
lea edx, [edi + 8]
lea eax, [ecx - 8]
test eax, 0xfffffffe
jbe 0x100037de
nop dword [eax]
movzx eax, word [edx]
mov ecx, eax
and ecx, 0xf000
cmp ecx, 0x3000
jne 0x100037ce
mov ecx, dword [ebp - 0x70]
and eax, 0xfff
add dword [eax + ebx], ecx
mov ecx, dword [edi + 4]
inc esi
add edx, 2
lea eax, [ecx - 8]
shr eax, 1
cmp esi, eax
jb 0x100037b0
mov eax, dword [edi + ecx]
add edi, ecx
mov edx, dword [ebp - 0x6c]
test eax, eax
jne 0x10003797
mov esi, dword [ebp - 0x68]
mov ebx, dword [ebp - 0x74]
mov ecx, ebx
call fcn.100032d0
test eax, eax
je 0x10003834
mov ecx, ebx
call fcn.10003170
mov eax, dword [ebx]
mov eax, dword [eax + 0x28]
test eax, eax
je 0x10003821
add eax, esi
je 0x10003834
push 0
push 1
push esi
call eax
test eax, eax
je 0x10003834
mov dword [ebx + 0x10], 1
pop edi
pop esi
mov eax, ebx
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1014306d
mov esp, ebp
pop ebp
ret
mov ecx, ebx
call fcn.10003850
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1014306d
mov esp, ebp
pop ebp
ret