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

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push esi
push edi
mov edi, dword [edx]
xor eax, eax
xor esi, esi
test edi, edi
je 0x1004131f
push ebx
mov ebx, dword [ecx + 4]
mov ecx, dword [ebp + 8]
inc esi
movzx edx, byte [esi + ecx - 1]
movzx ecx, al
xor edx, ecx
shr eax, 8
xor eax, dword [ebx + edx*4]
cmp esi, edi
jb 0x10041306
pop ebx
pop edi
xor eax, 0x55
pop esi
pop ebp
ret 8

Function at 0x10041370
Capabilities:
Get hostname
Get user security identifier

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5f98
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x28], eax
call fcn.10002c90
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x20], 0x10
call fcn.100066f0
lea eax, [ebp - 0x20]
push eax
push 0x10
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.10028490
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x10]
test eax, eax
je 0x100414d2
push dword [ebp - 0x20]
call fcn.100025a0
push 0x20
mov dword [ebp - 0x1c], 0x20
call fcn.1005f64f
mov edi, eax
add esp, 4
test edi, edi
je 0x100414d9
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
push 0
lea ecx, [ebp - 0x10]
mov dword [ebp - 0x14], 0
call fcn.10002390
mov esi, dword [sym.imp.ADVAPI32.dll_LookupAccountNameW]
push eax
push 0
call esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebx
cmp eax, 0x7a
jne 0x10041475
push dword [ebp - 0x1c]
push 0
push edi
call fcn.10080a30
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
call fcn.10028490
push eax
lea eax, [ebp - 0x1c]
push eax
push edi
lea ecx, [ebp - 0x10]
call fcn.10002390
push eax
push 0
call esi
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
test eax, eax
jne 0x10041482
call fcn.100025a0
push edi
call fcn.1007cd79
add esp, 4
call ebx
jmp 0x100414df
call fcn.100025a0
push edi
call dword [sym.imp.ADVAPI32.dll_IsValidSid]
test eax, eax
je 0x10041475
lea eax, [ebp - 0x18]
push eax
push edi
mov dword [ebp - 0x18], 0
call dword [sym.imp.ADVAPI32.dll_ConvertSidToStringSidW]
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x28]
mov esi, eax
call fcn.1000e420
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_LocalFree]
push edi
mov dword [ebp - 0x18], 0
call fcn.1007cd79
add esp, 4
test esi, esi
je 0x1004147e
xor esi, esi
jmp 0x100414e1
push 0xffffffffffffffff
call fcn.10028aa0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.10004030
mov eax, esi
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 0x10041a90
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5ee8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x2c], 0
call fcn.100066f0
lea eax, [ebp - 0x14]
push eax
push ecx
mov ecx, esp
push str.chrome.exe
mov dword [ebp - 4], 0
call fcn.10006710
call fcn.100397e0
add esp, 8
test al, al
je 0x10041bb9
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x28], 0
call fcn.10026d20
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov ebx, eax
test ebx, ebx
je 0x10041bb9
push ebx
call fcn.1005f64f
add esp, 4
mov edi, eax
push edi
push ebx
push 0
lea ecx, [ebp - 0x14]
call fcn.10026d20
push eax
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x10041bb0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x100c64e0
push edi
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x10041bb0
cmp dword [ebp - 0x1c], 0x34
jne 0x10041bb0
lea ecx, [ebp - 0x18]
call fcn.100066f0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
movzx eax, word [ecx + 0x14]
push eax
movzx eax, word [ecx + 0x16]
push eax
movzx eax, word [ecx + 0x10]
push eax
movzx eax, word [ecx + 0x12]
push eax
lea eax, [ebp - 0x18]
push 0x100c64e4
push eax
call fcn.10007970
push edi
call fcn.1007cd79
add esp, 0x1c
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.10008320
lea ecx, [ebp - 0x18]
jmp 0x10041c64
push edi
call fcn.1007cd79
add esp, 4
lea ecx, [ebp - 0x24]
call fcn.10026d70
lea ecx, [ebp - 0x10]
call fcn.100066f0
lea eax, [ebp - 0x10]
push eax
push ecx
mov byte [ebp - 4], 2
mov ecx, esp
mov dword [ebp - 0x28], esp
push 0x100c64fc
call fcn.10006710
push ecx
mov ecx, esp
push 0x100c6520
mov byte [ebp - 4], 3
call fcn.10006710
push SysReAllocString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10027a00
test al, al
lea eax, [ebp - 0x10]
push eax
je 0x10041c14
mov ecx, esi
call fcn.10008320
jmp 0x10041c61
push ecx
mov ecx, esp
mov dword [ebp - 0x28], esp
push str.Version
call fcn.10006710
push ecx
mov ecx, esp
push str.SOFTWAREMicrosoftWindowsCurrentVersionUninstallGoogle_Chrome
mov byte [ebp - 4], 4
call fcn.10006710
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call fcn.10027a00
mov ecx, esi
test al, al
je 0x10041c57
lea eax, [ebp - 0x10]
push eax
call fcn.10008320
jmp 0x10041c61
push str.0.0.0.0
call fcn.100023a0
lea ecx, [ebp - 0x10]
call fcn.10004030
lea ecx, [ebp - 0x14]
call fcn.10004030
mov eax, esi
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 0x100449d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b6342
mov eax, dword fs:[0]
push eax
sub esp, 0x214
mov eax, dword [0x100e01f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x220], esi
mov dword [ebp - 0x21c], 0
call dword [sym.imp.KERNEL32.dll_GetPriorityClass]
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, esi
call fcn.10006710
mov dword [ebp - 4], 0
push 0x100c68f0
mov ecx, esi
mov dword [ebp - 0x21c], 1
call fcn.1000e1b0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret 4
Function at 0x10048a80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100b6c08
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x100e01f0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x40], 0
je 0x10048c4a
cmp byte [ebx + 0x45], 0
je 0x10048c4a
mov eax, dword [ebx]
push 0xffffffffffffffff
call dword [eax + 0xc]
cmp eax, 0xffffffff
jne 0x10048ae0
xor al, al
jmp 0x10048c4c
lea ecx, [esp + 0x13]
call fcn.10003ad0
push eax
lea ecx, [esp + 0x2c]
call fcn.10003210
push 0
push 0
lea ecx, [esp + 0x30]
call fcn.10003b00
push 0
push 8
lea ecx, [esp + 0x30]
call fcn.10003b90
test al, al
je 0x10048b2b
push 0
push 8
push 0
lea ecx, [esp + 0x34]
call fcn.1003dc20
push 8
lea ecx, [esp + 0x2c]
call fcn.10003cd0
mov dword [esp + 0x50], 0
lea ecx, [esp + 0x28]
call fcn.10003ca0
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x2c]
call fcn.1003dd10
lea ecx, [esp + 0x24]
call fcn.1003aa00
lea ecx, [esp + 0x28]
mov esi, eax
call fcn.10003ca0
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.1003dd10
lea ecx, [esp + 0x1c]
call fcn.1003aa00
lea ecx, [esp + 0x28]
mov edi, eax
call fcn.100032c0
mov ecx, dword [ebx + 0x40]
lea edx, [eax + esi]
mov esi, dword [ecx]
lea eax, [esp + 0x18]
push eax
push edx
push edi
lea eax, [ebx + 0x48]
push eax
call dword [esi + 0x20]
sub eax, 0
je 0x10048bbb
dec eax
je 0x10048bbf
sub eax, 2
je 0x10048c3b
lea ecx, [esp + 0x28]
xor bl, bl
call fcn.100031c0
mov al, bl
jmp 0x10048c4c
mov byte [ebx + 0x45], 0
lea ecx, [esp + 0x28]
call fcn.10003ca0
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.1003dd10
lea ecx, [esp + 0x14]
call fcn.1003aa00
mov esi, dword [esp + 0x18]
sub esi, eax
je 0x10048c1c
lea ecx, [esp + 0x28]
call fcn.10003ca0
lea ecx, [esp + 0x28]
push ecx
push eax
lea ecx, [esp + 0x28]
call fcn.1003dd10
lea ecx, [esp + 0x20]
call fcn.1003aa00
push dword [ebx + 0x50]
push esi
push 1
push eax
call fcn.1007ced5
add esp, 0x10
cmp esi, eax
jne 0x10048ba9
cmp byte [ebx + 0x45], 0
je 0x10048c3b
test esi, esi
jne 0x10048b33
push esi
push 8
lea ecx, [esp + 0x30]
call fcn.1003b500
jmp 0x10048b33
lea ecx, [esp + 0x28]
mov bl, 1
call fcn.100031c0
mov al, bl
jmp 0x10048c4c
mov al, 1
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.1007ab33
mov esp, ebp
pop ebp
ret
Function at 0x1004bd90
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7080
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100e01f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov bl, dl
mov byte [ebp - 0xd], cl
lea eax, [ebp + 8]
push eax
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], 3
call fcn.10011b00
add esp, 8
mov bh, al
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
push ecx
mov edi, eax
lea eax, [ebp + 0xc]
mov ecx, esp
push eax
call fcn.10008320
call fcn.1002af70
add esp, 4
lea ecx, [ebp + 0xc]
push 0x10020
call fcn.10026d20
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x1004be2f
cmp byte [ebp - 0xd], 0
mov bl, 1
je 0x1004be22
test bh, bh
jne 0x1004be2f
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
test bl, bl
je 0x1004be4f
cmp byte [ebp + 0x14], 0
jne 0x1004be59
call fcn.1002b230
jmp 0x1004bf0e
cmp byte [ebp + 0x14], 0
je 0x1004bf0e
lea ecx, [ebp + 0x18]
call fcn.100066b0
test al, al
jne 0x1004bf0e
push 0x100c6a90
lea ecx, [ebp + 0x14]
call fcn.100023a0
lea eax, [ebp + 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x1c]
push eax
mov byte [ebp - 4], 4
call fcn.10006a90
add esp, 0xc
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 6
call fcn.10004030
push str._x64.exe
lea ecx, [ebp - 0x14]
call fcn.100023a0
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0x18]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.10006a90
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.10004030
push 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.10002fe0
push eax
call fcn.10035a20
add esp, 8
call fcn.10036180
test eax, eax
je 0x1004befe
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.10002fe0
push eax
call fcn.10035a20
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.10004030
lea ecx, [ebp - 0x1c]
call fcn.10004030
lea ecx, [ebp + 8]
call fcn.10004030
lea ecx, [ebp + 0xc]
call fcn.10004030
lea ecx, [ebp + 0x10]
call fcn.10004030
lea ecx, [ebp + 0x18]
call fcn.10004030
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 0x1009c4c3
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100e01f0]
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
mov eax, dword [ebp + 0xc]
xor edi, edi
push edi
mov dword [ebp - 0x20], eax
call ebx
mov esi, eax
mov dword [ebp - 0x18], esi
call fcn.10084602
mov dword [ebp - 0x14], eax
cmp dword [0x100e2820], edi
jne 0x1009c5b4
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x1009c541
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x1009c694
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x1009c694
push 0x100c388c
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1009c694
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100e2820], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100e2824], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100e2828], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100e2830], eax
test eax, eax
je 0x1009c5b1
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100e282c], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1009c5d9
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x1009c5cc
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x1009c5ee
push 4
pop eax
jmp 0x1009c696
cmp dword [ebp - 0x14], edi
je 0x1009c5ee
push dword [0x100e2820]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x1009c5d3
mov eax, dword [0x100e282c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x1009c64c
cmp dword [0x100e2830], esi
je 0x1009c64c
push eax
call ebx
push dword [0x100e2830]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x1009c64c
test eax, eax
je 0x1009c64c
call ecx
test eax, eax
je 0x1009c641
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 0x1009c641
test byte [ebp - 8], 1
jne 0x1009c64c
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x1009c67c
mov eax, dword [0x100e2824]
cmp eax, esi
je 0x1009c679
push eax
call ebx
test eax, eax
je 0x1009c679
call eax
mov edi, eax
test edi, edi
je 0x1009c679
mov eax, dword [0x100e2828]
cmp eax, esi
je 0x1009c679
push eax
call ebx
test eax, eax
je 0x1009c679
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100e2820]
call ebx
test eax, eax
je 0x1009c694
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x1009c696
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1007ab33
leave
ret
Function at 0x100a5ea4
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.1008a15b
mov esi, dword [ebp + 8]
push 2
mov edi, eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x100a5edc
xor eax, eax
jmp 0x100a5f08
cmp esi, dword [ebp - 4]
je 0x100a5f05
cmp dword [ebp + 0xc], 0
je 0x100a5f05
push dword [edi + 0x9c]
call fcn.100a5ab2
push dword [edi + 0x9c]
mov esi, eax
call fcn.1008492a
pop ecx
pop ecx
cmp esi, eax
je 0x100a5ed8
xor eax, eax
inc eax
pop edi
pop esi
leave
ret
Function at 0x597130
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x11a000]
push edi
jmp 0x59714a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x597151
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x597140
mov eax, 1
add ebx, ebx
jne 0x597163
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x597174
jne 0x597193
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x597193
dec eax
add ebx, ebx
jne 0x597180
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x597158
add ebx, ebx
jne 0x59718f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5971e5
xor ecx, ecx
sub eax, 3
jb 0x5971ab
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x59721a
sar eax, 1
mov ebp, eax
jmp 0x5971b6
add ebx, ebx
jne 0x5971b6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x597184
inc ecx
add ebx, ebx
jne 0x5971c4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x597184
add ebx, ebx
jne 0x5971d1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x5971c6
jne 0x5971e2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x5971c6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x597204
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5971f6
jmp 0x597146
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x597204
add edi, ecx
jmp 0x597146
pop esi
mov edi, esi
mov ecx, 0x5df5
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x597222
cmp byte [edi], 0x22
jne 0x597222
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x597227
lea edi, [esi + 0x194000]
mov eax, dword [edi]
or eax, eax
je 0x59729f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1b2ae4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1b2c24]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x597254
mov ecx, edi
jns 0x597283
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1b2c28]
or eax, eax
je 0x597299
mov dword [ebx], eax
add ebx, 4
jmp 0x597271
call dword [esi + 0x1b2c38]
mov ebp, dword [esi + 0x1b2c2c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x237]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5972d3
sub esp, 0xffffff80
jmp 0x4b5da1
Function at 0x412280
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x479b5b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.0046e5d4
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x412302
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046c4fd
mov eax, dword [eax]
push 0x8e7230
push eax
call fcn.0045f114
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.0046e85f
test bl, bl
je 0x412302
push 0x8e7230
lea ecx, [esp + 0xc]
call fcn.0046ebef
push 0x8ead90
lea ecx, [esp + 0xc]
call fcn.0046ebef
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x41233e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.0046e85f
jmp 0x412409
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x4123c2
lea edx, [esp + 0x7c]
push 0x8ead8c
push edx
call fcn.0045f114
add esp, 8
test eax, eax
je 0x4123c2
lea eax, [esp + 0x7c]
push 0x8ead88
push eax
call fcn.0045f114
add esp, 8
test eax, eax
je 0x4123c2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x412352
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.0046e85f
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x412c00
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x412c62
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x412c70
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x479bdb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x8f75a8]
push esi
push edi
mov edi, ecx
mov dword [esp + 8], eax
mov eax, dword [edi + 0x44]
mov dword [esp + 0x21c], 0
test eax, eax
jne 0x412da8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x412cd6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e85f
xor eax, eax
jmp 0x412e1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.0046e99c
push esi
lea ecx, [esp + 0xc]
call fcn.0046ec2b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x412dfd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push str..htm
push accept
call fcn.00412c00
test eax, eax
jne 0x412dfd
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [esp + 0x14]
push str._shellopencommand
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push accept
mov ecx, edi
call fcn.00412c00
test eax, eax
jne 0x412dfd
lea eax, [esp + 0x14]
push 0x8eada4
push eax
call fcn.00460150
mov esi, eax
add esp, 8
test esi, esi
jne 0x412ddc
lea ecx, [esp + 0x14]
push 0x8eada0
push ecx
call fcn.004600d0
mov esi, eax
add esp, 8
test esi, esi
jne 0x412ddc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x412ddf
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0046e94c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x412cee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.0046e85f
xor eax, eax
jmp 0x412e1f
mov byte [esi], 0
push 0x8ead9c
push esi
call ebx
mov eax, dword [esp + 0x10]
push eax
push esi
call ebx
lea ecx, [esp + 0x14]
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_WinExec]
mov esi, eax
xor edx, edx
cmp esi, 0x20
setg dl
lea ecx, [esp + 0x10]
mov esi, edx
mov dword [esp + 0x224], 0xffffffff
call fcn.0046e85f
pop ebp
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x218
ret 4