joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42211b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x42215a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x42215a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x42215a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x42215a
cmp dword [ecx + 0x74], 0xe
jbe 0x42215a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x4347a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4347cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4347cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x10001016
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ecx
push esi
push edi
push 0x10003010
push 0x65
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov edi, eax
test edi, edi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10001061
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x10001061
push edi
push dword [0x1000313c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test eax, eax
jne 0x10001065
xor eax, eax
jmp 0x100010a7
push ebx
mov ebx, dword [esi]
push 0
push 4
push 2
push 0
push 2
push 0x40000000
push 0x10003038
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
je 0x100010a3
lea eax, [esp + 0xc]
push 0
push eax
add esi, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
pop eax
pop ebx
pop edi
pop esi
pop ecx
ret

Function at 0x100010ab
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
push edi
xor edx, edx
xor eax, eax
lea edi, [ebp - 0xc]
mov dword [ebp - 0x10], edx
push 0x10
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
pop ecx
xor eax, eax
lea edi, [ebp - 0x50]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x10]
mov dword [ebp - 0x54], 0x44
push eax
lea eax, [ebp - 0x54]
push eax
push edx
push edx
push 0x8000000
push edx
push edx
push edx
push 0x10003038
push edx
mov word [ebp - 0x24], dx
mov dword [ebp - 0x28], 0x81
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
pop edi
je 0x10001110
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call esi
push dword [ebp - 0x10]
call esi
pop esi
xor eax, eax
leave
ret
Function at 0x402403
Capabilities:
Enumerate files on windows
Get disk size
Get geographical location
Print debug messages
Query environment variable

Disassembly:
inc eax
add dl, bh
jbe 0x402397
add dl, ah
mov dword [0xa22759], eax
push 0x40c0cd
jmp [ebp - 0x1dbfc917]
daa
mov byte [0xc0cd6800], al
inc eax
add bh, bh
lodsd eax, dword [esi]
jmp 0xe92263e0
inc eax
loop 0x402392
popal
add dl, ah
add byte [ebx + 0x40bb6d], ah
push 0x402249
jecxz 0x4023ef
jmp 0xe840c5f5
and ah, byte [edx - 0x3417b000]
add byte [eax], al
add byte [edi], bh
popal
daa
inc eax
loop 0x402456
push 0x40bf32
push eax
cli
push es
add byte [eax], al
loop 0x4023ad
daa
mov byte [0x5955c300], al
in eax, 0x83
in al, dx
salc
mov edi, dword [ebp + 8]
jl 0x40239b
aas
dec ebp
mov byte [ebp + 0x65], dh
mov eax, ebp
add edx, dword [edi + 0x3c]
jl 0x4023a7
cmp dl, byte [eax - 0x63]
jne 0x402484
mov dword [ebp + 0x6a428bf4], ecx
add eax, dword [ebp + 8]
pop ecx
inc ebp
clc
mov esp, dword [edx - 0x25bafce0]
mov dword [ebp - 4], eax
mov cl, 0xc9
mov edx, dword [ebp - 0x16]
cmp ecx, dword [edx + 0x18]
cmp cl, byte gs:[ebx + 0x1c8be65d]
mov ebx, edi
pop ebp
or bh, bh
insd dword es:[edi], dx
or al, 0x53
push ebx
call fcn.0040220a
pop edi
clc
add dword [edi + ebx*8 + 0x41], esi
jmp 0x402442
mov cl, 0xc0
mov esp, ebp
test edx, eax
or byte [eax], al

Function at 0x4042a0
Capabilities:
Terminate process

Disassembly:
mov edx, eax
push dword [0x402740]
call dword [sym.imp.pdh.dll_PdhValidatePathA]
and eax, 0xf
add eax, 0xb
xor edi, edi
xor esi, esi
cmp eax, 0x18
je 0x4042c9
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x403705], eax
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x10004830
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004839
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x10004850
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x10004859
xor eax, esi
pop esi
pop ebp
ret 4

