joyce8/EMBER2024-capa huggingface dataset:
Function at 0x470c00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1818
call fcn.004e1e80
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x414]
push 0x410
push eax
call fcn.00470a60
mov esi, eax
add esp, 8
test esi, esi
js 0x470e2e
lea eax, [ebp - 0x414]
push str.__1_
push eax
call fcn.004e5a94
add esp, 8
test eax, eax
jne 0x470c89
lea eax, [ebp - 0x414]
push 0x529da0
push eax
call fcn.004e5a94
add esp, 8
test eax, eax
jne 0x470c89
push edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x17c4]
push str._s__ws
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
jmp 0x470caf
xor ecx, ecx
mov word [eax], cx
add eax, 8
push eax
push edi
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x17c4]
push str._s_ws_s
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
mov eax, 0x22
cmp ax, word [ebp - 0x414]
jne 0x470d2d
push eax
lea eax, [ebp - 0x412]
push eax
call fcn.004e5d17
mov edi, eax
add esp, 8
test edi, edi
jne 0x470cf8
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470ce0
sub ecx, edx
lea edi, [ebp - 0x414]
sar ecx, 1
lea edi, [edi + ecx*2]
lea eax, [ebp - 0x412]
sub edi, eax
sar edi, 1
push edi
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004f5136
add edi, edi
add esp, 0xc
cmp edi, 0x410
jae 0x470e3e
xor eax, eax
mov word [ebp + edi - 0x824], ax
jmp 0x470d8c
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470d36
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea eax, [ebp - 0x824]
push eax
call fcn.004f5136
lea ecx, [ebp - 0x414]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x470d65
sub ecx, edx
sar ecx, 1
add ecx, ecx
cmp ecx, 0x410
jae 0x470e3e
xor eax, eax
mov word [ebp + ecx - 0x824], ax
push 0x44
lea eax, [ebp - 0x1818]
xorps xmm0, xmm0
push 0
push eax
movups xmmword [ebp - 0x17d4], xmm0
call fcn.004e4ff0
add esp, 0xc
mov dword [ebp - 0x1818], 0x44
lea eax, [ebp - 0x17d4]
push eax
lea eax, [ebp - 0x1818]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x17c4]
push eax
lea eax, [ebp - 0x824]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x470e0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x470e2c
movzx esi, si
or esi, 0x80070000
pop edi
mov eax, esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x17d0]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x470e1f
push eax
call edi
mov eax, dword [ebp - 0x17d4]
test eax, eax
je 0x470e2c
push eax
call edi
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
call fcn.004e2042
int3
Function at 0x474ba0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push 0x528ef0
push dword [ebp + 8]
push eax
call fcn.004f613a
add esp, 0xc
test eax, eax
je 0x474bd4
push 0x51d71c
push str.....UTILencryptionencryptionBinaryFile.cpp
call fcn.004688c0
add esp, 8
mov esp, ebp
pop ebp
ret
push dword [ebp - 4]
lea eax, [ebp - 8]
push 1
push 4
push eax
call fcn.004f64cc
add esp, 0x10
cmp eax, 1
je 0x474c02
push 0x5158a8
push str.....UTILencryptionencryptionBinaryFile.cpp
call fcn.004688c0
add esp, 8
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp - 8]
push dword [ebp - 4]
mov dword [ecx], eax
call fcn.004f3f63
add esp, 4
test eax, eax
je 0x474c2f
push 0x51d87c
push str.....UTILencryptionencryptionBinaryFile.cpp
call fcn.004688c0
add esp, 8
mov esp, ebp
pop ebp
ret
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x475620
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x40c], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
test eax, eax
jne 0x475656
push 0x515920
jmp 0x4757b8
test edi, edi
je 0x4757b3
test ebx, ebx
je 0x4757b3
test esi, esi
je 0x4757b3
lea eax, [ebp - 0x408]
push eax
push edi
call fcn.0045ca70
add esp, 8
test eax, eax
je 0x47568c
push 0x515930
jmp 0x4757b8
cmp dword [ebp - 0x408], 0
jne 0x47569f
push 0x515938
jmp 0x4757b8
lea eax, [ebp - 0x408]
push eax
push ebx
call fcn.0045ca70
add esp, 8
test eax, eax
je 0x4756bd
push 0x515cd4
jmp 0x4757b8
cmp dword [ebp - 0x408], 0
jne 0x4756d0
push 0x54af20
jmp 0x4757b8
push esi
call fcn.0045bdf0
add esp, 4
test eax, eax
je 0x4756e7
push 0x517ab0
jmp 0x4757b8
mov eax, dword [ebp - 0x40c]
push dword [eax]
lea eax, [ebp - 0x410]
push eax
push esi
call fcn.0045e520
add esp, 0xc
test eax, eax
je 0x47570d
push 0x5182c8
jmp 0x4757b8
push esi
push edi
push ebx
lea eax, [ebp - 0x404]
push str.__s___o_X___s__.___s__
push eax
call fcn.00401820
push 0x44
lea eax, [ebp - 0x464]
push 0
push eax
call fcn.004e4ff0
add esp, 0x20
mov dword [ebp - 0x464], 0x44
lea eax, [ebp - 0x420]
mov dword [ebp - 0x438], 1
push eax
lea eax, [ebp - 0x464]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x404]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x47577c
push 0x518304
jmp 0x4757b8
push 0xffffffffffffffff
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x41c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x420]
call esi
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push 0x54af18
push str.....EFFECTSPRELSTPrelstCab.cpp
call fcn.004688c0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
Function at 0x4784c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2058
call fcn.004e1e80
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
test esi, esi
je 0x478658
push str.CABARC.exe
lea eax, [esi + 0x2804]
push eax
lea eax, [esi + 0x3804]
push eax
lea eax, [ebp - 0x1804]
push str._s_s_s
push eax
call fcn.00401820
add esi, 0x5804
lea eax, [ebp - 0x804]
push esi
push 0x528520
push eax
call fcn.00401820
mov ecx, esi
add esp, 0x20
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x478530
sub ecx, edx
sar ecx, 1
cmp ecx, 3
ja 0x478566
push 0x5183f4
push str.....UTILPublishRemixPublishRemixOutput.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push 3
lea eax, [ebp - 0x404]
push esi
push eax
call fcn.004f5136
xor eax, eax
mov word [ebp - 0x3fe], ax
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x404]
push eax
push esi
call fcn.0045bd20
add esp, 0x18
test eax, eax
je 0x4785bb
push 0x522cb8
push str.....UTILPublishRemixPublishRemixOutput.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x804]
push eax
push edi
lea eax, [ebp - 0x1004]
push eax
lea eax, [ebp - 0x1804]
push eax
lea eax, [ebp - 0x2004]
push str.__s___r__p__P___s__n___s____s_
push eax
call fcn.00401820
push 0x44
lea eax, [ebp - 0x2058]
push 0
push eax
call fcn.004e4ff0
add esp, 0x24
mov dword [ebp - 0x2058], 0x44
lea eax, [ebp - 0x2014]
mov dword [ebp - 0x202c], 1
push eax
lea eax, [ebp - 0x2058]
push eax
push 0
push 0
push 0x20
push 0
push 0
push 0
lea eax, [ebp - 0x2004]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x478658
push 0x54b244
push str.....UTILPublishRemixPublishRemixOutput.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004e19a5
mov esp, ebp
pop ebp
ret

