joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42cb00
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.0041fe1f
and dword [ebp - 4], 0
cmp dword [0x4cd26c], 0
mov ebx, eax
jne 0x42cbb1
push 0x4a5b20
call dword [sym.imp.kernel32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x42cc62
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push 0x4a5b14
push edi
call esi
test eax, eax
je 0x42cc62
push eax
call fcn.0041fdad
mov dword [esp], 0x4a5b04
push edi
mov dword [0x4cd26c], eax
call esi
push eax
call fcn.0041fdad
mov dword [esp], 0x4a5af0
push edi
mov dword [0x4cd270], eax
call esi
push eax
call fcn.0041fdad
mov dword [esp], 0x4a5ad4
push edi
mov dword [0x4cd274], eax
call esi
push eax
call fcn.0041fdad
pop ecx
mov dword [0x4cd27c], eax
test eax, eax
je 0x42cbb1
push 0x4a5abc
push edi
call esi
push eax
call fcn.0041fdad
pop ecx
mov dword [0x4cd278], eax
mov eax, dword [0x4cd278]
cmp eax, ebx
je 0x42cc09
cmp dword [0x4cd27c], ebx
je 0x42cc09
push eax
call fcn.0041fe28
push dword [0x4cd27c]
mov esi, eax
call fcn.0041fe28
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x42cc09
test edi, edi
je 0x42cc09
call esi
test eax, eax
je 0x42cc00
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x42cc00
test byte [ebp - 0xc], 1
jne 0x42cc09
or dword [ebp + 0x10], 0x200000
jmp 0x42cc42
mov eax, dword [0x4cd270]
cmp eax, ebx
je 0x42cc42
push eax
call fcn.0041fe28
pop ecx
test eax, eax
je 0x42cc42
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x42cc42
mov eax, dword [0x4cd274]
cmp eax, ebx
je 0x42cc42
push eax
call fcn.0041fe28
pop ecx
test eax, eax
je 0x42cc42
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4cd26c]
call fcn.0041fe28
pop ecx
test eax, eax
je 0x42cc62
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42cc64
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45d270
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp - 0x14]
cmp dword [eax], 1
jne 0x45d28c
mov ecx, 0xc001
mov word [ebp - 8], cx
jmp 0x45d295
mov edx, 0x8408
mov word [ebp - 8], dx
mov dword [ebp - 0xc], 0
jmp 0x45d2a7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x100
jge 0x45d308
mov cx, word [ebp - 0xc]
mov word [ebp - 4], cx
mov dword [ebp - 0x10], 0
jmp 0x45d2ca
mov edx, dword [ebp - 0x10]
add edx, 1
mov dword [ebp - 0x10], edx
cmp dword [ebp - 0x10], 8
jge 0x45d2f7
movzx eax, word [ebp - 4]
and eax, 1
je 0x45d2eb
movzx ecx, word [ebp - 8]
movzx edx, word [ebp - 4]
sar edx, 1
xor ecx, edx
mov word [ebp - 4], cx
jmp 0x45d2f5
movzx eax, word [ebp - 4]
sar eax, 1
mov word [ebp - 4], ax
jmp 0x45d2c1
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x14]
mov ax, word [ebp - 4]
mov word [edx + ecx*2 + 4], ax
jmp 0x45d29e
mov esp, ebp
pop ebp
ret

