joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402ae0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov al, cl
pop ebp
ret

Function at 0x402d40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push edi
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x104]
push ecx
call fcn.00402a30
add esp, 8
lea edx, [ebp - 0x104]
push edx
call fcn.00402c50
add esp, 4
push 0x104
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x406060
call fcn.004014e0
add esp, 4
add eax, 1
push eax
push 0x406060
mov ecx, dword [ebp + 8]
push ecx
call fcn.004014e0
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402970
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call fcn.004014e0
add esp, 4
add eax, 1
push eax
lea ecx, [ebp - 0x104]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004014e0
add esp, 4
mov ecx, dword [ebp + 8]
add ecx, eax
push ecx
call fcn.00402970
add esp, 0xc
mov edx, dword [ebp + 0xc]
push edx
call fcn.004014e0
add esp, 4
add eax, 1
push eax
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004014e0
add esp, 4
mov edx, dword [ebp + 8]
add edx, eax
push edx
call fcn.00402970
add esp, 0xc
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x4031c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push esi
push edi
mov ecx, 5
mov esi, 0x42e9e8
lea edi, [ebp - 0x14]
rep movsd dword es:[edi], dword [esi]
mov byte [ebp - 0x14], 0x52
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [0x42f0c8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f0e0], eax
push 0x42e9d8
call fcn.00402f30
add esp, 4
push eax
mov edx, dword [0x42f0c8]
push edx
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x42f0d4], eax
mov dword [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], 0x4e72454b
mov dword [ebp - 0x1c], 0x32336c65
lea ecx, [ebp - 0x20]
push ecx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x403b20
Capabilities:
Delete registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x634
push edi
mov byte [ebp - 0x240], 0
mov ecx, 0x8e
xor eax, eax
lea edi, [ebp - 0x23f]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
jmp 0x403b5f
mov ecx, dword [ebp - 4]
push ecx
call fcn.004014e0
add esp, 4
mov edx, dword [ebp - 4]
lea eax, [edx + eax + 1]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
movsx edx, byte [ecx]
test edx, edx
je 0x403cbd
mov eax, dword [ebp - 4]
movsx ecx, byte [eax + 1]
test ecx, ecx
je 0x403cbd
mov edx, dword [ebp - 4]
push edx
call fcn.00402ef0
add esp, 4
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.004014e0
add esp, 4
push eax
mov ecx, dword [ebp - 4]
push ecx
call fcn.004018a0
add esp, 0xc
mov dword [ebp - 0x634], eax
cmp dword [ebp - 0x634], 0x5cf345ca
je 0x403bcd
cmp dword [ebp - 0x634], 0x642d3b30
je 0x403bcd
cmp dword [ebp - 0x634], 0x8a705f51
jne 0x403bd2
jmp 0x403b49
mov edx, dword [0x42e968]
push edx
lea eax, [ebp - 0x240]
push eax
call fcn.00402a30
add esp, 8
mov ecx, dword [ebp - 4]
push ecx
lea edx, [ebp - 0x240]
push edx
call section.CODE
add esp, 8
lea eax, [ebp - 0x62c]
push eax
lea ecx, [ebp - 0x62c]
push ecx
lea edx, [ebp - 0x62c]
push edx
push 0x42eb78
lea eax, [ebp - 0x240]
push eax
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x403c30
jmp 0x403b49
lea ecx, [ebp - 0x240]
push ecx
push closesocket
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyA]
push 0x42f6ec
push 0x120
push 0x42eb70
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp - 4]
push edx
call fcn.00401f10
add esp, 0x1c
mov dword [ebp - 0x630], eax
cmp dword [ebp - 0x630], 0
je 0x403cb8
mov eax, dword [ebp - 0x630]
push eax
call fcn.004034c0
add esp, 4
and eax, 0xff
test eax, eax
je 0x403c94
mov al, 1
jmp 0x403cbf
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x630]
push ecx
call dword [0x42ec9c]
mov edx, dword [ebp + 0x14]
push edx
call fcn.004010a0
add esp, 4
jmp 0x403b49
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x100321bb
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 1
call fcn.10031f1a
add esp, 0xc
mov eax, dword [ebp - 0x10]
movzx eax, word [eax]
cmp eax, 0x5a4d
je 0x100321eb
xor eax, eax
jmp 0x10032328
lea eax, [ebp - 8]
push eax
push 1
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 8]
push eax
push 0x4d14
push 0x33dd
call fcn.10031f5f
add esp, 0x18
mov eax, dword [ebp - 8]
cmp dword [eax], 0x4550
je 0x1003221d
xor eax, eax
jmp 0x10032328
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0x7b7
push 1
call fcn.10031ff4
add esp, 0x10
cmp dword [ebp - 0xc], 0
jne 0x10032241
xor eax, eax
jmp 0x10032328
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 8]
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0xc]
push eax
push 1
push dword [ebp - 0x10]
call fcn.10031d6c
add esp, 0x18
lea eax, [ebp + 8]
push eax
lea eax, [ebp - 4]
push eax
push 0x5fad
lea eax, [ebp - 8]
push eax
push 1
call fcn.1003207c
add esp, 0x14
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
sub ecx, dword [eax + 0x34]
mov dword [ebp - 0x14], ecx
je 0x100322a2
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 4]
push eax
push 1
push 0x3df6
push 0x2e4d
call fcn.100320e9
add esp, 0x14
push dword [ebp - 4]
call fcn.100314ec
pop ecx
test eax, eax
jne 0x100322b3
xor eax, eax
jmp 0x10032328
push 0x1679
push 0
push dword [ebp - 4]
call fcn.10029b19
add esp, 0xc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp dword [eax + 0x28], 0
je 0x10032310
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0x18], ecx
jne 0x100322e4
xor eax, eax
jmp 0x10032328
push 0
push 1
push 0xdeadbeef
call dword [ebp - 0x18]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jne 0x100322fd
xor eax, eax
jmp 0x10032328
lea eax, [ebp - 4]
push eax
push 0x52d5
push 1
call fcn.10032163
add esp, 0xc
mov eax, dword [ebp - 4]
cmp dword [eax + 0x10], 0
je 0x10032321
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], eax
jmp 0x10032325
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x1c]
mov esp, ebp
pop ebp
ret
Function at 0x10046980
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 8]
test eax, eax
je 0x10046ad8
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100187f4
cmp dword [eax], 1
jne 0x10046a01
mov dword [ebp - 0x10], 1
jmp 0x10046a05
and dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100187f4
mov ecx, dword [ebp - 0x10]
imul ecx, dword [eax]
imul eax, ecx, 0x94bb
test eax, eax
je 0x10046a45
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100187f4
cmp dword [eax], 0
je 0x10046a45
mov dword [ebp - 0x14], 1
jmp 0x10046a49
and dword [ebp - 0x14], 0
cmp dword [ebp - 0x14], 0x3388
jge 0x10046a5b
mov dword [ebp - 0x18], 1
jmp 0x10046a5f
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100187f4
mov ecx, dword [ebp - 0x18]
add ecx, 0x1932
mov edx, dword [ebp - 0x40]
imul ecx, dword [edx]
cmp dword [eax], ecx
je 0x10046a88
mov dword [ebp - 0xc], 1
jmp 0x10046a8c
and dword [ebp - 0xc], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100187f4
mov eax, dword [eax]
cmp eax, dword [ebp - 0xc]
jle 0x10046ab5
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 8]
call fcn.100187f4
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx]
cmp dword [eax], ecx
je 0x10046aca
mov dword [ebp - 0x1c], 1
jmp 0x10046ace
and dword [ebp - 0x1c], 0
mov eax, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
jmp 0x10046ae9
push 0x1ab7
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreatePipe]
mov esp, ebp
pop ebp
ret
Function at 0x10060530
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 5]
and ecx, 0xf
movzx edx, byte [0x1068055c]
or ecx, edx
mov byte [ebp - 1], cl
movzx ax, byte [ebp - 1]
movzx ecx, ax
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov eax, dword [ebp - 8]
movzx ecx, byte [eax + 4]
push ecx
push 0x10680690
call fcn.1005f800
add esp, 8
mov esp, ebp
pop ebp
ret 4

