joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4029b0
Capabilities:
Enumerate gui resources

Disassembly:
push edi
push str.Enumerate2KDrive_n
call fcn.00401100
add esp, 4
push 0x12
push 0
push 0
push 0x40a430
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x4029de
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
ret
push esi
xor esi, esi
push esi
push edi
call fcn.00402870
add esp, 8
test eax, eax
je 0x4029f2
inc esi
jmp 0x4029e1
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
push 0
push 0x401c30
call dword [sym.imp.USER32.dll_EnumWindows]
pop esi
pop edi
ret

Function at 0x402a10
Capabilities:
Read .ini file

Disassembly:
push 0x417d18
push 1
push str.TRAYICON
push 0x40c4fc
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
test eax, eax
jne 0x402a2c
ret
push ebx
push esi
push edi
mov edi, str.Drive_Icon_and_Label_Utility
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esp + 0x10]
not ecx
sub edi, ecx
lea ebx, [edx + 0x18]
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, 1
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x14]
pop edi
pop esi
mov dword [edx], 0x58
mov dword [edx + 8], 0x6b
mov dword [edx + 4], ecx
mov dword [edx + 0x14], 0
mov dword [edx + 0x10], 0x465
pop ebx
ret

Function at 0x402b90
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x104
lea eax, [esp]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push edi
push 0x417d18
push 0x104
push eax
push 0x40c53c
push 0x40c538
push str.INFO
call esi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpA]
lea ecx, [esp + 8]
push ecx
push 0x40c53c
call edi
test eax, eax
jne 0x402bdd
pop edi
pop esi
add esp, 0x104
ret
push 0x40c094
lea edx, [esp + 0xc]
push 0x40c52c
push edx
call fcn.004036d7
add esp, 0xc
lea eax, [esp + 8]
push 0x417d18
push 0x104
push eax
push 0x40c53c
push 0x40c528
push str.INFO
call esi
lea ecx, [esp + 8]
push ecx
push 0x40c53c
call edi
test eax, eax
jne 0x402c2d
pop edi
pop esi
add esp, 0x104
ret
push 0x40c096
lea edx, [esp + 0xc]
push 0x40c52c
push edx
call fcn.004036d7
add esp, 0xc
mov eax, 1
pop edi
pop esi
add esp, 0x104
ret
Function at 0x402fa0
Capabilities:
Enumerate gui resources

Disassembly:
mov eax, dword [0x417e28]
test eax, eax
jne 0x402fd8
push 0
push 0x401c30
call dword [sym.imp.USER32.dll_EnumWindows]
call fcn.00401200
mov eax, dword [0x40e388]
push eax
call fcn.00402ae0
add esp, 4
call fcn.00402f40
mov dword [0x417e28], 1
ret

Function at 0x4031b0
Capabilities:
Hide graphical window

Disassembly:
sub esp, 0x254
lea eax, [esp + 0x150]
push esi
mov esi, dword [esp + 0x25c]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringA]
push 0x104
push eax
push 0x68
push esi
call edi
lea ecx, [esp + 0x54]
push 0x104
push ecx
push 0x6d
push esi
call edi
or ecx, 0xffffffff
xor eax, eax
mov edi, dword [esp + 0x268]
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x403229
lea edx, [esp + 0x158]
lea eax, [esp + 0x54]
push edx
push eax
call dword [sym.imp.USER32.dll_FindWindowA]
push 0
push 0x6a
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageA]
pop edi
xor eax, eax
pop esi
add esp, 0x254
ret 0x10
push str.dit.ini
push 0x417d18
mov dword [0x417e1c], esi
call fcn.00401130
push str.dit.dll
push str.C:Program_Filesdit.dll
call fcn.00401130
mov edi, dword [sym.imp.USER32.dll_LoadIconA]
add esp, 0x10
mov dword [esp + 8], 0x30
mov dword [esp + 0xc], 3
push 0x6b
push esi
mov dword [esp + 0x18], 0x402fe0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], esi
call edi
push 0x7f00
push 0
mov dword [esp + 0x28], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
lea ecx, [esp + 0x54]
push 0x6b
mov edx, dword [esp + 0x20]
mov dword [esp + 0x28], eax
push edx
mov dword [esp + 0x30], 6
mov dword [esp + 0x34], 0x6d
mov dword [esp + 0x38], ecx
call edi
mov dword [esp + 0x34], eax
lea eax, [esp + 8]
push eax
call dword [sym.imp.USER32.dll_RegisterClassExA]
push 0
push esi
push 0
push 0
push 0x32
push 0x12c
push 0
push 0
lea ecx, [esp + 0x178]
push 0xcf0000
lea edx, [esp + 0x78]
push ecx
push edx
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
test eax, eax
mov dword [0x40e388], eax
jne 0x40330c
pop edi
pop esi
add esp, 0x254
ret 0x10
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push 0
push 0
lea eax, [esp + 0x40]
push 0
push eax
call esi
test eax, eax
je 0x403359
mov edi, dword [sym.imp.USER32.dll_TranslateMessage]
push ebx
mov ebx, dword [sym.imp.USER32.dll_DispatchMessageA]
lea ecx, [esp + 0x3c]
push ecx
call edi
lea edx, [esp + 0x3c]
push edx
call ebx
push 0
push 0
lea eax, [esp + 0x44]
push 0
push eax
call esi
test eax, eax
jne 0x403339
pop ebx
call fcn.00402fa0
mov eax, dword [esp + 0x40]
pop edi
pop esi
add esp, 0x254
ret 0x10
Function at 0x407421
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40c8e0
cmp edx, dword [eax]
je 0x407443
add eax, 8
inc ecx
cmp eax, 0x40c970
jl 0x407434
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40c8e0]
jne 0x407571
mov eax, dword [0x417e34]
cmp eax, 1
je 0x40754b
test eax, eax
jne 0x407474
cmp dword [0x40c594], 1
je 0x40754b
cmp edx, 0xfc
je 0x407571
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x4074ab
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00408a80
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.004062d0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4074ee
lea eax, [ebp - 0x1a4]
push eax
call fcn.004062d0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40a9b4
push edi
call fcn.00403500
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00408a80
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00408a90
lea eax, [ebp - 0xa0]
push 0x40a994
push eax
call fcn.00408a90
push dword [esi + 0x40c8e4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00408a90
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00408b70
add esp, 0x2c
pop edi
jmp 0x407571
lea eax, [ebp + 8]
lea esi, [esi + 0x40c8e4]
push 0
push eax
push dword [esi]
call fcn.004062d0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x402d3c
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x4f3008], 0x8088405
inc edx
mov dword [ebx + 0x4f3008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x40320c
Capabilities:
Query or enumerate registry value

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

Function at 0x404090
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4f604c], 0
je 0x4040f1
cmp word [0x4f6220], 0xd7b2
jne 0x4040b9
cmp dword [0x4f6228], 0
jbe 0x4040b9
mov eax, 0x4f621c
call dword [0x4f6238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x4f3070
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 0x404118
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4f3034], 0
jne 0x40410d
push 0
push 0x4f3068
push 0x4f3070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x404244
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.004027f0
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x4f604d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x40420c
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x405e60
Capabilities:
Get geographical location

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 0x405f84
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405dd7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405f84
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x405dd7
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x405fa0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x405e60
xor eax, eax
push ebp
push 0x405e59
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405b9c
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 0x405e3e
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405fc0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405e3e
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 0x405e60
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 0x405f7a
cmp byte [ebp - 0xd], 0
jne 0x405ea7
cmp byte [ebp - 0x12], 0
je 0x405f7a
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405ec0
dec ebx
cmp byte [ebx], 0x2e
je 0x405ecf
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405ebf
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x405f7a
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405f0c
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 0x405f7a
cmp byte [ebp - 0xd], 0
je 0x405f7a
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 0x405f7a
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
Function at 0x406668
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x4066ce
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.00404500
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402dc4
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x4066b8
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4066d5
lea eax, [ebp - 0x10]
call fcn.00404290
ret

Function at 0x40c47c
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 0x40c4b5
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404380
jmp 0x40c4be
mov eax, ebx
mov edx, esi
call fcn.004042e4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40c4c8
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 0x40c4e9
mov al, byte [esp]
jmp 0x40c4eb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cb70
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40c9e8
mov eax, dword [0x4f58d0]
cmp byte [eax], 0
je 0x40cbec
mov eax, dword [0x4f5430]
call fcn.00402b6c
call fcn.00402958
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00409608
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40cc34
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40cc22
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4f537c]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x4f6668]
call fcn.00405b60
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40d500
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40d5d6
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404328
lea eax, [ebp - 8]
call fcn.004047a0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404750
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40d5c0
mov eax, ebx
call fcn.004027f0
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40d5b9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404750
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40d5a3
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40d5e8
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40d5a3
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d5c0
mov eax, dword [ebp - 0x10]
call fcn.00402810
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d5dd
lea eax, [ebp - 8]
call fcn.00404290
ret

Function at 0x40db5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40dbc0
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404500
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004090b8
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dbc7
lea eax, [ebp - 0xc]
call fcn.00404290
ret

Function at 0x426704
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0042655c
dec esi
jne 0x426726
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x42787c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4f688c
cmp dword [edi], 0
jne 0x4278f8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x4f6888]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4f3650
mov ecx, 2
call fcn.004029ec
mov edx, 0x427854
lea eax, [esi + 5]
call fcn.00427874
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00427874
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x4278cd
mov dword [0x4f6888], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x428f64
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 0x428f6a
ret

Function at 0x42b690
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 0x42b6e1
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x42b6c8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x42b6b8
jmp 0x42b6e1
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 0x42b6c9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x435558
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404740
xor eax, eax
push ebp
push 0x435686
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x435659
xor eax, eax
push ebp
push 0x435652
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404550
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x435627
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x435616
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404550
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404750
mov edx, ebx
pop ecx
call fcn.004029ec
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43561d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x4f5260]
mov dl, 1
mov eax, dword [0x407c30]
call fcn.0040cd24
call fcn.00403c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43568d
lea eax, [ebp - 4]
call fcn.00404290
ret
Function at 0x435694
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x435845
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404940
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x43585c
call fcn.0040459c
mov eax, ebx
call fcn.00426dfc
mov edi, eax
dec edi
test edi, edi
jl 0x43574c
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.00426dd0
mov edx, dword [0x43cfe4]
call fcn.00403528
test al, al
je 0x435748
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.00426dd0
lea edx, [ebp - 0x14]
call fcn.0044a150
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404940
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00404610
inc esi
dec edi
jne 0x4356fa
mov al, byte [0x435860]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x43586c
mov eax, dword [ebp - 0xc]
call fcn.0040e134
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404328
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.0044a150
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x43585c
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.0044a150
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x43585c
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x43585c
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x435878
call fcn.00409ce4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43584c
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.004042b4
lea eax, [ebp - 0x14]
call fcn.00404290
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.004042b4
ret