joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404458
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 0x4045f4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x404508
xor eax, eax
push ebp
push 0x404501
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]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4044ea
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404614
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 0x404508
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 0x4045e9
cmp byte [ebp - 0xd], 0
jne 0x40454a
cmp byte [ebp - 0x12], 0
je 0x4045e9
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x404563
dec ebx
cmp byte [ebx], 0x2e
je 0x404572
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404562
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4045e9
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40459f
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 0x4045e9
cmp byte [ebp - 0xd], 0
je 0x4045e9
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 0x4045e9
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 0x407988
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 0x4079c1
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004037f0
jmp 0x4079ca
mov eax, ebx
mov edx, esi
call fcn.004037a4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4079d4
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 0x4079f5
mov al, byte [esp]
jmp 0x4079f7
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x411528
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 0x41152e
ret

Function at 0x413910
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 0x413961
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x413948
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jne 0x413938
jmp 0x413961
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
jne 0x413949
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e18c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x114], 0
je 0x41e1a8
cmp dword [esi + 4], 0
je 0x41e1cf
mov eax, ebx
call fcn.0041d3c0
test eax, eax
jne 0x41e1c1
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x41e2df
mov edx, esi
mov eax, ebx
call fcn.0041de30
jmp 0x41e2df
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x41e2d8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041f78c
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.0041c2c8
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0041e18c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.0041f78c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e2df
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x421274
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.0040370c
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x4212d5
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x4212d5
cmp byte [ebp - 0x102], 0
je 0x4212d5
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403938
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422664
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x52], 0xd3
mov byte [ebp - 0x51], 0xf4
mov byte [ebp - 0x50], 0xde
mov byte [ebp - 0x4f], 0xd4
mov byte [ebp - 0x4e], 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.004223f5
adc al, 0x4e
pushfd
pushfd
lea eax, [ebp - 0x58]
push eax
call fcn.00422405
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.004223ba
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4226e3
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.004223f5
out dx, al
xchg ecx, eax
clc
ret

Function at 0x422890
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63

Function at 0x4246fc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x42474c]
test si, 4
je 0x424710
or bl, 1
test si, 8
je 0x42471a
or bl, 4
test si, 1
je 0x424724
or bl, 8
test si, 2
je 0x42472e
or bl, 0x10
test si, 0x10
je 0x424738
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x424747
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x428b84
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x428d29
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40aaac]
call fcn.00402c80
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.0040370c
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x428cff
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.00420a14
test al, al
je 0x428cf2
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x428d38
lea eax, [ebp - 0x254]
call fcn.004077e0
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x428cf2
xor eax, eax
push ebp
push 0x428ceb
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x428d70
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x428cd4
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403938
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x428cd4
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428cf2
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x428bf5
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0040d5d4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428d30
lea eax, [ebp - 0x260]
call fcn.0040370c
ret

Function at 0x428fa4
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4396b0]
cmp byte [eax + 0x85], 0
jne 0x429015
cmp dword [0x4396e8], 0
jne 0x428fd6
call sub.kernel32.dll_GetCurrentThreadId
push eax
push 0
mov eax, 0x428f60
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4396e8], eax
cmp dword [0x4396e4], 0
jne 0x428ff1
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4396e4], eax
cmp dword [0x4396ec], 0
jne 0x429015
push esp
push 0
push 0
push 0x428f04
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4396ec], eax
pop edx
ret
Function at 0x429104
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x42911b
add esp, 0xfffffff0
call fcn.00402e74
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0040fe84
mov dl, 1
mov eax, dword [0x40a7f0]
call fcn.00402c80
mov dword [ebx + 0x70], eax
mov dl, 1
mov eax, dword [0x40a7f0]
call fcn.00402c80
mov dword [ebx + 0x88], eax
xor eax, eax
mov dword [ebx + 0x44], eax
xor eax, eax
mov dword [ebx + 0x64], eax
mov dword [ebx + 0x40], 0x80000018
mov dword [ebx + 0x58], 0x1f4
mov dword [ebx + 0x5c], 0x32
mov dword [ebx + 0x60], 0x9c4
mov byte [ebx + 0x68], 0
mov byte [ebx + 0x7d], 1
mov dl, 1
mov eax, dword [0x4113f8]
call fcn.00417f74
mov esi, eax
mov dword [ebx + 0x78], esi
push 0x429274
mov eax, dword [0x4389e4]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041830c
mov eax, dword [ebx + 0x78]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x42a8d8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4389e4]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_2
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.00408d80
test eax, eax
je 0x4291fc
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407200
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.00408da8
test eax, eax
je 0x429210
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x6c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403938
mov eax, dword [0x438950]
cmp byte [eax], 0
jne 0x429241
mov eax, ebx
call fcn.00429358
mov byte [ebx + 0x3d], 1
mov byte [ebx + 0x3e], 1
mov byte [ebx + 0x3f], 1
mov byte [ebx + 0x7e], 1
xor eax, eax
mov dword [ebx + 0x80], eax
cmp byte [ebp - 1], 0
je 0x429269
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4295ac
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4396b0]
cmp dword [eax + 0x24], 0
je 0x42963c
cmp dword [ebx + 0x74], 0
jne 0x429639
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x429540
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x70]
cmp dword [eax + 8], 0
je 0x429639
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x429608
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x70]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x429639
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x70]
call fcn.0040b868
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x429614
inc dword [ebx + 0x74]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x429f24
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x84], 0
je 0x429f59
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004037f0
jmp 0x429f63
mov eax, esi
mov edx, dword [ebx + 0x6c]
call fcn.004037a4
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x42ab48
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x64]
test esi, esi
je 0x42ab80
mov eax, esi
call fcn.0041f924
test al, al
je 0x42ab80
mov eax, dword [ebx + 0x64]
call fcn.0041f78c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x42ab80
push 0
mov eax, dword [ebx + 0x64]
call fcn.0041f78c
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x401350
Capabilities:
Terminate process

Disassembly:
sub esp, 0x260
push edi
xor eax, eax
mov edi, ecx
mov word [esp + 0x64], ax
lea eax, [esp + 0x64]
push 0xff
push eax
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameW]
test eax, eax
jg 0x401393
push 0
push str.SA_Self_Decrypting_Archive
push dword [0x456880]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 2
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
push esi
push 0
lea eax, [esp + 0x6c]
push eax
push 0x200
lea ecx, [esp + 0x44]
call fcn.0040372b
push 0
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00403fb6
add esp, 0xc
lea ecx, [esp + 0x14]
push dword [edi + 8]
call fcn.004039c2
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.004034f0
mov esi, eax
add esp, 4
test esi, esi
jns 0x4013e3
xor esi, esi
jmp 0x401546
cmp esi, 5
jne 0x401541
lea ecx, [esp + 0x20]
call fcn.00403775
push 6
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4014f9
lea eax, [esp + 8]
push eax
push 0x450b84
push 0x17
push 0
push 0x450b94
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4014f3
mov eax, dword [esp + 8]
push 0
push eax
mov ecx, dword [eax]
call dword [ecx + 0xc]
test eax, eax
js 0x4014e9
mov eax, dword [esp + 8]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
js 0x4014e9
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xc]
push edx
push 0x80058000
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
test eax, eax
js 0x4014df
mov edx, dword [esp + 0xc]
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x401474
sub ecx, esi
sar ecx, 1
push 0
push edx
lea eax, [ecx*2 + 4]
push eax
lea ecx, [esp + 0x38]
call fcn.0040372b
push 0
lea eax, [esp + 0x30]
push eax
lea eax, [esp + 0x58]
push eax
call fcn.00403fb6
add esp, 0xc
lea ecx, [esp + 0x20]
push eax
lea eax, [esp + 0x48]
push eax
call fcn.00403784
lea ecx, [esp + 0x44]
call fcn.0040377f
lea ecx, [esp + 0x50]
call fcn.0040377f
push dword [esp + 0xc]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
lea ecx, [esp + 0x2c]
call fcn.0040377f
mov eax, dword [esp + 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [esp + 8]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
lea eax, [esp + 0x20]
push eax
lea eax, [esp + 0x60]
push eax
lea ecx, [esp + 0x1c]
call fcn.00403784
lea ecx, [esp + 0x5c]
call fcn.0040377f
lea ecx, [esp + 0x20]
call fcn.0040377f
push dword [edi + 8]
lea ecx, [esp + 0x18]
call fcn.004039c2
mov edx, dword [edi + 4]
mov ecx, eax
call fcn.004034f0
mov esi, eax
add esp, 4
test esi, esi
jns 0x401541
xor esi, esi
jmp 0x401546
cmp esi, 9
je 0x40155c
push 0
push str.SA_Self_Decrypting_Archive
push dword [esi*4 + 0x456878]
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp esi, 0xa
jge 0x401568
push esi
call dword [sym.imp.KERNEL32.DLL_ExitProcess]
lea ecx, [esp + 0x14]
call fcn.0040377f
lea ecx, [esp + 0x38]
call fcn.0040377f
pop esi
xor eax, eax
pop edi
add esp, 0x260
ret
Function at 0x4015c0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x3d8
push ebx
push esi
push edi
mov esi, ecx
push 0x5c
push esi
call fcn.004292a0
mov edi, eax
add esp, 8
test edi, edi
je 0x401816
lea ecx, [edi + 1]
mov edx, ecx
lea ebx, [edx + 1]
mov al, byte [edx]
inc edx
test al, al
jne 0x4015e8
sub edx, ebx
cmp edx, 0x104
jae 0x401816
mov byte [edi], al
lea edx, [esp + 0xd0]
movups xmm0, xmmword [str.All_files__._]
mov eax, dword [0x456870]
sub edx, ecx
mov dword [esp + 0xcc], eax
movups xmmword [esp + 0xa4], xmm0
movups xmm0, xmmword [0x456858]
movups xmmword [esp + 0xb4], xmm0
movq xmm0, qword [0x456868]
movq qword [esp + 0xc4], xmm0
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x401643
push 0
sub esp, 0xc
lea eax, [esp + 0xe0]
mov ecx, esp
push eax
call fcn.00403745
lea eax, [esp + 0x1c]
push eax
call fcn.0042686d
add esp, 0x14
lea ecx, [esp + 0xc]
push 0x465688
call fcn.00403878
push 0
sub esp, 0xc
mov ecx, esp
push esi
call fcn.00403745
lea eax, [esp + 0x28]
push eax
call fcn.0042686d
add esp, 0x14
lea ecx, [esp + 0x18]
push 0x465688
call fcn.00403878
push 0
lea ecx, [esp + 0x10]
call fcn.004037fb
lea edx, [esp + 0x1d8]
sub edx, eax
nop dword [eax + eax]
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x4016c0
lea eax, [esp + 0xa4]
mov dword [esp + 0x30], 0x58
mov dword [esp + 0x3c], eax
lea ecx, [esp + 0x18]
lea eax, [esp + 0x1d8]
mov dword [esp + 0x34], 0
push 0
mov dword [esp + 0x3c], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], 0x104
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
call fcn.004037fb
mov dword [esp + 0x5c], eax
xor eax, eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], eax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0xc
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
jne 0x40177a
lea esi, [eax + 2]
jmp 0x4017f8
push 0
lea eax, [esp + 0x1dc]
push eax
push 0x208
lea ecx, [esp + 0xa4]
call fcn.0040372b
push eax
lea eax, [esp + 0x90]
push eax
lea ecx, [esp + 0x14]
call fcn.00403784
lea ecx, [esp + 0x8c]
call fcn.0040377f
lea ecx, [esp + 0x98]
call fcn.0040377f
push 0
lea eax, [esp + 0x10]
push eax
lea eax, [esp + 0x2c]
push eax
call fcn.00403fb6
add esp, 0xc
lea ecx, [esp + 0x24]
call fcn.004039c2
sub esi, eax
nop
mov cl, byte [eax]
lea eax, [eax + 1]
mov byte [esi + eax - 1], cl
test cl, cl
jne 0x4017e0
lea ecx, [esp + 0x24]
xor esi, esi
call fcn.0040377f
lea ecx, [esp + 0x18]
call fcn.0040377f
lea ecx, [esp + 0xc]
call fcn.0040377f
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x3d8
ret
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x3d8
ret
Function at 0x401b10
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
xor edi, edi
push 1
mov ecx, dword [esi + 0xc]
mov dword [esp + 0x18], edi
call fcn.004024e0
mov ecx, dword [esi + 0xc]
test eax, eax
je 0x401b4f
push dword [esi + 0x24]
call fcn.004024e0
mov ebp, eax
test ebp, ebp
je 0x401b67
mov ecx, dword [esi + 0xc]
push 4
call fcn.004024e0
mov ecx, ebp
lea ebx, [eax + 3]
jmp 0x401b63
push dword [esi + 8]
call fcn.004024e0
mov ecx, dword [esp + 0x18]
mov edi, eax
mov dword [esp + 0x14], edi
xor ebx, ebx
test edi, edi
jns 0x401b7e
mov eax, dword [esi + 0xc]
pop edi
pop esi
pop ebp
mov dword [eax + 0x8c], 0
xor eax, eax
pop ebx
add esp, 0xc
ret
mov eax, dword [esi + 0x2c]
test ebx, ebx
je 0x401c0b
mov ebp, dword [esi + 0x14]
add eax, ebx
mov dword [esi + 0x2c], eax
sub ebp, ecx
mov edx, dword [esi]
mov eax, ebp
mov edi, dword [esi + 0x10]
and eax, 0x3fff
dec ebx
inc ebp
mov al, byte [eax + edx]
mov byte [esp + 0x10], al
mov eax, dword [esi + 0x14]
mov cl, byte [esp + 0x10]
and eax, 0x3fff
inc dword [esi + 0x14]
mov byte [eax + edx], cl
mov eax, dword [edi + 4]
cmp eax, 0x4000
jl 0x401bde
push dword [edi]
push eax
lea eax, [edi + 0xc]
push 1
push eax
call fcn.0042de24
add esp, 0x10
mov dword [edi + 4], 0
xor eax, eax
mov cl, byte [esp + 0x10]
mov byte [eax + edi + 0xc], cl
lea eax, [esp + 0x10]
inc dword [edi + 4]
mov byte [esp + 0x10], cl
mov ecx, dword [edi + 0x4014]
push eax
push 1
add ecx, 0x250
call fcn.00426c90
test ebx, ebx
jne 0x401b93
jmp 0x401c73
mov edx, dword [esi + 0x14]
inc eax
mov ebx, dword [esp + 0x14]
mov ecx, edx
mov edi, dword [esi + 0x10]
and ecx, 0x3fff
mov dword [esi + 0x2c], eax
mov eax, dword [esi]
mov byte [ecx + eax], bl
lea eax, [edx + 1]
mov dword [esi + 0x14], eax
mov eax, dword [edi + 4]
cmp eax, 0x4000
jl 0x401c50
push dword [edi]
push eax
lea eax, [edi + 0xc]
push 1
push eax
call fcn.0042de24
add esp, 0x10
mov dword [edi + 4], 0
xor eax, eax
mov byte [eax + edi + 0xc], bl
lea eax, [esp + 0x10]
mov ecx, dword [edi + 0x4014]
inc dword [edi + 4]
add ecx, 0x250
push eax
push 1
mov byte [esp + 0x18], bl
call fcn.00426c90
mov ecx, dword [esi + 0x2c]
cmp ecx, 0x3fff
jg 0x401c8f
mov eax, dword [esi + 0x28]
cmp ecx, eax
jl 0x401c8f
inc dword [esi + 0x24]
add eax, eax
mov dword [esi + 0x28], eax
jmp 0x401c81
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0xc
ret