Function at 0x479f70
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
push 0x17
mov dword [esi], 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp dword [ebp + 8], 1
jne 0x479f95
xor ecx, ecx
test eax, eax
setne cl
inc ecx
jmp 0x479f9e
mov ecx, eax
neg ecx
sbb ecx, ecx
add ecx, 2
push ecx
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
je 0x479fb0
mov dword [esi], 1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4a9f30
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 0xc]
test ebx, ebx
jne 0x4a9f45
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push 8
push esi
call fcn.004a5ad0
mov edi, eax
add esp, 0xc
mov dword [ebp - 8], edi
test edi, edi
je 0x4a9f9e
test byte [ebp + 0x10], 1
mov eax, dword [ebx]
mov dword [edi], eax
jne 0x4a9f7b
mov ecx, dword [ebx]
mov eax, 1
cmp ecx, eax
jle 0x4a9f7b
add eax, eax
cmp eax, ecx
jl 0x4a9f75
lea eax, [eax + eax*2]
shl eax, 3
push 0
push eax
push esi
call fcn.004a5ad0
add esp, 0xc
mov dword [edi + 4], eax
test eax, eax
jne 0x4a9fa7
push edi
push esi
call fcn.004a5a70
add esp, 8
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx], 0
mov esi, dword [ebx + 4]
mov dword [ebp + 0xc], 0
jle 0x4aa024
lea edi, [eax + 0x10]
sub eax, esi
add eax, 0xfffffff8
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [esi]
push dword [ebp + 8]
call fcn.004a9560
mov ecx, dword [ebp - 4]
mov dword [ecx + esi + 8], eax
push dword [esi + 4]
push dword [ebp + 8]
call fcn.004a5d30
mov dword [edi - 0xc], eax
push dword [esi + 8]
push dword [ebp + 8]
call fcn.004a5d30
mov dword [edi - 8], eax
lea edi, [edi + 0x18]
mov al, byte [esi + 0xc]
lea esi, [esi + 0x18]
and dword [edi - 0x18], 0xfffffffe
add esp, 0x1c
mov byte [edi - 0x1c], al
mov ecx, dword [esi - 8]
xor ecx, dword [edi - 0x18]
and ecx, 2
xor dword [edi - 0x18], ecx
mov eax, dword [esi - 4]
mov dword [edi - 0x14], eax
mov eax, dword [ebp + 0xc]
inc eax
mov dword [ebp + 0xc], eax
cmp eax, dword [ebx]
jl 0x4a9fc1
mov edi, dword [ebp - 8]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4ca3e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
xor eax, eax
mov cl, byte [esi]
test cl, cl
je 0x4ca40e
nop
movzx ecx, cl
lea esi, [esi + 1]
movzx edx, byte [ecx + 0x52c748]
lea ecx, [eax*8]
xor edx, ecx
mov cl, byte [esi]
xor eax, edx
test cl, cl
jne 0x4ca3f0
pop esi
pop ebp
ret