Function at 0x45d340
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.kernel32.dll_GetFileAttributesW]
cmp eax, 0x10
jne 0x45d35a
mov al, 1
jmp 0x45d35c
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x470120
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcc
je 0x470158
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x180]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov dword [edx + 0x78], 0
mov eax, dword [ebp + 8]
mov dword [eax + 0x14], 0xcc
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
movzx eax, byte [edx + 8]
test eax, eax
je 0x470225
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [ecx + 0x78]
cmp eax, dword [edx + 0x60]
jae 0x4701ed
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4701b3
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x78]
mov dword [eax + 4], edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x60]
mov dword [ecx + 8], eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax]
call ecx
add esp, 4
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x78]
mov dword [ebp - 4], eax
push 0
mov ecx, dword [ebp + 8]
add ecx, 0x78
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x184]
mov edx, dword [ecx + 4]
call edx
add esp, 0x10
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x78]
cmp ecx, dword [ebp - 4]
jne 0x4701eb
xor al, al
jmp 0x47023f
jmp 0x47016d
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x180]
mov edx, dword [ecx + 4]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x180]
mov eax, dword [edx]
call eax
add esp, 4
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x78], 0
jmp 0x470158
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x41]
neg eax
sbb eax, eax
neg eax
add eax, 0xcd
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
mov al, 1
mov esp, ebp
pop ebp
ret
Function at 0x470250
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xca
jne 0x470292
mov ecx, dword [ebp + 8]
push ecx
call fcn.0046e0c0
add esp, 4
mov edx, dword [ebp + 8]
movzx eax, byte [edx + 0x40]
test eax, eax
je 0x470288
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], 0xcf
mov al, 1
jmp 0x4703ae
mov edx, dword [ebp + 8]
mov dword [edx + 0x14], 0xcb
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 0xcb
jne 0x47036c
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
movzx eax, byte [edx + 0x10]
test eax, eax
je 0x47035b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x4702d1
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x190]
mov eax, dword [edx]
call eax
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x4702f5
xor al, al
jmp 0x4703ae
cmp dword [ebp - 4], 2
jne 0x4702fd
jmp 0x47035b
mov ecx, dword [ebp + 8]
cmp dword [ecx + 8], 0
je 0x470356
cmp dword [ebp - 4], 3
je 0x470312
cmp dword [ebp - 4], 1
jne 0x470356
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov ecx, dword [eax + 4]
add ecx, 1
mov edx, dword [ebp + 8]
mov eax, dword [edx + 8]
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [edx + 4]
cmp edx, dword [ecx + 8]
jl 0x470356
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
mov edx, dword [ecx + 8]
mov eax, dword [ebp + 8]
add edx, dword [eax + 0x11c]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 8]
mov dword [eax + 8], edx
jmp 0x4702b7
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x7c]
mov dword [ecx + 0x84], eax
jmp 0x4703a2
mov ecx, dword [ebp + 8]
cmp dword [ecx + 0x14], 0xcc
je 0x4703a2
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov dword [eax + 0x14], 0x14
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x14]
mov dword [edx + 0x18], ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax]
mov edx, dword [ecx]
call edx
add esp, 4
mov eax, dword [ebp + 8]
push eax
call fcn.00470120
add esp, 4
mov esp, ebp
pop ebp
ret
Function at 0x484360
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499a46
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x4b98d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 4], 0
push 1
push 0
push 0
mov eax, dword [ebp - 0x18]
push eax
push 0x4aec3c
push 0
call dword [sym.imp.shell32.dll_ShellExecuteW]
jmp 0x4843bf
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4866c0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4b98d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x20c], ecx
mov eax, dword [ebp - 0x20c]
cmp dword [eax + 0x40], 0
jne 0x4866e7
jmp 0x486752
mov ecx, dword [ebp - 0x20c]
cmp dword [ecx + 0xc], 0
je 0x4866f5
jmp 0x486752
push 0x100
lea edx, [ebp - 0x208]
push edx
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 0x48]
push ecx
call dword [sym.imp.user32.dll_GetWindowTextW]
mov ecx, dword [ebp - 0x20c]
add ecx, 0x2c
call fcn.0045dda0
push eax
lea edx, [ebp - 0x208]
push edx
call fcn.0041b506
add esp, 8
test eax, eax
je 0x486752
mov ecx, dword [ebp - 0x20c]
add ecx, 0x2c
call fcn.0045dda0
push eax
mov eax, dword [ebp - 0x20c]
mov ecx, dword [eax + 0x48]
push ecx
call dword [sym.imp.user32.dll_SetWindowTextW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041a435
mov esp, ebp
pop ebp
ret
Function at 0x486a30
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
mov dword [ebp - 4], 0
jmp 0x486a57
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 5
jge 0x486a72
push 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x48]
push edx
call dword [sym.imp.user32.dll_ShowWindow]
jmp 0x486a4e
push 1
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + eax*4 + 0x48]
push edx
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 4
ja case.default.0x486a97
mov edx, dword [ebp - 0x10]
jmp dword [edx*4 + 0x486b1c]
mov ecx, dword [ebp - 8]
call fcn.004866c0
jmp case.default.0x486a97
push fcn.00496150
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0x78]
mov ecx, dword [ebp - 8]
call fcn.004868f0
jmp case.default.0x486a97
push fcn.004960a0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x84]
mov ecx, dword [ebp - 8]
call fcn.004868f0
jmp case.default.0x486a97
push fcn.00495b50
mov edx, dword [ebp - 8]
mov edx, dword [edx + 0x90]
mov ecx, dword [ebp - 8]
call fcn.00486890
jmp case.default.0x486a97
push fcn.00495ac0
mov eax, dword [ebp - 8]
mov edx, dword [eax + 0xa8]
mov ecx, dword [ebp - 8]
call fcn.00486890
push 0
push 0
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [edx + ecx*4 + 0x48]
push eax
call dword [sym.imp.user32.dll_InvalidateRect]
mov esp, ebp
pop ebp
ret
Function at 0x48f630
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], ecx
mov eax, dword [ebp - 8]
mov dword [0x4cdec4], eax
mov dword [ebp - 4], 0
jmp 0x48f653
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 5
jge 0x48f66e
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx*4 + 0x4cdee8]
push eax
call dword [sym.imp.user32.dll_ShowWindow]
jmp 0x48f64a
push 1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x4cdee8]
push edx
call dword [sym.imp.user32.dll_ShowWindow]
mov eax, dword [0x4cdec4]
mov dword [ebp - 0xc], eax
push 1
push 0
mov ecx, dword [ebp - 8]
mov edx, dword [ecx*4 + 0x4cdee8]
push edx
call dword [sym.imp.user32.dll_InvalidateRect]
mov esp, ebp
pop ebp
ret
Function at 0x496700
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x499e35
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x4b98d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], edx
mov dword [ebp - 0x5c], ecx
lea ecx, [ebp - 0x54]
call fcn.0045df10
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.00492860
mov dword [ebp - 0x6c], eax
mov ecx, dword [ebp - 0x6c]
mov dword [ebp - 0x70], ecx
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x5c]
push edx
mov eax, dword [0x4cc1e0]
push eax
mov ecx, dword [ebp - 0x68]
push ecx
call fcn.0045e300
add esp, 0xc
push eax
lea edx, [ebp - 0x34]
push edx
mov ecx, dword [ebp - 0x70]
call fcn.0045e360
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x44]
call fcn.0045deb0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.0045deb0
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
lea ecx, [ebp - 0x34]
call fcn.0045dda0
push eax
call dword [sym.imp.kernel32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x4967d1
mov byte [ebp - 0x55], 0
lea ecx, [ebp - 0x34]
call fcn.0045deb0
mov al, byte [ebp - 0x55]
jmp 0x496848
lea eax, [ebp - 0x14]
push eax
push 0
push 0
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.kernel32.dll_GetFileTime]
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.kernel32.dll_FileTimeToLocalFileTime]
mov ecx, dword [ebp - 0x60]
push ecx
lea edx, [ebp - 0x20]
push edx
call dword [sym.imp.kernel32.dll_FileTimeToSystemTime]
push 0
lea eax, [ebp - 0x24]
push eax
push 4
mov ecx, dword [ebp - 0x60]
add ecx, 0x10
push ecx
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.kernel32.dll_ReadFile]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp dword [ebp - 0x24], 4
je 0x496839
mov byte [ebp - 0x56], 0
lea ecx, [ebp - 0x34]
call fcn.0045deb0
mov al, byte [ebp - 0x56]
jmp 0x496848
mov byte [ebp - 0x57], 1
lea ecx, [ebp - 0x34]
call fcn.0045deb0
mov al, byte [ebp - 0x57]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4022c2
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x403f18
call fcn.0040281c
push 1
call fcn.00402599
pop ecx
test al, al
jne 0x402179
push 7
call fcn.00402a30
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.00402564
mov byte [ebp - 0x24], al
mov eax, dword [0x405338]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x402172
test eax, eax
jne 0x4021e3
mov dword [0x405338], ecx
push 0x4032a4
push 0x40328c
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4021c6
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x4022bc
push 0x403288
push 0x403274
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x405338], 2
jmp 0x4021e8
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00402706
pop ecx
call fcn.00402a24
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x402218
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402218
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.004027cc
call esi
call fcn.00402a2a
mov esi, eax
cmp dword [esi], edi
je 0x402236
push esi
call fcn.0040267c
pop ecx
test al, al
je 0x402236
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00402b46
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_wide_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00402b79
test al, al
jne 0x402261
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x40226a
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00402723
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x4022bc
call fcn.00402861
ret
call fcn.0040200b
jmp 0x40215a