Function at 0x100055a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055a9
pop esi
pop ebp
ret 8

Function at 0x100055c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055c9
pop esi
pop ebp
ret 4

Function at 0x100055e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov eax, dword [ecx]
mov edx, eax
xor edx, esi
lock cmpxchg dword [ecx], edx
jne 0x100055e9
pop esi
pop ebp
ret 8

Function at 0x100186b0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
mov eax, dword [0x1018092c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x101837c8]
push ebx
xor ebx, ebx
mov dword [ebp - 0x60], ebx
test eax, eax
jne 0x10018788
push esi
push 0x55
pop esi
push esi
push 0x101837d0
push 0x5c
push ebx
call dword [sym.imp.kernel32.dll_GetLocaleInfoEx]
test eax, eax
jle 0x10018772
push esi
lea eax, [ebp - 0x5c]
push ebx
push eax
call fcn.100a9420
add esp, 0xc
mov eax, ebx
cmp word [eax*2 + 0x101837d0], 0x5f
mov cl, 0x2d
je 0x10018712
mov cl, byte [eax*2 + 0x101837d0]
mov byte [ebp + eax - 0x5c], cl
test cl, cl
je 0x1001871f
inc eax
cmp eax, esi
jl 0x100186fe
cmp eax, esi
push 0x41
sbb al, al
and byte [ebp - 8], al
call fcn.1005c0c9
mov esi, eax
pop ecx
test esi, esi
je 0x10018772
lea eax, [ebp - 0x60]
push eax
push 0x40
lea eax, [ebp - 0x5c]
push esi
push eax
call fcn.1005c0c9
add esp, 0x10
cmp dword [ebp - 0x60], ebx
jg 0x1001876b
push 0x10017f70
push 0x17
mov byte [eax + esi], bl
mov dword [0x101837c8], esi
mov byte [0x101837cc], 1
call fcn.1005c0c9
pop ecx
jmp 0x10018771
push esi
call fcn.1005c0c9
pop ecx
mov ecx, dword [0x101837c8]
mov eax, 0x100fef10
test ecx, ecx
pop esi
cmovne eax, ecx
mov dword [0x101837c8], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.10084499
leave
ret
Function at 0x1005c0c9
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x1005c0d8
pop dword [ebp - 0x4c]
mov eax, 0x50b05ea1
sub eax, 0x40aa9dc9
sub dword [ebp - 0x4c], eax
push 0x40
push 0x1000
push 0x711d0
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x4c]
call dword [eax]
mov ecx, 0x6fae4b69
sub ecx, 0x6fae06e8
mov esi, eax
mov edi, 0x997dc92c
add edi, 0x769b46d4
add edi, dword [ebp - 0x4c]
mov edx, 0x7db7c6bb
add edx, 0xf4e99756
mov ebx, dword [edi]
mov dword [ebp - 0x34], 0xc1a8364e
sub ebx, edx
xor dword [ebp - 0x20], eax
mov dword [esi], ebx
add dword [ebp - 0x28], edx
add esi, 0xbb52cc9f
add esi, 0x44ad3365
add edi, 0x84c2282b
add edi, 0x7b3dd7d9
loop 0x1005c132
add eax, 0x222a3620
add eax, 0xddd6ceb7
mov ebx, eax
add eax, 0xcc4561b2
sub eax, 0xcc4561ad
mov ecx, 0x2b721720
add ecx, 0xe48de8e0
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret
Function at 0x63d41feb
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
mov esi, eax
sub esp, 0x4c
mov eax, dword [0x63d4b004]
mov dword [ebp - 0x3c], edx
mov dword [ebp - 0x40], ecx
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
push edx
mov edx, eax
jne 0x63d4205e
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
sub esp, 0x10
test eax, eax
jne 0x63d42044
xor eax, eax
jmp 0x63d420df
mov dword [esp + 4], eax
mov dword [ebp - 0x44], eax
mov eax, dword [0x63d4b004]
mov dword [esp], eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov edx, dword [ebp - 0x44]
push eax
push eax
lea ebx, [ebp - 0x2c]
xor eax, eax
mov ecx, 5
mov edi, ebx
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0xc], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
mov eax, esi
call fcn.63d41f94
test eax, eax
jne 0x63d420da
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x63d4203d
lea eax, [ebp - 0x30]
mov dword [esp + 0xc], 1
mov dword [esp + 4], ebx
mov dword [esp], esi
mov dword [esp + 8], eax
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
sub esp, 0x10
test eax, eax
je 0x63d4203d
cmp dword [ebp + 0x10], 0
je 0x63d420da
mov eax, dword [ebp - 0x30]
mov edi, dword [ebp + 0x10]
mov dword [edi], eax
mov eax, 1
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret

Function at 0x63d43f49
Capabilities:
Contain obfuscated stackstrings

Disassembly:
dec edi
stosd dword es:[edi], eax
dec eax
and byte [ebp - 0x72c], 0
and byte [ebp - 0x72b], 0
mov byte [ebp - 0x72a], 0xc2
and byte [ebp - 0x729], 0
mov byte [ebp - 0x728], 0x6b
mov byte [ebp - 0x727], 0x54
mov byte [ebp - 0x726], 0x4f
mov byte [ebp - 0x725], 0x49
mov byte [ebp - 0x724], 0x48
mov byte [ebp - 0x723], 0x5c
mov byte [ebp - 0x722], 0x51
mov byte [ebp - 0x721], 0x6d
mov byte [ebp - 0x720], 0x4f
mov byte [ebp - 0x71f], 0x52
mov byte [ebp - 0x71e], 0x49
mov byte [ebp - 0x71d], 0x58
mov byte [ebp - 0x71c], 0x5e
mov byte [ebp - 0x71b], 0x49
mov byte [ebp - 0x71a], 0x3d
invalid

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1000b4b0
Capabilities:
Access pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 0x2c], 0xc0000001
mov dword [ebp - 0x30], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov byte [ebp - 1], 0
mov dword [ebp - 0xc], 0
cmp dword [ebp + 8], 0
jne 0x1000b4f2
mov eax, dword [ebp - 0xc]
jmp 0x1000b68c
push str.ServerDllInitialization
mov eax, dword [ebp + 8]
push eax
call fcn.1000cf80
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000b514
mov eax, dword [ebp - 0xc]
jmp 0x1000b68c
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x1000b52f
mov eax, dword [ebp - 0xc]
jmp 0x1000b68c
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x50]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
jmp 0x1000b549
mov edx, dword [ebp - 0x18]
add edx, 1
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 8]
add eax, 0x300
cmp dword [ebp - 0x18], eax
jae 0x1000b5d5
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jbe 0x1000b5d0
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x20]
cmp dword [ebp - 0x14], ecx
jae 0x1000b5d0
push 0x40
mov edx, dword [ebp - 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1000b5d0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x10], 0
jmp 0x1000b599
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x10
jae 0x1000b5c2
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x28]
mov ecx, dword [eax + edx*4]
cmp ecx, dword [ebp + 8]
jbe 0x1000b5be
mov edx, dword [ebp + 8]
add edx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x28]
cmp dword [ecx + eax*4], edx
jb 0x1000b5c0
jmp 0x1000b5c2
jmp 0x1000b590
cmp dword [ebp - 0x10], 0x10
jne 0x1000b5d0
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0xc], edx
jmp 0x1000b5d5
jmp 0x1000b540
mov eax, dword [ebp - 0xc]
jmp 0x1000b68c
mov esp, ebp
pop ebp
ret

Function at 0x1000bd00
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov ecx, dword [ebp + 0xc]
sub ecx, 1
mov dword [ebp + 0xc], ecx
cmp dword [ebp - 8], 0
je 0x1000bd4c
mov edx, dword [ebp - 4]
shr edx, 8
mov eax, dword [ebp + 8]
movzx ecx, byte [eax]
xor ecx, dword [ebp - 4]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x100200a8]
mov dword [ebp - 4], edx
mov edx, dword [ebp + 8]
add edx, 1
mov dword [ebp + 8], edx
jmp 0x1000bd0d
mov eax, dword [ebp - 4]
xor eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x1000c580
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x1000c5c7
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jae 0x1000c619
mov edx, dword [ebp - 4]
cmp dword [edx + 0x14], 0
je 0x1000c5e5
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
jne 0x1000c5e7
jmp 0x1000c5b5
mov ecx, dword [ebp - 4]
mov edx, dword [ebp + 0xc]
cmp edx, dword [ecx + 0xc]
jb 0x1000c617
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 8]
cmp dword [ebp + 0xc], ecx
ja 0x1000c617
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0xc]
sub ecx, dword [eax + 0xc]
mov edx, dword [ebp - 4]
add ecx, dword [edx + 0x14]
mov dword [ebp - 0xc], ecx
jmp 0x1000c619
jmp 0x1000c5b5
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x1000c920
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
call fcn.1000bdc0
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x1000c983
cmp dword [ebp - 0xc], 2
jne 0x1000c97e
push 0
push 0
push 0
push 0x1000c810
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x1000c977
mov dword [ebp - 4], 1
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
jmp 0x1000c9ec
mov eax, dword [ebp - 4]
jmp 0x1000c9ec
call fcn.1000bd90
movzx ecx, byte [0x1002137e]
test ecx, ecx
je 0x1000c9a6
call fcn.10013bd0
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000c9a6
mov eax, dword [ebp - 4]
jmp 0x1000c9ec
movzx edx, byte [0x10021588]
test edx, edx
je 0x1000c9c4
call fcn.10011400
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000c9c4
mov eax, dword [ebp - 4]
jmp 0x1000c9ec
movzx eax, byte [0x1002137c]
test eax, eax
je 0x1000c9e2
call fcn.1000b750
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x1000c9e2
mov eax, dword [ebp - 4]
jmp 0x1000c9ec
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000d310
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
cmp dword [0x1002179c], 0
jne 0x1000d337
cmp dword [0x100217ac], 0
je 0x1000d337
mov eax, dword [ebp - 4]
jmp 0x1000d586
cmp dword [0x1002179c], 0
je 0x1000d57c
mov eax, 4
imul ecx, eax, 0
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217d4], eax
mov ecx, 4
shl ecx, 0
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217a0], eax
mov ecx, 4
shl ecx, 1
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217bc], eax
mov ecx, 4
imul edx, ecx, 3
mov eax, dword [0x1002179c]
mov ecx, dword [eax + edx]
mov dword [0x100217b0], ecx
mov edx, 4
shl edx, 2
mov eax, dword [0x1002179c]
mov ecx, dword [eax + edx]
mov dword [0x100217b8], ecx
mov edx, 4
imul eax, edx, 6
mov ecx, dword [0x1002179c]
mov edx, dword [ecx + eax]
mov dword [0x100217d8], edx
mov eax, 4
imul ecx, eax, 7
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217c4], eax
mov ecx, 4
shl ecx, 3
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217a8], eax
mov ecx, 4
imul edx, ecx, 0xf
mov eax, dword [0x1002179c]
mov ecx, dword [eax + edx]
mov dword [0x100217d0], ecx
mov edx, 4
imul eax, edx, 0x12
mov ecx, dword [0x1002179c]
mov edx, dword [ecx + eax]
mov dword [0x100217b4], edx
mov eax, 4
imul ecx, eax, 0x13
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217a4], eax
mov ecx, 4
imul edx, ecx, 0x16
mov eax, dword [0x1002179c]
mov ecx, dword [eax + edx]
mov dword [0x100217e0], ecx
mov edx, 4
imul eax, edx, 0x1b
mov ecx, dword [0x1002179c]
mov edx, dword [ecx + eax]
mov dword [0x100217c0], edx
cmp dword [0x10021378], 0x1770
jb 0x1000d486
mov eax, 4
imul ecx, eax, 0x23
mov edx, dword [0x1002179c]
mov eax, dword [edx + ecx]
mov dword [0x100217dc], eax
lea ecx, [ebp - 8]
push ecx
push 0x40
push 0xa0
mov edx, dword [0x1002179c]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
jne 0x1000d4ac
mov eax, dword [ebp - 4]
jmp 0x1000d586
mov eax, 4
imul ecx, eax, 6
mov edx, dword [0x1002179c]
mov dword [edx + ecx], 0x1000dc00
mov eax, 4
imul ecx, eax, 7
mov edx, dword [0x1002179c]
mov dword [edx + ecx], 0x1000db20
mov eax, 4
shl eax, 3
mov ecx, dword [0x1002179c]
mov dword [ecx + eax], 0x1000da40
mov edx, 4
imul eax, edx, 0xf
mov ecx, dword [0x1002179c]
mov dword [ecx + eax], 0x1000d900
mov edx, 4
imul eax, edx, 0x12
mov ecx, dword [0x1002179c]
mov dword [ecx + eax], 0x1000d640
mov edx, 4
imul eax, edx, 0x13
mov ecx, dword [0x1002179c]
mov dword [ecx + eax], 0x1000d590
mov edx, 4
imul eax, edx, 0x16
mov ecx, dword [0x1002179c]
mov dword [ecx + eax], 0x1000d7f0
cmp dword [0x10021378], 0x1770
jb 0x1000d560
mov edx, 4
imul eax, edx, 0x23
mov ecx, dword [0x1002179c]
mov dword [ecx + eax], 0x1000d700
lea edx, [ebp - 8]
push edx
mov eax, dword [ebp - 8]
push eax
push 0xa0
mov ecx, dword [0x1002179c]
push ecx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x1000df10
Capabilities:
Access pe header
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.ntdll.dll_RtlImageNtHeader]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000df3f
mov eax, dword [ebp - 0x10]
jmp 0x1000e077
mov ecx, dword [ebp - 8]
cmp dword [ecx], 0x4550
je 0x1000df52
mov eax, dword [ebp - 0x10]
jmp 0x1000e077
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0x14], 0
jmp 0x1000df7e
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 4]
add ecx, 0x28
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 0x14], eax
jae 0x1000e065
push 0x1001c980
mov ecx, dword [ebp - 4]
push ecx
call sub.ntdll.dll__stricmp
add esp, 8
test eax, eax
je 0x1000dfbc
push 0x1001c988
mov edx, dword [ebp - 4]
push edx
call sub.ntdll.dll__stricmp
add esp, 8
test eax, eax
jne 0x1000e060
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add ecx, dword [eax + 0xc]
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov dword [ebp - 0xc], edx
jmp 0x1000dfd9
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x24]
add edx, dword [ecx + 8]
cmp dword [ebp - 0xc], edx
jae 0x1000e058
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
cmp dword [ecx], 0x44
jne 0x1000e053
lea edx, [ebp - 0x30]
push edx
mov eax, dword [ebp - 0x1c]
add eax, 4
push eax
call dword [sym.imp.ntdll.dll_RtlStringFromGUID]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jl 0x1000e053
push str.338CD001_2244_31F1_AAAA_900038001003
lea ecx, [ebp - 0x38]
push ecx
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
push 1
lea edx, [ebp - 0x38]
push edx
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntdll.dll_RtlCompareUnicodeString]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000e049
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x20], 1
jmp 0x1000e058
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.ntdll.dll_RtlFreeUnicodeString]
jmp 0x1000dfd0
cmp dword [ebp - 0x20], 0
je 0x1000e060
jmp 0x1000e065
jmp 0x1000df6c
cmp dword [ebp - 0x20], 0
je 0x1000e074
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov esp, ebp
pop ebp
ret