joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1003866d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x30
mov eax, dword [0x10058040]
xor eax, esp
mov dword [esp + 0x2c], eax
movaps xmm0, xmmword [0x10053d40]
xor edx, edx
movups xmmword [esp], xmm0
mov dword [esp + 0x20], 0x15031e1f
movaps xmm0, xmmword [0x10053bc0]
movups xmmword [esp + 0x10], xmm0
mov dword [esp + 0x24], 0x6123651
mov dword [esp + 0x28], 0x100761e
mov al, dl
add al, 0x4d
xor byte [esp + edx], al
inc edx
cmp edx, 0x2a
jb 0x100386b2
push ecx
lea eax, [esp + 4]
mov byte [esp + 0x2f], 0
push eax
mov edx, 0x10105afc
call fcn.1002e851
pop ecx
pop ecx
test al, al
je 0x1003871f
mov eax, dword [0x10105afc]
sub eax, 0
je 0x10038714
sub eax, 1
je 0x1003870d
sub eax, 1
je 0x10038706
sub eax, 1
je 0x100386ff
sub eax, 1
jne 0x1003871b
call fcn.100416a7
jmp 0x1003871b
call fcn.10041d11
jmp 0x1003871b
call fcn.10040b1f
jmp 0x1003871b
call fcn.1004119b
jmp 0x1003871b
xor ecx, ecx
call fcn.100401a9
mov al, 1
jmp 0x10038721
xor al, al
mov ecx, dword [esp + 0x2c]
xor ecx, esp
call fcn.10046e52
mov esp, ebp
pop ebp
ret
Function at 0x1003b0d4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x34], 0
je 0x1003b0f1
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x33
jb 0x1003b0df
mov byte [esi + 0x34], 0
pop esi
ret

Function at 0x1003b0f3
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x24], 0
je 0x1003b110
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x23
jb 0x1003b0fe
mov byte [esi + 0x24], 0
pop esi
ret

Function at 0x1003b112
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x1a5], 0
je 0x1003b138
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x1a4
jb 0x1003b120
mov byte [esi + 0x1a5], 0
pop esi
ret

Function at 0x1003b13a
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2c], 0
je 0x1003b157
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x2b
jb 0x1003b145
mov byte [esi + 0x2c], 0
pop esi
ret

Function at 0x1003b159
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x22], 0
je 0x1003b176
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x21
jb 0x1003b164
mov byte [esi + 0x22], 0
pop esi
ret

Function at 0x1003b178
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x5f], 0
je 0x1003b195
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x5e
jb 0x1003b183
mov byte [esi + 0x5f], 0
pop esi
ret

Function at 0x1003b197
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x3c], 0
je 0x1003b1b4
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x3b
jb 0x1003b1a2
mov byte [esi + 0x3c], 0
pop esi
ret

Function at 0x1003b1b6
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x68], 0
je 0x1003b1d3
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x67
jb 0x1003b1c1
mov byte [esi + 0x68], 0
pop esi
ret

Function at 0x1003b1d5
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x41], 0
je 0x1003b1f2
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x40
jb 0x1003b1e0
mov byte [esi + 0x41], 0
pop esi
ret

Function at 0x1003b1f4
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x8b], 0
je 0x1003b21a
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x8a
jb 0x1003b202
mov byte [esi + 0x8b], 0
pop esi
ret

Function at 0x1003b21c
Capabilities:
Encode data using xor

Disassembly:
push esi
mov esi, ecx
cmp byte [esi + 0x2b], 0
je 0x1003b239
xor edx, edx
lea ecx, [edx + esi]
lea eax, [edx + 0x4d]
xor byte [ecx], al
inc edx
cmp edx, 0x2a
jb 0x1003b227
mov byte [esi + 0x2b], 0
pop esi
ret
Function at 0x40319c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x4031ab
pop dword [ebp - 0x38]
mov eax, 0x4031ab
sub dword [ebp - 0x38], eax
push 0x40
push 0x1000
push 0x4e73a
push 0
mov eax, 0xa79b8f73
sub eax, 0xa756dcc3
add eax, dword [ebp - 0x38]
call dword [eax]
mov ecx, 0x8f6917e6
sub ecx, 0x8f68d6b2
mov esi, eax
mov edi, 0x488e00
add edi, dword [ebp - 0x38]
mov edx, 0x96dc7e74
xor dword [ebp - 4], esi
mov ebx, dword [edi]
xor dword [ebp - 0x1c], eax
sub ebx, edx
sub dword [ebp - 0x2c], 0xfd6947c5
mov dword [esi], ebx
sub dword [ebp - 0x30], ebx
add esi, 0xa19c142d
sub esi, 0xa19c1429
add edi, 0x1e05fcfc
add edi, 0xe1fa0308
loop 0x4031f9
add eax, 0xfe470425
sub eax, 0xfe460c82
mov ebx, eax
add eax, 0x40021f29
add eax, 0xbffde0dc
mov ecx, 0xb5218849
add ecx, 0x4b1e77b7
add ecx, dword [ebp - 0x38]
call ebx
leave
ret

Function at 0x4400c9
Capabilities:
Encrypt data using dpapi

Disassembly:
push esi
push edi
push 0x46c6d0
push str.AdvApi32.dll
call main
mov edi, dword [sym.imp.kernel32.dll_GetProcAddress]
mov esi, eax
test esi, esi
js 0x44010c
push str.SystemFunction040
push dword [0x46c6d0]
call edi
push str.SystemFunction041
push dword [0x46c6d0]
mov dword [0x46c6c0], eax
call edi
mov dword [0x46c6c4], eax
jmp 0x440111
mov eax, dword [0x46c6c4]
cmp dword [0x46c6c0], 0
je 0x440122
test eax, eax
jne 0x4401c9
push 0x46c6d4
push str.Crypt32.dll
call main
mov esi, eax
test esi, esi
js 0x4401d3
push str.CryptProtectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c0], 0
mov dword [0x46c6c8], eax
jne 0x440187
test eax, eax
jne 0x440187
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x440171
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x440178
mov esi, 0x80004005
push esi
push 0x28
push str.c:_agent_work138_s_srclibsdutilcryputil.cpp
call fcn.004038f5
jmp 0x4401d3
push str.CryptUnprotectMemory
push dword [0x46c6d4]
call edi
cmp dword [0x46c6c4], 0
mov dword [0x46c6cc], eax
jne 0x4401c9
test eax, eax
jne 0x4401c9
call dword [sym.imp.kernel32.dll_GetLastError]
mov esi, eax
test esi, esi
jle 0x4401bd
movzx esi, si
or esi, 0x80070000
test esi, esi
js 0x4401c4
mov esi, 0x80004005
push esi
push 0x2d
jmp 0x44017b
mov dword [0x46c6d8], 1
pop edi
mov eax, esi
pop esi
ret
Function at 0x40f24c
Capabilities:
Create pipe

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x84], edi
jne 0x40f2e9
push edi
xor ebx, ebx
mov dword [esi + 0x84], 2
inc ebx
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateMutexW]
mov dword [esi + 0x44], eax
test eax, eax
je 0x40f2e9
push edi
push edi
push ebx
push edi
call dword [sym.imp.kernel32.dll_CreateEventW]
mov dword [esi + 0x9c], eax
test eax, eax
je 0x40f2e9
push 4
push 0xffffffffffffffff
push esi
push 0x40fa03
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.kernel32.dll_RegisterWaitForSingleObject]
test eax, eax
je 0x40f2e9
lea eax, [esi + 0x20]
cmp dword [eax + 0x14], 8
jb 0x40f2b4
mov eax, dword [eax]
push dword [esi + 0x38]
push edi
push 0x40
push 0x40
push ebx
push 6
push 0x40080003
push eax
call dword [sym.imp.kernel32.dll_CreateNamedPipeW]
mov dword [esi + 0x3c], eax
cmp eax, 0xffffffff
je 0x40f2e9
push dword [esi + 0x9c]
call dword [sym.imp.kernel32.dll_SetEvent]
test eax, eax
jne 0x40f2ef
mov dword [esi + 0x84], ebx
xor al, al
pop edi
pop esi
pop ebx
ret
mov al, bl
jmp 0x40f2eb

Function at 0x4100e1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
pushal
call 0x4100f0
pop dword [ebp - 0x24]
mov eax, 0x5c60deeb
add eax, 0xa3e02205
sub dword [ebp - 0x24], eax
push 0x40
push 0x1000
push 0x44d25
push 0
mov eax, sym.imp.kernel32.dll_VirtualAlloc
add eax, dword [ebp - 0x24]
call dword [eax]
mov ecx, 0x8bb8a9c0
sub ecx, 0x8bb85b6c
mov ebx, eax
mov esi, 0x5fba2dc6
add esi, 0xa08a7a3a
add esi, dword [ebp - 0x24]
mov edi, 0x13351550
add edi, 0x9bcc7d36
mov dword [ebp - 0x10], 0x8a3848e8
mov edx, dword [esi]
sub dword [ebp - 0x14], 0xf709b1d6
sub edx, edi
xor dword [ebp - 0x14], ebx
mov dword [ebx], edx
add dword [ebp - 0x10], ebx
add ebx, 4
add esi, 0xb19a20f8
add esi, 0x4e65df0c
loop 0x41014a
add eax, 0x12c23
mov ebx, eax
add eax, 0xd764040a
sub eax, 0xd7640405
mov ecx, 0xcea7cec7
sub ecx, 0xce67cec7
add ecx, dword [ebp - 0x24]
call ebx
leave
ret

Function at 0x414640
Capabilities:
Identify system language via api

Disassembly:
push ebx
mov ebx, ecx
push esi
test dl, dl
je 0x414650
call dword [sym.imp.kernel32.dll_GetSystemDefaultLangID]
jmp 0x414656
call dword [sym.imp.kernel32.dll_GetUserDefaultLangID]
xor edx, edx
movzx esi, ax
mov ecx, 0x409
push edi
mov edi, edx
mov eax, ecx
cmp si, ax
je 0x41467e
inc edi
imul eax, edi, 0x1a
movzx eax, word [eax + 0x439830]
test ax, ax
jne 0x414665
mov esi, ecx
jmp 0x414681
movzx esi, si
pop edi
cmp cx, si
je 0x41469e
inc edx
imul eax, edx, 0x1a
movzx ecx, word [eax + 0x439830]
test cx, cx
jne 0x414682
mov eax, 0x438338
jmp 0x4146a6
imul eax, edx, 0x1a
add eax, 0x439832
push eax
mov ecx, ebx
call main
pop esi
mov eax, ebx
pop ebx
ret
Function at 0x401007
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x452708]
push esi
mov esi, dword [ebx + 4]
mov dword [ebp - 0x2c], eax
mov eax, dword [0x45270c]
push edi
mov edi, dword [ebx]
xor edx, edx
mov dword [ebp - 0x30], eax
lea eax, [ebp - 8]
mov dword [ebp - 0x18], edi
mov dword [ebp - 8], edx
mov dword [ebp - 0x34], 0x9e3779b9
call fcn.00401000
mov eax, dword [0x452710]
add dword [ebp - 8], 0x23f
mov dword [ebp - 0x24], eax
mov eax, dword [0x452714]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x20], 0x20
mov dword [ebp - 0x10], 2
add dword [ebp - 0x10], 3
mov eax, edi
shl eax, 4
cmp dword [0x461954], 0xc
mov dword [ebp - 4], eax
jne 0x401085
push edx
lea eax, [ebp - 0x38]
push eax
push edx
push edx
push edx
call dword [0x44d054]
xor edx, edx
mov eax, dword [ebp - 0x24]
add dword [ebp - 4], eax
mov eax, dword [0x461954]
cmp eax, 0xfa9
jne 0x4010a1
mov dword [0x461950], 0xedeb2e40
cmp eax, 0x3eb
jne 0x4010c2
push edx
call dword [0x44d00c]
push 0
push 0
call dword [0x44d004]
and dword [0x4618a8], 0
xor edx, edx
mov eax, dword [ebp - 8]
add eax, edi
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
shr eax, 5
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x28]
add dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
mov dword [0x46194c], 0xf4ea3dee
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x1c]
add dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0xc]
xor eax, dword [ebp - 0x14]
sub esi, eax
mov dword [ebp - 0xc], eax
mov eax, esi
shl eax, 4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x2c]
add dword [ebp - 4], eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x10]
add eax, esi
mov dword [ebp - 0x1c], eax
mov eax, esi
shr eax, cl
add eax, dword [ebp - 0x30]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
xor eax, dword [ebp - 0xc]
sub edi, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], edi
mov eax, dword [ebp - 0x34]
sub dword [ebp - 8], eax
dec dword [ebp - 0x20]
jne 0x401059
mov dword [ebx], edi
pop edi
mov dword [ebx + 4], esi
pop esi
leave
ret
Function at 0x401160
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1810
call 0x40ebc0
push ebx
push esi
xor esi, esi
cmp dword [0x461954], 0x93
push edi
jne 0x4011c9
push esi
push esi
call dword [0x44d034]
push esi
push esi
push esi
push esi
call dword [0x44d040]
push esi
call dword [0x44d058]
push esi
push esi
push esi
push esi
call fcn.00401cba
push esi
push esi
call fcn.00401cd7
push esi
call fcn.004019e0
push esi
push esi
call fcn.00401a0f
add esp, 0x24
call fcn.00401152
push esi
call 0x4021a9
pop ecx
push esi
call 0x402459
add dword [0x461954], 0x1134b
push dword [0x461954]
mov eax, dword [0x455030]
push esi
mov dword [0x4623b8], eax
call dword [0x44d030]
lea ecx, [ebp - 4]
push ecx
push 0x40
push dword [0x461954]
mov dword [0x4618ac], eax
push eax
call dword [0x44d090]
mov edi, dword [0x44d198]
mov ebx, 0x29156e
push esi
lea eax, [ebp - 0x1010]
push eax
call edi
dec ebx
jne 0x40120d
cmp dword [0x461954], esi
jbe 0x401264
mov eax, dword [0x4623b8]
mov al, byte [eax + ebx + 0x1134b]
mov ecx, dword [0x4618ac]
mov byte [ecx + ebx], al
cmp dword [0x461954], 0x490
jne 0x40125b
push esi
push esi
call dword [0x44d0a4]
push esi
push esi
push esi
call dword [0x44d068]
push esi
call dword [0x44d074]
inc ebx
cmp ebx, dword [0x461954]
jb 0x401222
xor ebx, ebx
mov eax, dword [0x461954]
add eax, ebx
cmp eax, 0x8d
jne 0x4012d0
push 0x44e714
call dword [0x44d06c]
push esi
lea eax, [ebp - 0x1010]
push eax
call edi
push esi
push esi
push esi
call dword [0x44d014]
push esi
lea eax, [ebp - 0x810]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push esi
lea eax, [ebp - 0x1810]
push eax
push esi
call dword [0x44d098]
push esi
call dword [0x44d088]
push esi
push esi
push esi
call dword [0x44d018]
push 0x44e730
call dword [0x44d070]
inc ebx
cmp ebx, 0x38681
jl 0x401266
mov eax, dword [0x461954]
mov ecx, dword [0x4618ac]
shr eax, 3
cmp eax, esi
jbe 0x40131d
mov ebx, ecx
mov edi, eax
cmp dword [0x461954], 0x959
jne 0x401312
push esi
lea eax, [ebp - 0x410]
push eax
call dword [0x44d02c]
push esi
push esi
push esi
call dword [0x44d08c]
call fcn.00401007
add ebx, 8
dec edi
jne 0x4012ef
xor edi, edi
push esi
call dword [0x44d05c]
cmp edi, 0x62
jne 0x40133e
mov dword [ebp - 8], esi
add dword [ebp - 8], 0
mov eax, dword [ebp - 8]
add dword [0x4618ac], eax
inc edi
cmp edi, 0x674db
jl 0x40131f
push 0x7b
pop edi
cmp dword [0x461954], 0x86
jne 0x4013b0
push esi
lea eax, [ebp - 0x410]
push eax
push esi
call dword [0x44d010]
push esi
call fcn.00401764
call dword [0x44d080]
push esi
call dword [0x44d078]
lea eax, [ebp - 0xc10]
push eax
push esi
push esi
call dword [0x44d024]
push esi
push 0x44e798
push 0x44e7b8
call dword [0x44d020]
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1810]
push eax
call dword [0x44d01c]
push esi
call dword [section..rdata]
dec edi
jne 0x40134a
push 0x44e7d8
call dword [0x44d03c]
call dword [0x4618ac]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4099a4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409a77
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x409a90
push ebx
push 0x409a9c
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409a24
mov al, 0x69
call fcn.00409648
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409978
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x409a2d
call fcn.00409978
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409a7e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409b30
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
jmp 0x409bd9
cmp dword [esi + 0x10], 0x1000
jne 0x409bc5
test byte [esi + 0x15], 1
jne 0x409bc5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409b84
cmp eax, 2
je 0x409b84
cmp eax, 0x10
je 0x409b84
cmp eax, 0x20
jne 0x409b99
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409b99
mov bl, 1
xor ebp, ebp
jmp 0x409baa
mov eax, dword [esi]
add eax, ebp
call fcn.00409b28
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409b9d
test bl, bl
je 0x409bc5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409be4
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409b5c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
pop eax
nop
nop
nop
add eax, 0x40729f
nop
nop
sub eax, 0x407245
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x402a04
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.00404048
test esi, esi
jne 0x402a3a
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.00404138
jmp 0x402a58
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00402918
mov edi, eax
test esi, esi
je 0x402a58
cmp dword [ebx], 0
je 0x402a58
dec esi
jmp 0x402a41
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4030ec
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x484020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403184
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403164
xor eax, eax
push ebp
push 0x40315d
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 0x4031a0
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 0x403164
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x484020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x484020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403e48
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x487048], 0
je 0x403ea9
cmp word [0x48721c], 0xd7b2
jne 0x403e71
cmp dword [0x487224], 0
jbe 0x403e71
mov eax, 0x487218
call dword [0x487234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48406c
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 0x403ed0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x484030], 0
jne 0x403ec5
push 0
push 0x484064
push 0x48406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x403ffc
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.004026dc
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x487049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403fc4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x40540c
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40563c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40548f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40563c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40548f
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405658
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405518
xor eax, eax
push ebp
push 0x405511
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405254
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054f6
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405678
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4054f6
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405518
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x405632
cmp byte [ebp - 0xd], 0
jne 0x40555f
cmp byte [ebp - 0x12], 0
je 0x405632
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405578
dec ebx
cmp byte [ebx], 0x2e
je 0x405587
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405577
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405632
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4055c4
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405632
cmp byte [ebp - 0xd], 0
je 0x405632
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x405632
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret