joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4d46c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x8d9ff454]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x14], 0x30
mov byte [ebp - 0x13], 0x31
mov byte [ebp - 0x12], 0x32
mov byte [ebp - 0x11], 0x33
mov byte [ebp - 0x10], 0x34
mov byte [ebp - 0xf], 0x35
mov byte [ebp - 0xe], 0x36
mov byte [ebp - 0xd], 0x37
mov byte [ebp - 0xc], 0x38
mov byte [ebp - 0xb], 0x39
mov byte [ebp - 0xa], 0x41
mov byte [ebp - 9], 0x42
mov byte [ebp - 8], 0x43
mov byte [ebp - 7], 0x44
mov byte [ebp - 6], 0x45
mov byte [ebp - 5], 0x46
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x4d4d3
sub eax, edx
sar eax, 1
lea ebx, [eax + eax]
lea eax, [ebp - 0x1c]
push eax
push dword [edi]
push ebx
call fcn.00040761
test eax, eax
jl 0x4d51b
lea eax, [ebp - 0x1c]
push eax
movzx eax, word [ebp + 0x18]
add eax, eax
push eax
push dword [ebp - 0x1c]
call fcn.00040761
test eax, eax
jl 0x4d51b
push dword [ebp - 0x1c]
lea eax, [ebp - 0x18]
push 1
push eax
call fcn.0003cc70
jmp 0x4d51f
and dword [ebp - 0x18], 0
cmp dword [ebp - 0x18], 0
jne 0x4d52d
and dword [edi], 0
jmp 0x4d5d9
push dword [edi]
push esi
push dword [ebp - 0x18]
call fcn.00045e9b
mov esi, dword [edi]
add esi, dword [ebp - 0x18]
push ebx
push dword [ebp - 0x24]
push esi
call fcn.00045e9b
mov ecx, dword [ebp - 0x1c]
add esp, 0x18
mov dword [edi], ecx
cmp word [esi], 0x6e
mov eax, esi
je 0x4d566
cmp word [ebp + 0x1c], 0
je 0x4d566
inc eax
inc eax
cmp word [eax], 0x6e
jne 0x4d557
movzx ecx, word [ebp + 0x1c]
dec ecx
dec ecx
je 0x4d5b7
dec ecx
dec ecx
jne 0x4d5d9
movzx ecx, word [ebp + 0x20]
mov edx, ecx
shr edx, 0xc
movzx dx, byte [ebp + edx - 0x14]
mov word [eax], dx
mov edx, ecx
shr edx, 8
and edx, 0xf
movzx dx, byte [ebp + edx - 0x14]
mov word [eax + 2], dx
mov edx, ecx
shr edx, 4
and edx, 0xf
movzx dx, byte [ebp + edx - 0x14]
and ecx, 0xf
movzx cx, byte [ebp + ecx - 0x14]
mov word [eax + 4], dx
mov word [eax + 6], cx
jmp 0x4d5d9
movzx ecx, word [ebp + 0x20]
mov edx, ecx
shr edx, 4
and edx, 0xf
movzx dx, byte [ebp + edx - 0x14]
and ecx, 0xf
movzx cx, byte [ebp + ecx - 0x14]
mov word [eax], dx
mov word [eax + 2], cx
cmp dword [ebp - 0x20], 0
pop edi

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 0x40aa5b
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x41a004]
xor eax, esp
mov dword [esp + 0x38], eax
push esi
mov esi, dword [ebp + 8]
push 0x4074dc
push 0x4074f8
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40aa95
push 0x800
call eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [esp + 0xc]
call fcn.00409cb0
push esi
lea ecx, [esp + 0x24]
call fcn.0040921b
lea ecx, [esp + 0x20]
call fcn.004095c7
mov esi, eax
test esi, esi
jns 0x40aae9
lea ecx, [esp + 8]
call fcn.0040a9d0
test al, al
je 0x40ab33
cmp esi, 0x80040b00
jne 0x40ab33
lea ecx, [esp + 0x20]
call fcn.00409683
mov esi, eax
test esi, esi
js 0x40ab33
mov esi, 0x80040b02
jmp 0x40ab33
cmp dword [esp + 0x1c], 8
lea esi, [esp + 8]
jb 0x40aaf8
mov esi, dword [esp + 8]
push 0x406f80
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
jne 0x40ab2b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x40ab24
jle 0x40ab33
movzx esi, si
or esi, 0x80070000
jmp 0x40ab33
mov esi, 0x80004005
jmp 0x40ab33
push dword [ebp + 0x14]
push esi
call eax
mov esi, eax
lea ecx, [esp + 0x20]
call fcn.004092b7
lea ecx, [esp + 8]
call fcn.00409da9
mov ecx, dword [esp + 0x3c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.0040b187
mov esp, ebp
pop ebp
ret 0x10

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 0x40d5c8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x419428]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040804b
mov dword [ebp - 0x14], eax
cmp dword [0x4ad600], esi
jne 0x40d6bb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40d648
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40d79b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40d79b
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40d79b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4ad600], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4ad604], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4ad608], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad610], eax
test eax, eax
je 0x40d6b8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x4ad60c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40d6e0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40d6d3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push 4
pop eax
jmp 0x40d79d
cmp dword [ebp - 0x14], esi
je 0x40d6f5
push dword [0x4ad600]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40d6da
mov eax, dword [0x4ad60c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40d753
cmp dword [0x4ad610], edi
je 0x40d753
push eax
call ebx
push dword [0x4ad610]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40d753
test eax, eax
je 0x40d753
call ecx
test eax, eax
je 0x40d748
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40d748
test byte [ebp - 8], 1
jne 0x40d753
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40d783
mov eax, dword [0x4ad604]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
call eax
mov esi, eax
test esi, esi
je 0x40d780
mov eax, dword [0x4ad608]
cmp eax, edi
je 0x40d780
push eax
call ebx
test eax, eax
je 0x40d780
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4ad600]
call ebx
test eax, eax
je 0x40d79b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40d79d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040434c
mov esp, ebp
pop ebp
ret
Function at 0x40c4e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0040c4a7
push 0xc
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.00408ca3
xor esi, esi
lea edx, [ebp + esi - 0xc]
call fcn.0040c42d
xor byte [edx], al
movzx eax, byte [edx]
push eax
call fcn.0040c44d
inc esi
cmp esi, 0xc
jl 0x40c4ff
movzx ax, byte [ebp - 1]
movzx ecx, ax
mov eax, dword [0x410550]
test byte [eax + 0x28], 2
movzx eax, byte [0x4205bf]
jne 0x40c53a
movzx eax, byte [0x4205c7]
movzx ecx, cx
cmp ecx, eax
je 0x40c546
or eax, 0xffffffff
jmp 0x40c58b
mov ecx, dword [0x420568]
mov eax, ecx
cdq
cmp edx, dword [0x40f924]
push edi
jl 0x40c568
mov edx, dword [0x40f920]
jg 0x40c564
cmp eax, edx
jbe 0x40c568
mov edi, edx
jmp 0x40c56a
mov edi, ecx
mov esi, dword [0x420560]
jmp 0x40c584
dec edi
call fcn.0040c42d
xor byte [esi], al
movzx eax, byte [esi]
push eax
call fcn.0040c44d
inc esi
test edi, edi
jne 0x40c572
xor eax, eax
pop edi
pop esi
leave
ret 8

Function at 0xe1103c
Capabilities:
Encode data using xor

Disassembly:
jmp 0xe11046
pushal
call 0xe1104c
pop ebp
sub ebp, 0x10
sub ebp, 0xa1103c
jmp 0xe11062
mov eax, 0xa1103c
add eax, ebp
add eax, 0x4c
mov ecx, 0x5d2
mov edx, 0x5753c338
xor byte [eax], dl
inc eax
dec ecx
jne 0xe11079
jmp 0xe1108c
mov bl, 0xf5
mov bl, 0xb1
add al, 0x38
cmp byte [eax], bh
mov ecx, 0x3838c0f9
cmp byte [ebx], bh
cmc
cmp byte [eax + edi], 0x38
cmp byte [edx + 0x38383810], al
iretd
Function at 0x401006
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x428004]
jne 0x401010
repz ret
jmp fcn.0040137b

Function at 0x4089c3
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.00404ae5
and dword [ebp - 4], 0
cmp dword [0x42a798], 0
mov ebx, eax
jne 0x408a74
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x408b25
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x408b25
push eax
call fcn.00404a73
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x42a798], eax
call esi
push eax
call fcn.00404a73
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x42a79c], eax
call esi
push eax
call fcn.00404a73
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x42a7a0], eax
call esi
push eax
call fcn.00404a73
pop ecx
mov dword [0x42a7a8], eax
test eax, eax
je 0x408a74
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00404a73
pop ecx
mov dword [0x42a7a4], eax
mov eax, dword [0x42a7a4]
cmp eax, ebx
je 0x408acc
cmp dword [0x42a7a8], ebx
je 0x408acc
push eax
call fcn.00404aee
push dword [0x42a7a8]
mov esi, eax
call fcn.00404aee
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x408acc
test edi, edi
je 0x408acc
call esi
test eax, eax
je 0x408ac3
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x408ac3
test byte [ebp - 0xc], 1
jne 0x408acc
or dword [ebp + 0x10], 0x200000
jmp 0x408b05
mov eax, dword [0x42a79c]
cmp eax, ebx
je 0x408b05
push eax
call fcn.00404aee
pop ecx
test eax, eax
je 0x408b05
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x408b05
mov eax, dword [0x42a7a0]
cmp eax, ebx
je 0x408b05
push eax
call fcn.00404aee
pop ecx
test eax, eax
je 0x408b05
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x42a798]
call fcn.00404aee
pop ecx
test eax, eax
je 0x408b25
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x408b27
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x402b60
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x4d4044], 0x8088405
inc edx
mov dword [0x4d4044], edx
mul edx
mov eax, edx
ret

Function at 0x402dac
Capabilities:
Query or enumerate registry value

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

Function at 0x403c34
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.004027a0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4d4049], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x403bfc
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x4063a8
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 0xf003f
push 0
push 0x406564
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406409
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x406580
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40647b
xor eax, eax
push ebp
push 0x406474
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00406200
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x40645d
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4065a0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40647b
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
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 0x40655c
cmp byte [ebp - 0xd], 0
jne 0x4064bd
cmp byte [ebp - 0x12], 0
je 0x40655c
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4064d6
dec ebx
cmp byte [ebx], 0x2e
je 0x4064e5
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4064d5
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x40655c
inc ebx
cmp byte [ebp - 0x12], 0
je 0x406512
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40655c
cmp byte [ebp - 0xd], 0
je 0x40655c
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x40655c
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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

Function at 0x40c1b8
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 0x40c1f1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00403d68
jmp 0x40c1fa
mov eax, ebx
mov edx, esi
call fcn.00403cd4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40c204
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 0x40c225
mov al, byte [esp]
jmp 0x40c227
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x418a90
Capabilities:
Resume thread

Disassembly:
push ebx
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
cmp eax, 1
jne 0x418aa5
mov byte [ebx + 0xd], 0
pop ebx
ret

Function at 0x41aaf4
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41aafa
ret

Function at 0x41d3cc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41d41d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41d404
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41d3f4
jmp 0x41d41d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41d405
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42ad38
Capabilities:
Open clipboard

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 4], 0
jne 0x42ad8c
mov eax, dword [0x4d30e0]
mov eax, dword [eax]
mov eax, dword [eax + 0x24]
mov dword [ebx + 8], eax
test eax, eax
jne 0x42ad64
push ebx
push 0x42ad94
call fcn.004465c4
mov dword [ebx + 8], eax
mov byte [ebx + 0xc], 1
mov eax, dword [ebx + 8]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
jne 0x42ad88
mov ecx, dword [0x4d2db0]
mov dl, 1
mov eax, dword [0x408518]
call fcn.0040ca68
call fcn.004036cc
mov byte [ebx + 0xd], 0
inc dword [ebx + 4]
pop ebx
ret

Function at 0x42adb4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042ad38
push 1
call sub.user32.dll_GetClipboardData
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42ae26
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 8], 0
je 0x42adfa
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov edx, eax
mov eax, ebx
call fcn.00403e38
jmp 0x42ae01
mov eax, ebx
call fcn.00403c80
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42ae2d
cmp dword [ebp - 8], 0
je 0x42ae1d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
mov eax, dword [ebp - 4]
call fcn.0042ad0c
ret

Function at 0x42ae34
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042ad38
xor edx, edx
push ebp
push 0x42aed6
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
je 0x42aea9
mov edx, ebx
mov eax, dword [0x41a5c8]
call fcn.0041ec40
test al, al
je 0x42ae99
movzx eax, bx
push eax
call sub.user32.dll_GetClipboardData
mov esi, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, esi
mov edx, ebx
mov eax, edi
call fcn.0041eb50
call fcn.0040376c
jmp 0x42aedd
movzx eax, bx
push eax
call sub.user32.dll_EnumClipboardFormats
mov ebx, eax
test bx, bx
jne 0x42ae64
mov ecx, dword [0x4d2e40]
mov dl, 1
mov eax, dword [0x408518]
call fcn.0040ca68
call fcn.004036cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42aedd
mov eax, dword [ebp - 4]
call fcn.0042ad0c
ret
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret

Function at 0x42aee4
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042ad38
xor eax, eax
push ebp
push 0x42af3c
push dword fs:[eax]
mov dword fs:[eax], esp
push 2
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
mov esi, eax
push esi
mov ecx, ebx
mov dx, 2
mov eax, edi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42af43
mov eax, dword [ebp - 4]
call fcn.0042ad0c
ret
Function at 0x42af4c
Capabilities:
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042ad38
xor edx, edx
push ebp
push 0x42afa1
push dword fs:[edx]
mov dword fs:[edx], esp
push 3
call sub.user32.dll_GetClipboardData
mov ebx, eax
push 9
call sub.user32.dll_GetClipboardData
push eax
mov ecx, ebx
mov dx, 3
mov eax, esi
mov ebx, dword [eax]
call dword [ebx + 0x58]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42afa8
mov eax, dword [ebp - 4]
call fcn.0042ad0c
ret

Function at 0x42b018
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042ad38
xor eax, eax
push ebp
push 0x42b08d
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042acf0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
call fcn.0041ec14
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42b077
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b094
mov eax, dword [ebp - 4]
call fcn.0042ad0c
ret

Function at 0x42b09c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0042ad38
xor eax, eax
push ebp
push 0x42b111
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0042acf0
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 8]
lea edx, [ebp - 0xa]
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx + 0x5c]
mov eax, dword [ebp - 8]
push eax
movzx eax, word [ebp - 0xa]
push eax
call sub.user32.dll_SetClipboardData
cmp dword [ebp - 0x10], 0
je 0x42b0fb
mov eax, dword [ebp - 0x10]
push eax
push 9
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42b118
mov eax, dword [ebp - 4]
call fcn.0042ad0c
ret