Function at 0x10060750
Capabilities:
Manipulate console buffer

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x10094340]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
mov word [ebp - 0x20], ax
xor ecx, ecx
mov word [ebp - 0x1e], cx
cmp dword [ebp + 8], 0xffffffff
jne 0x10060774
jmp 0x100607e3
lea edx, [ebp - 0x1c]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
test eax, eax
jne 0x10060788
jmp 0x100607e3
movsx ecx, word [ebp - 0x1c]
movsx edx, word [ebp - 0x1a]
imul ecx, edx
mov dword [ebp - 0x24], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
push 0x20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputCharacterA]
test eax, eax
jne 0x100607b4
jmp 0x100607e3
lea ecx, [ebp - 0x28]
push ecx
mov edx, dword [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x24]
push eax
movzx ecx, word [ebp - 0x14]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FillConsoleOutputAttribute]
test eax, eax
jne 0x100607d5
jmp 0x100607e3
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SetConsoleCursorPosition]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call main
mov esp, ebp
pop ebp
ret
Function at 0x1008aa69
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10094340]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.1007bae4
mov dword [ebp - 0x14], eax
cmp dword [0x10681744], esi
jne 0x1008ab5c
push 0x800
push esi
push 0x10007dbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x1008aae9
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1008ac3c
push esi
push esi
push 0x10007dbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x1008ac3c
push 0x10007dd4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1008ac3c
push eax
call ebx
push 0x10007de0
push edi
mov dword [0x10681744], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007df0
push edi
mov dword [0x10681748], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x10007e04
push edi
mov dword [0x1068174c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10681754], eax
test eax, eax
je 0x1008ab59
push 0x10007e20
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x10681750], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1008ab81
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1008ab74
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x1008ab96
push 4
pop eax
jmp 0x1008ac3e
cmp dword [ebp - 0x14], esi
je 0x1008ab96
push dword [0x10681744]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1008ab7b
mov eax, dword [0x10681750]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x1008abf4
cmp dword [0x10681754], edi
je 0x1008abf4
push eax
call ebx
push dword [0x10681754]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1008abf4
test eax, eax
je 0x1008abf4
call ecx
test eax, eax
je 0x1008abe9
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x1008abe9
test byte [ebp - 8], 1
jne 0x1008abf4
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x1008ac24
mov eax, dword [0x10681748]
cmp eax, edi
je 0x1008ac21
push eax
call ebx
test eax, eax
je 0x1008ac21
call eax
mov esi, eax
test esi, esi
je 0x1008ac21
mov eax, dword [0x1068174c]
cmp eax, edi
je 0x1008ac21
push eax
call ebx
test eax, eax
je 0x1008ac21
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x10681744]
call ebx
test eax, eax
je 0x1008ac3c
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x1008ac3e
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call main
mov esp, ebp
pop ebp
ret
Function at 0x40b15a
Capabilities:
Parse pe header

Disassembly:
mov eax, dword [pe_dos_header]
mov eax, dword ds:[eax + 0x34]
mov ebp, dword ds:[eax + 0xb8]
jmp 0x40b168
push eax
push ecx
push esi
push ebp
mov eax, dword fs:[0x30]
test eax, eax
js 0x40b14a
mov eax, dword ds:[eax + 0xc]
mov esi, dword ds:[eax + 0x1c]
lodsd eax, dword [esi]
mov ebp, dword ds:[eax + 8]
mov dword [ebx + 0x60], ebp
mov eax, ebp
cmp word [eax], 0x5a4d
jne 0x40b145
add eax, 0x3c
mov ecx, dword [eax]
add ecx, dword [ebx + 0x60]
cmp word [ecx], 0x4550
jne 0x40b145
add ecx, 0x78
mov esi, dword [ecx]
add esi, dword [ebx + 0x60]
add esi, 0x18
lodsd eax, dword [esi]
mov dword [ebx + 0x64], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x68], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x6c], eax
lodsd eax, dword [esi]
add eax, dword [ebx + 0x60]
mov dword [ebx + 0x70], eax
pop ebp
pop esi
pop ecx
pop eax
ret

Function at 0x40b1d2
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
jmp edx
mov ecx, dword [ebx + 0x28]
cmp ecx, 1
je 0x40b1c1
mov ecx, ebx
sub ecx, dword [ebx + 4]
xor cx, cx
mov dword [ebx + 0x24], ecx
add ecx, dword [ebx + 8]
mov esi, ecx
mov ecx, dword [ebx + 0xc]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x40b1f5
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov ecx, dword [ebx + 0x24]
add ecx, dword [ebx + 0x1c]
mov esi, ecx
mov ecx, dword [ebx + 0x20]
xor edx, edx
mov eax, dword [ebx + 0x10]
xor dword [esi + edx], eax
add edx, 4
cmp edx, ecx
jl 0x40b285
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov dword [ebx + 0x28], 1
mov ecx, dword [ebx + 0x14]
mov edx, dword [ebx + 0x24]
add edx, ecx
pop ebx
pop ebx
pop ebx
pop ecx
pop eax
pop edi
pop esi
mov dword [esp + 0x34], edx
jmp edx
Function at 0x4320cb
Capabilities:
Create pipe
Get thread local storage value
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2404
call fcn.00441a90
mov eax, dword [0x47b4dc]
mov ecx, dword [0x47af68]
push ebx
push esi
shr eax, 3
xor esi, esi
push edi
cmp eax, esi
jbe 0x4321c5
mov edi, ecx
mov ebx, eax
cmp dword [0x47b4dc], 0x959
jne 0x4321b5
push esi
lea eax, [ebp - 0x1c00]
push eax
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetNumberFormatW]
push 0x430c68
push esi
call dword [sym.imp.KERNEL32.dll_CreateJobObjectW]
push esi
lea eax, [ebp - 0x800]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_EnumDateFormatsW]
push esi
push esi
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessVersion]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetFileShortNameA]
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetProcessShutdownParameters]
push esi
push esi
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_GetTimeFormatW]
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push esi
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
lea eax, [ebp - 0x1400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetVolumeMountPointW]
push esi
lea eax, [ebp - 0xc00]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableA]
push 0x430c8c
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_SetCalendarInfoW]
push esi
lea eax, [ebp - 0x2400]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push edi
call fcn.00431e93
add edi, 8
dec ebx
jne 0x4320f7
pop edi
pop esi
pop ebx
leave
ret
Function at 0x43370c
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
mov eax, 0x4445ed
call fcn.00444460
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
lea ecx, [esi + 4]
mov dword [esi], 0x430e34
call fcn.00434376
xor edi, edi
push 4
mov dword [ebp - 4], edi
call fcn.00435498
mov ebx, eax
pop ecx
cmp ebx, edi
je 0x433754
call fcn.0043424e
mov dword [ebx], eax
call fcn.0043400d
mov ecx, eax
call fcn.00431ad1
mov eax, ebx
jmp 0x433756
xor eax, eax
mov dword [esi + 0x38], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea ecx, [esi + 0x1c]
mov dword [esi + 0x24], ecx
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x2c]
mov dword [esi + 0x34], ecx
mov dword [eax], edi
mov eax, dword [esi + 0x24]
mov dword [eax], edi
mov eax, dword [esi + 0x34]
mov dword [eax], edi
mov eax, dword [esi + 0x10]
mov dword [eax], edi
mov eax, dword [esi + 0x20]
mov dword [eax], edi
mov eax, dword [esi + 0x30]
mov dword [eax], edi
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
pop edi
mov dword [esi], 0x430e8c
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x435f1f
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x446408]
jne 0x435f29
repz ret
jmp fcn.0043af7c
Function at 0x44107a
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x446408]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00439aef
and dword [ebp - 0x14], 0
cmp dword [0x44ced0], 0
mov dword [ebp - 0x18], eax
jne 0x44112d
push 0x405c00
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x4411d5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x405bf4
push ebx
call edi
test eax, eax
je 0x4411d5
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push 0x405be4
push ebx
mov dword [0x44ced0], eax
call edi
push eax
call esi
push 0x405bd0
push ebx
mov dword [0x44ced4], eax
call edi
push eax
call esi
push 0x405bb4
push ebx
mov dword [0x44ced8], eax
call edi
push eax
call esi
mov dword [0x44cee0], eax
test eax, eax
je 0x44112d
push 0x405b9c
push ebx
call edi
push eax
call esi
mov dword [0x44cedc], eax
mov eax, dword [0x44cedc]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x441186
cmp dword [0x44cee0], ecx
je 0x441186
push eax
call esi
push dword [0x44cee0]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x441186
test ebx, ebx
je 0x441186
call edi
test eax, eax
je 0x44117d
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x44117d
test byte [ebp - 8], 1
jne 0x441186
or dword [ebp + 0x10], 0x200000
jmp 0x4411b9
mov eax, dword [0x44ced4]
cmp eax, dword [ebp - 0x18]
je 0x4411b9
push eax
call esi
test eax, eax
je 0x4411b9
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x4411b9
mov eax, dword [0x44ced8]
cmp eax, dword [ebp - 0x18]
je 0x4411b9
push eax
call esi
test eax, eax
je 0x4411b9
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x44ced0]
call esi
test eax, eax
je 0x4411d5
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x4411d7
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00435f1f
leave
ret
Function at 0x401560
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, dword [esp + 0xc]
cmp ebp, 1
push edi
mov edi, ecx
jl 0x40164b
mov eax, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x18]
push ebp
push eax
push esi
call fcn.0040afe0
add esp, 0xc
cmp ebp, 1
jne 0x4015aa
movzx ecx, byte [esi]
movzx edx, byte [edi + 0x20020]
add ecx, 0x100
shl ecx, 8
add ecx, edi
mov al, byte [edx + ecx]
mov byte [esi], al
pop esi
pop edi
pop ebp
ret 0xc
lea ecx, [ebp - 1]
xor eax, eax
test ecx, ecx
jle 0x4015e0
push ebx
jmp 0x4015c0
movzx edx, byte [eax + esi]
movzx ebx, byte [eax + esi + 1]
add edx, 0x100
shl edx, 8
add edx, edi
mov dl, byte [ebx + edx]
mov byte [eax + esi], dl
inc eax
cmp eax, ecx
jl 0x4015c0
pop ebx
movzx eax, byte [edi + 0x20020]
movzx edx, byte [esi + ebp - 1]
xor eax, 0x55
add edx, 0x100
add eax, edi
shl edx, 8
mov al, byte [edx + eax]
mov byte [esi + ebp - 1], al
mov eax, ecx
cmp eax, 1
jl 0x401630
jmp 0x401610
movzx edx, byte [eax + esi]
movzx ecx, byte [eax + esi - 1]
add edx, 0x100
shl edx, 8
add ecx, edi
mov cl, byte [edx + ecx]
mov byte [eax + esi], cl
dec eax
cmp eax, 1
jge 0x401610
movzx edx, byte [esi]
movzx eax, byte [edi + 0x20020]
add edx, 0x100
shl edx, 8
add edx, edi
mov cl, byte [eax + edx]
mov byte [esi], cl
pop esi
pop edi
pop ebp
ret 0xc