joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10034440
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070608
mov eax, dword fs:[0]
push eax
sub esp, 0x298
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
mov byte [ebp - 0x261], 1
push 0x1007cd60
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2a0]
push ecx
call fcn.1000a100
add esp, 0xc
mov dword [ebp - 0x2a4], eax
mov edx, dword [ebp - 0x2a4]
mov eax, dword [edx]
mov dword [ebp - 0x28c], eax
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x28c]
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov dword [ebp - 0x278], eax
mov eax, dword [ebp - 0x2a0]
sub eax, 0x10
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
call fcn.10003fb0
cmp dword [ebp - 0x278], 0xffffffff
je 0x10034652
mov dword [ebp - 0x268], 0x1007cd68
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x274], ecx
mov edx, dword [ebp - 0x274]
mov ax, word [edx]
mov word [ebp - 0x27a], ax
mov ecx, dword [ebp - 0x268]
cmp ax, word [ecx]
jne 0x10034562
cmp word [ebp - 0x27a], 0
je 0x10034556
mov edx, dword [ebp - 0x274]
mov ax, word [edx + 2]
mov word [ebp - 0x27c], ax
mov ecx, dword [ebp - 0x268]
cmp ax, word [ecx + 2]
jne 0x10034562
add dword [ebp - 0x274], 4
add dword [ebp - 0x268], 4
cmp word [ebp - 0x27c], 0
jne 0x100344fc
mov dword [ebp - 0x284], 0
jmp 0x1003456d
sbb edx, edx
or edx, 1
mov dword [ebp - 0x284], edx
mov eax, dword [ebp - 0x284]
mov dword [ebp - 0x290], eax
cmp dword [ebp - 0x290], 0
je 0x10034629
mov dword [ebp - 0x26c], 0x1007cd6c
lea ecx, [ebp - 0x234]
mov dword [ebp - 0x270], ecx
mov edx, dword [ebp - 0x270]
mov ax, word [edx]
mov word [ebp - 0x27e], ax
mov ecx, dword [ebp - 0x26c]
cmp ax, word [ecx]
jne 0x10034602
cmp word [ebp - 0x27e], 0
je 0x100345f6
mov edx, dword [ebp - 0x270]
mov ax, word [edx + 2]
mov word [ebp - 0x280], ax
mov ecx, dword [ebp - 0x26c]
cmp ax, word [ecx + 2]
jne 0x10034602
add dword [ebp - 0x270], 4
add dword [ebp - 0x26c], 4
cmp word [ebp - 0x280], 0
jne 0x1003459c
mov dword [ebp - 0x288], 0
jmp 0x1003460d
sbb edx, edx
or edx, 1
mov dword [ebp - 0x288], edx
mov eax, dword [ebp - 0x288]
mov dword [ebp - 0x294], eax
cmp dword [ebp - 0x294], 0
je 0x10034629
mov byte [ebp - 0x261], 0
lea ecx, [ebp - 0x260]
push ecx
mov edx, dword [ebp - 0x278]
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x100344e6
mov eax, dword [ebp - 0x278]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov cl, byte [ebp - 0x261]
mov byte [ebp - 0x262], cl
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp + 8]
sub edx, 0x10
mov dword [ebp - 0x29c], edx
mov ecx, dword [ebp - 0x29c]
call fcn.10003fb0
mov al, byte [ebp - 0x262]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret
Function at 0x100351b0
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x28]
push eax
push 0x20019
push 0
push 0x550a
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push eax
push SysStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1003526f
push 0x5543
mov ecx, dword [0x1008954c]
call fcn.1002ab40
push eax
lea ecx, [ebp - 0x1c]
call fcn.1003d140
cmp dword [ebp - 8], 8
jb 0x1003521c
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x20], ecx
mov edx, dword [ebp - 0x1c]
mov dword [ebp - 0x20], edx
jmp 0x10035222
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x20], eax
lea ecx, [ebp - 0x24]
push ecx
push 0x2001f
push 0
mov edx, dword [ebp - 0x20]
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10035259
push 0x10089554
mov eax, dword [ebp - 0x24]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov ecx, dword [ebp - 0x24]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, dword [ebp - 0x28]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push 1
lea ecx, [ebp - 0x1c]
call fcn.1003cd30
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret

Function at 0x10035f20
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070498
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100871e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x10], 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0x1007cdf8
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
push section..data
lea ecx, [ebp - 0x14]
call fcn.10002400
mov dword [ebp - 4], 0
cmp dword [ebp - 0x10], 0
je 0x10035f9d
mov ecx, dword [ebp - 0x10]
push ecx
push 0x1007ce00
lea edx, [ebp - 0x14]
push edx
call fcn.10007700
add esp, 0xc
mov eax, dword [ebp - 0x14]
sub eax, 0x10
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call fcn.10007f90
add esp, 4
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
add edx, 0x10
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0x18]
or ecx, 1
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x14]
sub edx, 0x10
mov dword [ebp - 0x24], edx
mov ecx, dword [ebp - 0x24]
call fcn.10003fb0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x10036000
Capabilities:
Send icmp echo request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x60], 0x20
mov dword [ebp - 0x58], 5
mov dword [ebp - 0x5c], 0xbb8
call dword [sym.imp.IPHLPAPI.DLL_IcmpCreateFile]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1003603e
mov eax, 1
jmp 0x100360ef
mov byte [ebp - 0x34], 0
xor eax, eax
mov dword [ebp - 0x33], eax
mov word [ebp - 0x2f], ax
mov byte [ebp - 0x2d], al
mov byte [ebp - 0x24], 0
xor ecx, ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 0x1f], ecx
mov dword [ebp - 0x1b], ecx
mov dword [ebp - 0x17], ecx
mov dword [ebp - 0x13], ecx
mov dword [ebp - 0xf], ecx
mov dword [ebp - 0xb], ecx
mov word [ebp - 7], cx
mov byte [ebp - 5], cl
mov dword [ebp - 0x28], 1
jmp 0x10036082
mov edx, dword [ebp - 0x28]
add edx, 1
mov dword [ebp - 0x28], edx
cmp dword [ebp - 0x28], 5
jg 0x100360e3
mov al, byte [ebp - 0x28]
mov byte [ebp - 0x34], al
mov dword [ebp - 0x54], 0
xor ecx, ecx
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x4c], ecx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x44], ecx
mov dword [ebp - 0x40], ecx
mov dword [ebp - 0x3c], ecx
push 0xbb8
push 0x1c
lea edx, [ebp - 0x54]
push edx
lea eax, [ebp - 0x34]
push eax
push 0x20
lea ecx, [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpSendEcho]
mov dword [ebp - 0x64], eax
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x38], ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp + 0xc]
call fcn.10038a30
jmp 0x10036079
mov eax, dword [ebp - 0x2c]
push eax
call dword [sym.imp.IPHLPAPI.DLL_IcmpCloseHandle]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret
Function at 0x1003ef80
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100713ce
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x100871e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi]
add eax, 0xfc
push 0x1007d25c
push eax
lea eax, [ebp - 0x224]
push eax
call fcn.1000a100
add esp, 0xc
push 1
push 0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0
call fcn.10002fc0
push eax
call fcn.10033920
mov eax, dword [esi]
add esp, 8
cmp dword [eax + 0x100], 0
je 0x1003f046
lea ecx, [ebp - 0x22c]
call fcn.10025290
mov eax, dword [esi]
push ecx
add eax, 0xfc
mov ecx, esp
mov dword [ebp - 0x21c], esp
push eax
call fcn.100080b0
mov byte [ebp - 4], 1
mov ecx, dword [0x1008954c]
push 0x667f
call fcn.1002ab40
push ecx
mov ecx, esp
push eax
call fcn.100064a0
push SysReAllocString
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 0
call fcn.10026530
push 0x1007c0cf
lea ecx, [ebp - 0x220]
call fcn.10002380
push 0
push 0x10
lea eax, [ebp - 0x218]
push eax
push 0
mov byte [ebp - 4], 2
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
js 0x1003f110
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.100064a0
push 0x1007d274
push eax
lea eax, [ebp - 0x228]
push eax
mov byte [ebp - 4], 3
call fcn.1000a100
mov byte [ebp - 4], 4
mov ecx, dword [esi]
add ecx, 0xfc
push ecx
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10006820
push str..lnk
push eax
lea eax, [ebp - 0x22c]
push eax
mov byte [ebp - 4], 5
call fcn.1000a100
add esp, 0x24
push eax
lea ecx, [ebp - 0x220]
mov byte [ebp - 4], 6
call fcn.10006560
lea ecx, [ebp - 0x22c]
call fcn.10004010
lea ecx, [ebp - 0x230]
call fcn.10004010
lea ecx, [ebp - 0x228]
call fcn.10004010
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.10004010
push ecx
lea eax, [ebp - 0x220]
mov ecx, esp
push eax
call fcn.100080b0
call fcn.10030b60
add esp, 4
test al, al
je 0x1003f144
push 3
push ecx
lea eax, [ebp - 0x220]
mov ecx, esp
push eax
call fcn.100080b0
call fcn.10030dd0
add esp, 8
mov eax, dword [esi]
cmp dword [eax + 0x10c], 0
je 0x1003f1a9
push 0xa
push ecx
mov ecx, esp
mov dword [ebp - 0x228], esp
push str._uninstall
call fcn.10002380
lea eax, [ebp - 0x21c]
mov byte [ebp - 4], 7
mov ecx, dword [esi]
push eax
call fcn.10014320
push ecx
mov ecx, esp
lea edx, [ebp - 0x224]
push edx
push eax
push ecx
mov byte [ebp - 4], 8
call fcn.10006820
add esp, 0xc
mov byte [ebp - 4], 9
call fcn.10032800
add esp, 0xc
lea ecx, [ebp - 0x21c]
mov byte [ebp - 4], 2
call fcn.10004010
mov ecx, dword [esi]
push 3
lea eax, [ebp - 0x21c]
push eax
call fcn.10014320
push ecx
mov ecx, esp
lea edx, [ebp - 0x224]
push edx
push eax
push ecx
mov byte [ebp - 4], 0xa
call fcn.10006820
add esp, 0xc
call fcn.10030dd0
add esp, 8
lea ecx, [ebp - 0x21c]
call fcn.10004010
lea ecx, [ebp - 0x220]
call fcn.10004010
lea ecx, [ebp - 0x224]
call fcn.10004010
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100422b3
mov esp, ebp
pop ebp
ret 4
Function at 0x10040dd0
Capabilities:
Delete service

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100717f0
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x100871e0]
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.10011760
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.100080b0
call fcn.10029470
add esp, 4
lea ecx, [ebp + 0xc]
push 0x10020
call fcn.10025240
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
je 0x10040e69
cmp byte [ebp - 0xd], 0
mov bl, 1
je 0x10040e62
test bh, bh
jne 0x10040e69
push esi
call dword [sym.imp.ADVAPI32.dll_DeleteService]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
test bl, bl
je 0x10040e89
cmp byte [ebp + 0x14], 0
jne 0x10040e93
call fcn.10029720
jmp 0x10040f48
cmp byte [ebp + 0x14], 0
je 0x10040f48
lea ecx, [ebp + 0x18]
call fcn.10006440
test al, al
jne 0x10040f48
push 0x1007d370
lea ecx, [ebp + 0x14]
call fcn.10002380
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.10006820
add esp, 0xc
lea ecx, [ebp + 0x14]
mov byte [ebp - 4], 6
call fcn.10004010
push str._x64.exe
lea ecx, [ebp - 0x14]
call fcn.10002380
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.10006820
add esp, 0xc
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 9
call fcn.10004010
push 1
push 0
lea ecx, [ebp - 0x1c]
call fcn.10002fc0
push eax
call fcn.10033920
add esp, 8
call fcn.10034040
test eax, eax
je 0x10040f38
push 1
push 0
lea ecx, [ebp - 0x18]
call fcn.10002fc0
push eax
call fcn.10033920
add esp, 8
lea ecx, [ebp - 0x18]
call fcn.10004010
lea ecx, [ebp - 0x1c]
call fcn.10004010
lea ecx, [ebp + 8]
call fcn.10004010
lea ecx, [ebp + 0xc]
call fcn.10004010
lea ecx, [ebp + 0x10]
call fcn.10004010
lea ecx, [ebp + 0x18]
call fcn.10004010
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 0x10054c81
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x100871e0]
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.1004895e
mov dword [ebp - 0x14], eax
cmp dword [0x100894ac], edi
jne 0x10054d72
push 0x800
push edi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov esi, eax
test esi, esi
jne 0x10054cff
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x10054e52
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10054e52
push 0x10077df0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10054e52
push eax
call ebx
push str.GetActiveWindow
push esi
mov dword [0x100894ac], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push esi
mov dword [0x100894b0], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push esi
mov dword [0x100894b4], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100894bc], eax
test eax, eax
je 0x10054d6f
push str.GetProcessWindowStation
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x100894b8], eax
mov esi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x10054d97
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10054d8a
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], edi
je 0x10054dac
push 4
pop eax
jmp 0x10054e54
cmp dword [ebp - 0x14], edi
je 0x10054dac
push dword [0x100894ac]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10054d91
mov eax, dword [0x100894b8]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, esi
je 0x10054e0a
cmp dword [0x100894bc], esi
je 0x10054e0a
push eax
call ebx
push dword [0x100894bc]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x10054e0a
test eax, eax
je 0x10054e0a
call ecx
test eax, eax
je 0x10054dff
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 0x10054dff
test byte [ebp - 8], 1
jne 0x10054e0a
mov esi, dword [ebp + 0x10]
or esi, 0x200000
jmp 0x10054e3a
mov eax, dword [0x100894b0]
cmp eax, esi
je 0x10054e37
push eax
call ebx
test eax, eax
je 0x10054e37
call eax
mov edi, eax
test edi, edi
je 0x10054e37
mov eax, dword [0x100894b4]
cmp eax, esi
je 0x10054e37
push eax
call ebx
test eax, eax
je 0x10054e37
push edi
call eax
mov edi, eax
mov esi, dword [ebp + 0x10]
push dword [0x100894ac]
call ebx
test eax, eax
je 0x10054e52
push esi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push edi
call eax
jmp 0x10054e54
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.100422b3
leave
ret
Function at 0x100640d7
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10047f79
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 0x1006410f
xor eax, eax
jmp 0x1006413b
cmp esi, dword [ebp - 4]
je 0x10064138
cmp dword [ebp + 0xc], 0
je 0x10064138
push dword [edi + 0x9c]
call fcn.10063ce5
push dword [edi + 0x9c]
mov esi, eax
call fcn.10053575
pop ecx
pop ecx
cmp esi, eax
je 0x1006410b
xor eax, eax
inc eax
pop edi
pop esi
leave
ret

Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
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 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
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 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0
Function at 0x409e70
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f63b
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.00491eb8
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x409ef2
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0048f883
mov eax, dword [eax]
push 0x4c8d10
push eax
call fcn.00481784
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00492143
test bl, bl
je 0x409ef2
push 0x4c8d10
lea ecx, [esp + 0xc]
call fcn.0049251f
push 0x4c8d1c
lea ecx, [esp + 0xc]
call fcn.0049251f
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 0x409f2e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00492143
jmp 0x409ff9
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 0x409fb2
lea edx, [esp + 0x7c]
push 0x4c8d18
push edx
call fcn.00481784
add esp, 8
test eax, eax
je 0x409fb2
lea eax, [esp + 0x7c]
push 0x4c8d14
push eax
call fcn.00481784
add esp, 8
test eax, eax
je 0x409fb2
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 0x409f42
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.00492143
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 0x40a800
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 0x40a862
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 0x40a870
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x49f6bb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20c
mov eax, dword [0x4d4d8c]
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 0x40a9a8
mov ecx, dword [edi + 0x48]
lea esi, [edi + 0x48]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x40a8d6
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492143
xor eax, eax
jmp 0x40aa1f
push str.mailto:
lea ecx, [esp + 0xc]
call fcn.004922cc
push esi
lea ecx, [esp + 0xc]
call fcn.0049255b
mov ecx, dword [esp + 8]
push ebx
push ebp
mov ebp, dword [esp + 0x22c]
push ebp
push 0
push 0
push ecx
push 0x4c8d50
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x40a9fd
lea edx, [esp + 0x14]
mov ecx, edi
push edx
push 0x4c8d48
push SysReAllocStringLen
call fcn.0040a800
test eax, eax
jne 0x40a9fd
mov ebx, dword [sym.imp.KERNEL32.DLL_lstrcatA]
lea eax, [esp + 0x14]
push 0x4c8d34
push eax
call ebx
lea ecx, [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
push edx
push SysReAllocStringLen
mov ecx, edi
call fcn.0040a800
test eax, eax
jne 0x40a9fd
lea eax, [esp + 0x14]
push 0x4c8d2c
push eax
call fcn.004828e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a9dc
lea ecx, [esp + 0x14]
push 0x4c8d28
push ecx
call fcn.00482860
mov esi, eax
add esp, 8
test esi, esi
jne 0x40a9dc
lea edx, [esp + 0x14]
push edx
call dword [sym.imp.KERNEL32.DLL_lstrlenA]
lea esi, [esp + eax + 0x13]
jmp 0x40a9df
lea edx, [edi + 0x4c]
lea ecx, [esp + 8]
push edx
call fcn.0049227c
mov eax, dword [esp + 8]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x40a8ee
lea ecx, [esp + 8]
mov dword [esp + 0x21c], 0xffffffff
call fcn.00492143
xor eax, eax
jmp 0x40aa1f
mov byte [esi], 0
push 0x4c8d24
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.00492143
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