Function at 0x433000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
mov ecx, 0x74442f9
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
mov ecx, 0x5e34873
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43306c
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4018a4
Capabilities:
Encode data using xor

Disassembly:
push 0x443790
call sub.MSVBVM60.DLL_ThunRTMain
add byte [eax], al
add byte [eax], al
add byte [eax], al
xor byte [eax], al
add byte [eax], al
cmp byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
aad 0xc3
imul esp, dword [edi], 0x2d
jno 0x4018d2
dec esp
mov byte [0x230079d0], al
retf
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
lahf
stc
push ebp
ror byte [edx + ebx*4 + 0x50], 1
push ebx
push esp
add byte [eax], al
imul edi, dword [edx + 0x61], 0
dec esp
xor dword [eax], eax
add al, 0xd5
mov al, 0x24
jecxz 0x4018e1
sub dh, byte [esi + ecx*2]
cmpsd dword [esi], dword es:[edi]
or al, 0x2b
pop eax
std
cmp byte [ebx + 0x9f9153f], bh
and edx, dword [ebx + 0x43]
dec ebx
cwde
stosb byte es:[edi], al
jecxz 0x401975
jecxz 0x4018b6
xchg byte [ebx + 0x33ad4f3a], bh
cdq
iret
and byte [eax], ah
adc byte [eax], al
add byte [eax], al
add al, 0
call 0x16401984
add byte [eax], al
add byte [eax], ch
add byte [eax], al
add byte [eax], ah
add byte [eax], al
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add al, 0
add byte [eax], al
add byte [eax], al
add byte [edx], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
adc byte [eax], al
add byte [eax], al
adc byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax], 0
add byte [eax + 0x800080], al
add byte [eax], al
add byte [eax], 0x80
add byte [eax - 0x7fffff80], al
add byte [eax - 0x3f3f4000], 0
add byte [eax], al
inc dword [eax]
add bh, bh
add byte [eax], al
add bh, bh
inc dword [eax]
inc dword [eax]
add byte [eax], al
inc dword [eax]
inc dword [eax]
invalid
Function at 0x404548
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
xor edx, edx
call fcn.00406844
test esi, esi
jne 0x404580
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00406980
jmp 0x40459e
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040448c
mov edi, eax
test esi, esi
je 0x40459e
cmp dword [ebx], 0
je 0x40459e
dec esi
jmp 0x404587
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405de0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4c4050], 0
je 0x405e41
cmp word [0x4c432c], 0xd7b2
jne 0x405e09
cmp dword [0x4c4334], 0
jbe 0x405e09
mov eax, 0x4c4328
call dword [0x4c4344]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
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 0x405e6c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4c1030], 0
jne 0x405e5d
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x405fcc
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov edi, eax
mov esi, dword [ebp + 0x10]
cmp dword [0x4c1034], 0
je 0x405ff2
mov edx, esi
mov eax, ebx
call dword [0x4c1034]
jmp 0x406001
mov eax, 8
call fcn.004041d4
mov dword [eax], ebx
mov dword [eax + 4], esi
mov byte [0x4c4051], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x405f94
push eax
mov eax, dword [ebp - 4]
push eax
push edi
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 0xc
Function at 0x408614
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe94
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 0x16c], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x40877b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
xor edx, edx
call fcn.00406844
cmp si, word [0x4c17dc]
jb 0x4086ae
cmp si, word [0x4c19dc]
ja 0x4086ae
mov edi, 0x40
xor eax, eax
mov dword [ebp - 0xc], eax
cmp edi, dword [ebp - 0xc]
jb 0x4086ae
mov ebx, dword [ebp - 0xc]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4c17dc]
jae 0x408688
mov edi, ebx
dec edi
jmp 0x4086a9
cmp si, word [ebx*8 + 0x4c17dc]
jbe 0x408698
inc ebx
mov dword [ebp - 0xc], ebx
jmp 0x4086a9
mov edx, dword [ebp - 8]
mov eax, dword [ebx*8 + 0x4c17e0]
call fcn.00408524
jmp 0x4086ae
cmp edi, dword [ebp - 0xc]
jae 0x408672
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x40875d
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40875d
push 0x55
lea eax, [ebp - 0xb6]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x160]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x164]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a2c
push dword [ebp - 0x164]
push 0x408798
lea eax, [ebp - 0x168]
lea edx, [ebp - 0x160]
mov ecx, 0x55
call fcn.00406a2c
push dword [ebp - 0x168]
push 0x4087a8
lea eax, [ebp - 0x16c]
lea edx, [ebp - 0xb6]
mov ecx, 0x55
call fcn.00406a2c
push dword [ebp - 0x16c]
mov eax, dword [ebp - 8]
mov edx, 5
call fcn.00406de4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408782
lea eax, [ebp - 0x16c]
mov edx, 3
call fcn.0040683c
ret
Function at 0x408934
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x408a39
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4c6b58
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x4c6b70]
jne 0x408980
mov eax, esi
mov edx, 0x4c6b74
mov ecx, 0x55
call fcn.00406a2c
push 0x4c6b58
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408a23
push 0x4c6b58
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
xor edx, edx
call fcn.00406844
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4089f1
cmp byte [0x4c6b54], 0
je 0x4089b6
mov edx, esi
mov eax, ebx
call fcn.00408814
jmp 0x4089f1
mov edx, esi
mov eax, ebx
call fcn.00408614
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x4089f1
cmp dword [esi], 0
je 0x4089da
mov eax, esi
mov edx, 0x408a54
call fcn.00406c40
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.00408614
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00406c40
push 0x4c6b58
call sub.kernel32.dll_EnterCriticalSection
mov word [0x4c6b70], bx
push 0xaa
mov eax, dword [esi]
call fcn.004068d0
push eax
push 0x4c6b74
call sub.kernel32.dll_lstrcpynW
push 0x4c6b58
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408a40
lea eax, [ebp - 4]
call fcn.00406834
ret