Function at 0x4cd630
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.004b9890

Function at 0x4d8660
Capabilities:
Create http request

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
jne 0x4d8680
push 0x5155e4
push str.....UtilwebwebNet.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
mov eax, dword [ebp + 0x10]
neg eax
mov dword [esi + 0x808], 0
sbb eax, eax
and eax, 0x10000000
push eax
push 0x515cdc
push 0x515cdc
push 0
push dword [ebp + 0x14]
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [esi + 0x818], eax
test eax, eax
je 0x4d86e8
push 0
push eax
call dword [sym.imp.WININET.dll_InternetSetStatusCallbackW]
cmp eax, 0xffffffff
jne 0x4d86d9
push 0x51d5f4
push str.....UtilwebwebNet.cpp
call fcn.004688c0
add esp, 8
pop esi
pop ebp
ret
mov dword [esi + 0x808], 0
xor eax, eax
pop esi
pop ebp
ret
mov dword [esi + 0x808], 1
xor eax, eax
pop esi
pop ebp
ret
Function at 0x4db0c0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe4
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
xorps xmm0, xmm0
mov dword [ebp - 0xe4], 0x8288626b
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xe0], 0x7c7483
movq qword [ebp - 0xcc], xmm0
mov dword [ebp - 0xc4], 0x7b74576b
mov word [ebp - 0xc0], 0x7f
movq qword [ebp - 0xae], xmm0
mov dword [ebp - 0xa6], 0x5c6b0000
mov dword [ebp - 0xa2], 0x70787374
mov byte [ebp - 0x9e], 0
movq qword [ebp - 0x8d], xmm0
mov dword [ebp - 0x85], 0x84726b00
mov dword [ebp - 0x81], 0x817e8281
mov word [ebp - 0x7d], 0x82
mov dword [ebp - 0x6b], 0
mov dword [ebp - 0x67], 0
movq qword [ebp - 0x53], xmm0
mov dword [ebp - 0x4b], 0
mov dword [ebp - 0x47], 0x6b000000
mov dword [ebp - 0x43], 0x757d58
movq qword [ebp - 0x2f], xmm0
mov dword [ebp - 0x27], 0x6b000000
mov dword [ebp - 0x23], 0x757d7e52
mov word [ebp - 0x1f], 0x7678
mov byte [ebp - 0x1d], 0
movq qword [ebp - 0xc], xmm0
movups xmmword [ebp - 0xdc], xmm0
movups xmmword [ebp - 0xbe], xmm0
movups xmmword [ebp - 0x9d], xmm0
movups xmmword [ebp - 0x7b], xmm0
movups xmmword [ebp - 0x63], xmm0
movups xmmword [ebp - 0x3f], xmm0
movups xmmword [ebp - 0x1c], xmm0
test esi, esi
jne 0x4db1d2
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
mov eax, dword [esi + 0x410]
xor edx, edx
add eax, dword [esi + 0x40c]
mov ecx, 7
div ecx
push edi
shl edx, 5
lea edi, [ebp - 0xe4]
push 0
add edi, edx
push 0xf
push edi
call fcn.0045c6f0
add esp, 0xc
test eax, eax
je 0x4db226
push 0x517aa8
push str.....UtilhidehideUtil.cpp
call fcn.004688c0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
push edi
lea eax, [esi + 0x418]
push eax
lea eax, [esi + 0x518]
push 0x5308f8
push eax
call fcn.004147e0
mov ecx, dword [ebp - 4]
add esp, 0x10
xor ecx, ebp
xor eax, eax
pop edi
pop esi
call fcn.004e19a5
mov esp, ebp
pop ebp
ret
Function at 0x4db500
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x138
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x534b10]
movups xmm0, xmmword [str.SoftwareMSExplorer_]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x118], eax
mov al, byte [0x534b14]
push 0x6b
mov byte [ebp - 0x114], al
lea eax, [ebp - 0x113]
push 0
push eax
mov dword [ebp - 0x138], 0x4c89bf72
mov dword [ebp - 0x134], 0x9e15c734
mov dword [ebp - 0x130], 0x5f9b6ad8
mov dword [ebp - 0x12c], 0x732ca5b3
movups xmmword [ebp - 0x128], xmm0
call fcn.004e4ff0
add esp, 0xc
lea edi, [ebp - 0x28]
xor esi, esi
nop dword [eax]
mov eax, dword [ebp + esi*4 - 0x138]
xor eax, dword [ebp + 8]
push eax
push str._08X
push edi
call fcn.004147e0
inc esi
add esp, 0xc
add edi, 8
cmp esi, 4
jl 0x4db580
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0xa8]
movq xmm0, qword [ebp - 0x28]
mov esi, edx
mov dword [ebp - 0x9f], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x9a], eax
mov eax, dword [ebp - 0x18]
movq qword [ebp - 0xa8], xmm0
movq xmm0, qword [ebp - 0x14]
mov dword [ebp - 0x95], eax
mov eax, dword [ebp - 0xc]
mov byte [ebp - 0xa0], 0x2d
mov byte [ebp - 0x9b], 0x2d
mov byte [ebp - 0x96], 0x2d
mov byte [ebp - 0x91], 0x2d
movq qword [ebp - 0x90], xmm0
mov dword [ebp - 0x88], eax
mov byte [ebp - 0x84], 0
nop dword [eax + eax]
mov al, byte [edx]
inc edx
test al, al
jne 0x4db610
lea edi, [ebp - 0x128]
sub edx, esi
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4db620
mov ecx, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebp - 0x128]
dec edi
nop dword [eax]
mov al, byte [edi + 1]
lea edi, [edi + 1]
test al, al
jne 0x4db640
mov ax, word [0x534b20]
lea ecx, [ebp - 0x128]
mov word [edi], ax
mov eax, ecx
sub ebx, eax
nop dword [eax]
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [ebx + ecx - 1], al
test al, al
jne 0x4db660
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret

Function at 0x501263
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00500f26

Function at 0x50126e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.005010a7

Function at 0x504fbe
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00504c7e
Function at 0x50b671
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x114
mov eax, dword [0x55154c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
push 0x20019
xor ebx, ebx
push ebx
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x50b735
push edi
lea eax, [ebp - 0x114]
mov dword [ebp - 0x110], 1
push eax
lea eax, [ebp - 0x108]
mov edi, 0x104
push eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x114], edi
push eax
push ebx
push ebx
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x50b724
cmp dword [ebp - 0x110], 2
lea eax, [ebp - 0x108]
mov byte [ebp - 5], bl
jne 0x50b715
push edi
push esi
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
dec eax
lea ecx, [edi - 1]
cmp ecx, eax
sbb ebx, ebx
inc ebx
jmp 0x50b724
push eax
push edi
push esi
call fcn.0050b749
xor ebx, ebx
test eax, eax
setns bl
push dword [ebp - 0x10c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
jmp 0x50b737
xor eax, eax
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.004e19a5
mov esp, ebp
pop ebp
ret 4
Function at 0x402a94
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004044e0
test esi, esi
jne 0x402aca
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004045d0
jmp 0x402ae8
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029a8
mov edi, eax
test esi, esi
je 0x402ae8
cmp dword [ebx], 0
je 0x402ae8
dec esi
jmp 0x402ad1
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403568
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x48200c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403600
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4035e0
xor eax, eax
push ebp
push 0x4035d9
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x40361c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4035e0
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x48200c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x48200c], ax
mov esp, ebp
pop ebp
ret

Function at 0x4042e0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48504c], 0
je 0x404341
cmp word [0x485220], 0xd7b2
jne 0x404309
cmp dword [0x485228], 0
jbe 0x404309
mov eax, 0x48521c
call dword [0x485238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x482054
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404368
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x48201c], 0
jne 0x40435d
push 0
push 0x482074
push 0x482054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404494
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.004027b0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x48504d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40445c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40b080
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b0b9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004045d0
jmp 0x40b0c2
mov eax, ebx
mov edx, esi
call fcn.00404534
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b0cc
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b0ed
mov al, byte [esp]
jmp 0x40b0ef
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40b774
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40b5ec
mov eax, dword [0x484c64]
cmp byte [eax], 0
je 0x40b7dc
mov eax, dword [0x484a68]
call fcn.00402e84
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.004090f8
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40b824
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40b812
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x484a24]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x485718]
call fcn.00405cc0
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret

Function at 0x40c650
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40c6b4
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404748
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408c04
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c6bb
lea eax, [ebp - 0xc]
call fcn.004044e0
ret

Function at 0x41de98
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041dd0c
dec esi
jne 0x41deba
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret