joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40b4f0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x410790
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
mov eax, dword [0x416158]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
push 0
push edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebp, eax
test ebp, ebp
jne 0x40b53c
xor al, al
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
cmp dword [ebp + 8], 0
jne 0x40b527
push esi
mov dword [ebp + 8], esi
call dword [sym.imp.USER32.dll_IsWindowVisible]
test eax, eax
je 0x40b566
push esi
call fcn.0040bd20
add esp, 4
test al, al
jne 0x40b566
call fcn.0040b400
test al, al
je 0x40b56a
mov byte [ebp + 4], 1
cmp byte [ebp + 4], 0
je 0x40b575
mov eax, dword [ebp + 0xc]
jmp 0x40b578
mov eax, dword [ebp + 8]
or esi, 0xffffffff
test eax, eax
je 0x40b5df
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [ebp + 4], 0
je 0x40b592
mov eax, dword [ebp + 0xc]
jmp 0x40b595
mov eax, dword [ebp + 8]
push eax
push 0xfffffffffffffff8
push edi
call dword [sym.imp.USER32.dll_SetWindowLongW]
test eax, eax
jne 0x40b5df
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x40b5df
push pe_nt_image_headers32
push 0xe
lea ecx, [esp + 0x18]
call section..text
mov eax, dword [eax]
push eax
push edi
mov dword [esp + 0x28], 0
call fcn.0040c270
mov eax, dword [esp + 0x18]
push eax
mov dword [esp + 0x2c], esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 0xc
mov ecx, dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push 0
push 0
push 0
push 0
push esi
push ecx
call ebx
test eax, eax
jne 0x40b62c
push pe_nt_image_headers32
push 0xf
lea ecx, [esp + 0x1c]
call section..text
mov eax, dword [eax]
push eax
push edi
mov dword [esp + 0x28], 1
call fcn.0040c270
mov edx, dword [esp + 0x1c]
push edx
mov dword [esp + 0x2c], esi
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 0xc
cmp dword [0x4161dc], 0
je 0x40b66f
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_CreateRectRgn]
push 5
mov esi, eax
mov eax, dword [0x4161dc]
push 0
push eax
push esi
call dword [sym.imp.GDI32.dll_CombineRgn]
test eax, eax
je 0x40b66f
push 0
push esi
push edi
call dword [sym.imp.USER32.dll_SetWindowRgn]
test eax, eax
jne 0x40b66f
push esi
call dword [sym.imp.GDI32.dll_DeleteObject]
mov ecx, dword [0x4161e4]
mov edx, dword [0x4161e0]
push 0x16
push ecx
push edx
push 0
push 0
push 0
push edi
call ebx
push edi
mov eax, ebp
call fcn.0040b2b0
add esp, 4
push 5
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov ecx, dword [esp + 0x28]
push 0
push ecx
push 1
push edi
call dword [sym.imp.USER32.dll_SetTimer]
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x14
ret

Function at 0x40ce74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x416158]
jne 0x40ce7e
repz ret
jmp fcn.0040d2c7
Function at 0x40dbf0
Capabilities:
Check mutex on windows

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esp + 8]
call dword [sym.imp.MSVCP90.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
test eax, eax
je 0x40dc1f
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
sete al
mov byte [esi + 4], al
mov eax, esi
pop esi
ret 4

Function at 0x40dcb0
Capabilities:
Check os version

Disassembly:
mov eax, dword [esp + 4]
push ebx
push ebp
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [edi], eax
mov dword [edi + 4], ebx
mov dword [edi + 0x18], ebx
mov byte [edi + 0x1e], bl
mov byte [edi + 0x1d], bl
mov byte [edi + 0x1c], bl
lea esi, [edi + 0x2c]
lea ebp, [ebx + 3]
push 0x12
mov dword [esi - 0xc], ebx
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [esi], eax
add esi, 4
sub ebp, 1
jne 0x40dcd3
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp al, 5
jb 0x40dcfd
push 0x1a
call dword [sym.imp.USER32.dll_GetSysColor]
mov dword [edi + 0x30], eax
mov dword [edi + 0x38], ebx
mov dword [edi + 0x40], ebx
mov dword [edi + 0x3c], ebx
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x40dd80
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
mov ebp, ecx
mov eax, dword [ebp]
push edi
push eax
mov dword [esp + 0x1c], ebp
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
xor ecx, ecx
lea esi, [edi + 1]
mov eax, esi
mov edx, 2
mul edx
seto cl
mov dword [esp + 0x10], edi
neg ecx
or ecx, eax
push ecx
call fcn.0040ce5d
add esp, 4
mov ebx, eax
mov eax, dword [ebp]
push esi
push ebx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp]
push 0xfffffffffffffff0
push ecx
call dword [sym.imp.USER32.dll_GetWindowLongW]
test al, al
js 0x40de09
lea eax, [ebx + edi*2 - 2]
cmp eax, ebx
jb 0x40de09
cmp word [eax], 0x26
je 0x40ddf0
sub eax, 2
cmp eax, ebx
jae 0x40dde1
jmp 0x40de09
cmp eax, ebx
jb 0x40de09
mov dx, word [eax + 2]
mov word [eax], dx
add eax, 2
cmp word [eax], 0
jne 0x40ddf4
dec edi
mov dword [esp + 0x10], edi
mov eax, dword [ebp]
mov edi, dword [esp + 0x28]
push eax
mov dword [edi], 0
mov dword [edi + 4], 0
call dword [sym.imp.USER32.dll_GetDC]
mov esi, eax
test esi, esi
je 0x40de99
push 6
push esi
call dword [sym.imp.GDI32.dll_GetCurrentObject]
mov dword [esp + 0x14], eax
add ebp, 0x20
mov dword [esp + 0x28], 3
mov ecx, dword [ebp]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x1c]
push edx
push eax
push ebx
push esi
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov eax, dword [esp + 0x1c]
cmp eax, dword [edi]
jle 0x40de69
mov dword [edi], eax
mov eax, dword [esp + 0x20]
cmp eax, dword [edi + 4]
jle 0x40de75
mov dword [edi + 4], eax
add ebp, 4
sub dword [esp + 0x28], 1
jne 0x40de42
mov ecx, dword [esp + 0x14]
push ecx
push esi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [esp + 0x18]
mov eax, dword [edx]
push esi
push eax
call dword [sym.imp.USER32.dll_ReleaseDC]
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x40e000
Capabilities:
Create process on windows

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push 1
push 0
push eax
mov byte [esi + 0x1d], 1
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, dword [esi + 0x18]
test eax, eax
je 0x40e04f
cmp word [eax], 0
je 0x40e04f
mov ecx, dword [esi]
push 0xa
push 0
push 0
push eax
push 0
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x40e074
mov edx, dword [esi]
push 0x10
push str.Error
push str.Could_not_follow_link
push edx
call dword [sym.imp.USER32.dll_MessageBoxW]
pop esi
ret
mov eax, dword [esi]
push eax
push 0xfffffffffffffff4
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ecx, dword [esi]
movzx eax, ax
push eax
push 0x111
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x40e120
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x2c
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x40]
push 1
push edi
mov esi, ecx
call dword [sym.imp.GDI32.dll_SetBkMode]
cmp byte [esi + 0x1c], 0
mov dword [esp + 0x18], eax
je 0x40e147
mov eax, 1
jmp 0x40e152
movzx eax, byte [esi + 0x1d]
neg eax
sbb eax, eax
and eax, 2
mov eax, dword [esi + eax*4 + 0x20]
push eax
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
cmp byte [esi + 0x1c], 0
mov dword [esp + 0x14], eax
je 0x40e16f
mov eax, 1
jmp 0x40e17a
movzx eax, byte [esi + 0x1d]
neg eax
sbb eax, eax
and eax, 2
mov ecx, dword [esi + eax*4 + 0x2c]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x44]
push 0x10
add edx, 8
push edx
push edi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_FillRect]
mov eax, dword [esi]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ebp, eax
lea ecx, [ebp + 1]
push ecx
lea ecx, [esp + 0x20]
call fcn.004041f0
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi]
push edx
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [esi]
mov ebx, dword [sym.imp.USER32.dll_GetWindowLongW]
push 0xfffffffffffffff0
push edx
call ebx
mov ecx, dword [esi]
mov dword [esp + 0x44], eax
lea eax, [esp + 0x2c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
mov edx, dword [esi]
push 0xfffffffffffffff0
push edx
mov dword [esp + 0x48], 0
call ebx
and eax, 0x1f
sub eax, 0
je 0x40e215
sub eax, 1
je 0x40e20d
sub eax, 1
jne 0x40e215
mov eax, 2
jmp 0x40e219
mov dword [esp + 0x40], 1
mov eax, dword [esp + 0x40]
test byte [esp + 0x44], 0x80
je 0x40e225
or eax, 0x800
mov ebx, dword [esp + 0x1c]
push eax
lea eax, [esp + 0x30]
push eax
push ebp
push ebx
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [esp + 0x10]
push ecx
push edi
call dword [sym.imp.GDI32.dll_SetTextColor]
mov edx, dword [esp + 0x14]
push edx
push edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [esp + 0x18]
push eax
push edi
call dword [sym.imp.GDI32.dll_SetBkMode]
mov esi, dword [esi]
call dword [sym.imp.USER32.dll_GetFocus]
cmp eax, esi
jne 0x40e280
lea ecx, [esp + 0x1c]
push ecx
push esi
call dword [sym.imp.USER32.dll_GetClientRect]
lea edx, [esp + 0x1c]
push edx
push edi
call dword [sym.imp.USER32.dll_DrawFocusRect]
push ebx
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 8

Function at 0x40f070
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 0xc]
push esi
lea eax, [esp + 4]
push eax
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x18]
push eax
mov eax, dword [ecx]
push 0
push edx
push eax
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_SetLastError]
test esi, esi
pop esi
jne 0x40f0bd
cmp dword [esp + 0xc], 4
jne 0x40f0bd
cmp dword [esp], 4
jne 0x40f0bd
mov eax, 1
pop ecx
ret 8
xor eax, eax
pop ecx
ret 8
Function at 0x40f310
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x410b18
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov eax, dword [0x416158]
xor eax, esp
push eax
lea eax, [esp + 0x34]
mov dword fs:[0], eax
mov edi, ecx
mov edx, dword [esp + 0x44]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [esp + 0x18]
push eax
mov eax, dword [edi]
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push edx
push eax
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, eax
push esi
call ebp
test esi, esi
jne 0x40f415
mov ecx, dword [esp + 0x4c]
cmp dword [esp + 0x14], ecx
jne 0x40f415
mov edx, dword [esp + 0x18]
push edx
lea ecx, [esp + 0x20]
call fcn.0040f270
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
mov dword [esp + 0x3c], esi
jne 0x40f39a
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x28]
lea ecx, [esp + 0x18]
push ecx
mov ecx, dword [esp + 0x48]
push edx
mov edx, dword [edi]
lea eax, [esp + 0x1c]
push eax
push 0
push ecx
push edx
call ebx
mov esi, eax
push esi
call ebp
test esi, esi
jne 0x40f404
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x14], eax
jne 0x40f404
mov ecx, dword [esp + 0x2c]
sub ecx, dword [esp + 0x28]
jne 0x40f3d8
call dword [sym.imp.MSVCR90.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
shr edx, 1
dec edx
push edx
push eax
call dword [sym.imp.MSVCP90.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::assign_wchar_t_const___unsigned_int_]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040f1c0
mov al, 1
jmp 0x40f417
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.0040f1c0
xor al, al
mov ecx, dword [esp + 0x34]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret 0xc

Function at 0x40f670
Capabilities:
Write clipboard data

Disassembly:
push ebx
xor bl, bl
call dword [sym.imp.USER32.dll_EmptyClipboard]
test eax, eax
je 0x40f6fb
mov eax, dword [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x40f684
sub eax, edx
sar eax, 1
push edi
lea eax, [eax + eax + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
test edi, edi
je 0x40f6f4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
test eax, eax
je 0x40f6ed
mov edx, dword [esp + 0xc]
push esi
mov esi, eax
lea esp, [esp]
movzx ecx, word [edx]
mov word [esi], cx
add edx, 2
add esi, 2
test cx, cx
jne 0x40f6c0
push eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
pop esi
test eax, eax
je 0x40f6ed
pop edi
mov al, 1
pop ebx
ret 4
push edi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop edi
mov al, bl
pop ebx
ret 4
mov al, bl
pop ebx
ret 4
Function at 0x408240
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x412008]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
cmp dword [esi + 0x38], 0
je 0x4082fc
cmp byte [esi + 0x3d], 0
je 0x4082fc
mov eax, dword [esi]
push edi
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
je 0x4082ea
mov ecx, dword [esi + 0x38]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [esi + 0x40]
push eax
call dword [sym.imp.MSVCP140.dll_public:_int___thiscall_std::codecvt_char__char__struct__Mbstatet_::unshift_struct__Mbstatet___char___char___char___const]
sub eax, 0
je 0x4082b1
sub eax, 1
je 0x4082b5
sub eax, 2
jne 0x4082ea
mov byte [esi + 0x3d], al
mov al, 1
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040974b
mov esp, ebp
pop ebp
ret
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
sub edi, eax
je 0x4082d3
push dword [esi + 0x4c]
push edi
push 1
push eax
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x4082ea
cmp byte [esi + 0x3d], 0
pop edi
sete al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040974b
mov esp, ebp
pop ebp
ret
pop edi
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0040974b
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov al, 1
xor ecx, ebp
pop esi
call fcn.0040974b
mov esp, ebp
pop ebp
ret

Function at 0x40a24b
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40a28a
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40a28a
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40a28a
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40a28a
cmp dword [ecx + 0x74], 0xe
jbe 0x40a28a
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x3f33535d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x3f33536c
pop dword [ebp - 0x48]
mov eax, 0x3f33536c
sub dword [ebp - 0x48], eax
push 0x40
push 0x1000
push 0x4953d
push 0
mov eax, 0x63764b84
add eax, 0xdb99c5dc
add eax, dword [ebp - 0x48]
call dword [eax]
mov ecx, 0x10427391
sub ecx, 0x10421947
mov esi, eax
mov edx, 0x3f401000
add edx, dword [ebp - 0x48]
mov edi, 0x5de9331a
sub dword [ebp - 0x10], 0x996b11dd
mov ebx, dword [edx]
xor dword [ebp - 0x34], 0x55b31e4c
xor ebx, edi
sub dword [ebp - 0x24], ebx
mov dword [esi], ebx
xor dword [ebp - 0x14], 0x8b2e5dc5
add esi, 0x3330ee3e
sub esi, 0x3330ee3a
add edx, 0x64a04c63
sub edx, 0x64a04c5f
loop 0x3f3353ba
add eax, 0xedad2974
sub eax, 0xedabcd79
mov ebx, eax
add eax, 0xbb930157
add eax, 0x446cfeae
mov ecx, 0x1360e60d
sub ecx, 0xd450e60d
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x3f3845bf
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0x110
push esi
push edi
push dword [ebp + 0x7c]
xor esi, esi
push dword [ebp + 0x78]
mov dword [ebp + 0x64], ecx
mov dword [ebp + 0x68], esi
call fcn.3f33535d
mov edi, eax
cmp edi, esi
je 0x3f384696
push 0x80
lea eax, [ebp - 0x20]
push eax
push 0xc
push dword [0x3f3a32c0]
call dword [sym.imp.user32.dll_LoadStringA]
test eax, eax
jle 0x3f38468f
mov ecx, dword [ebp + 0x64]
push ebx
push dword [ebp + 0x78]
call fcn.3f38958d
push esi
push esi
mov ebx, eax
push 0x81
lea eax, [ebp - 0xa4]
push eax
push ebx
call fcn.3f390cad
pop ecx
inc eax
push eax
push ebx
push esi
push esi
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
lea eax, [ebp - 0xa4]
push eax
call dword [sym.imp.kernel32.dll_lstrlenA]
push eax
lea eax, [ebp - 0xa4]
push eax
push 1
push esi
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
pop ebx
jne 0x3f38468f
push 0x80
lea eax, [ebp - 0x20]
push eax
push 0xd
push dword [0x3f3a32c0]
call dword [sym.imp.user32.dll_LoadStringA]
test eax, eax
jle 0x3f38468f
mov ecx, dword [ebp + 0x64]
lea eax, [ebp - 0x20]
push eax
push edi
push dword [ebp + 0x78]
push dword [ebp + 0x74]
call fcn.3f33535d
mov dword [ebp + 0x68], eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp + 0x68]
pop edi
pop esi
add ebp, 0x6c
leave
ret 0xc

Function at 0x3f38a12e
Capabilities:
Parse credit card information

Disassembly:
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
add edx, edx
add eax, edx
mov cx, word [eax]
inc eax
push ebx
mov ebx, dword [esp + 0x10]
inc eax
cmp cx, 0x3e
push esi
mov esi, dword [ebx]
je 0x3f38a153
cmp cx, 0x7d
jne 0x3f38a162
dec esi
jne 0x3f38a15d
xor eax, eax
jmp 0x3f38a1fd
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x3a
je 0x3f38a17a
cmp cx, 0x3b
je 0x3f38a17a
cmp cx, 0x38
je 0x3f38a17a
cmp cx, 0x25
jne 0x3f38a156
dec esi
je 0x3f38a156
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x2d
je 0x3f38a18e
cmp cx, 0x5e
jne 0x3f38a198
dec esi
test esi, esi
je 0x3f38a156
mov cx, word [eax]
inc eax
inc eax
cmp cx, 0x28
je 0x3f38a1f0
cmp cx, 0x3e
je 0x3f38a1f0
cmp cx, 0x44
je 0x3f38a1f0
cmp cx, 0x49
je 0x3f38a1f0
cmp cx, 0x4f
je 0x3f38a1f0
cmp cx, 0x6f
je 0x3f38a1f0
cmp cx, 0x5c
je 0x3f38a1f0
cmp cx, 0x2f
je 0x3f38a1f0
cmp cx, 0x7c
je 0x3f38a1f0
cmp cx, 0x30
jne 0x3f38a1db
cmp word [eax - 4], 0x38
jne 0x3f38a1f0
cmp cx, 0x29
jne 0x3f38a156
cmp word [eax - 4], 0x38
je 0x3f38a156
sub eax, edx
sub eax, dword [esp + 0xc]
sar eax, 1
mov dword [ebx], eax
xor eax, eax
inc eax
pop esi
pop ebx
ret 0xc
Function at 0x3f38cf7e
Capabilities:
Set registry value

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0x200
push ebx
push esi
push edi
push 0x80
lea eax, [ebp - 0x9c]
push eax
push dword [ebp + 0x6c]
call dword [sym.imp.ole32.dll_StringFromGUID2]
xor ebx, ebx
push ebx
push ebx
push 0x40
lea eax, [ebp - 0x1c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x9c]
push eax
push ebx
push ebx
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov esi, 0x3f2ff05c
lea edi, [ebp + 0x24]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea eax, [ebp - 0x1c]
movsb byte es:[edi], byte [esi]
mov edx, eax
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3f38cfcd
lea edi, [ebp + 0x24]
sub eax, edx
dec edi
mov cl, byte [edi + 1]
inc edi
cmp cl, bl
jne 0x3f38cfda
mov ecx, eax
shr ecx, 2
mov esi, edx
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [ebp + 0x74]
cmp edi, ebx
mov esi, 0x3f2ff054
je 0x3f38d015
push dword [ebp + 0x70]
mov eax, edi
push ebx
call fcn.3f33535d
lea eax, [ebp - 0x1c]
push eax
push esi
mov eax, edi
call fcn.3f33535d
mov eax, dword [ebp + 0x78]
cmp eax, ebx
je 0x3f38d040
push dword [ebp + 0x70]
push ebx
call fcn.3f33535d
mov eax, dword [ebp + 0x78]
push edi
push 0x3f2ff04c
call fcn.3f33535d
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp + 0x78]
push esi
call fcn.3f33535d
push dword [ebp + 0x70]
lea eax, [ebp + 0x24]
push ebx
call fcn.3f33535d
cmp edi, ebx
je 0x3f38d05e
push edi
push 0x3f2ff044
lea eax, [ebp + 0x24]
call fcn.3f33535d
cmp dword [ebp + 0x78], ebx
je 0x3f38d073
push dword [ebp + 0x78]
lea eax, [ebp + 0x24]
push 0x3f2ff028
call fcn.3f33535d
push ebx
push 0x3f2ff018
lea eax, [ebp + 0x24]
call fcn.3f33535d
push dword [ebp + 0x7c]
mov esi, 0x3f2ff008
push esi
lea eax, [ebp + 0x24]
call fcn.3f33535d
push esi
lea eax, [ebp + 0x24]
push eax
lea eax, [ebp - 0x19c]
push 0x3f2ff000
push eax
call fcn.3f33535d
add esp, 0x10
push ebx
lea eax, [ebp + 0x78]
push eax
push ebx
push 0xf003f
push ebx
push ebx
push ebx
lea eax, [ebp - 0x19c]
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x3f38d0ff
mov esi, 0x3f2feff4
mov eax, esi
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x3f38d0d9
sub eax, edx
inc eax
push eax
push esi
push 1
push ebx
push 0x3f2fefe4
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push dword [ebp + 0x78]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
xor eax, eax
pop ebx
add ebp, 0x64
leave
ret 0x14

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx