joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43cb0c
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 0x43ccb7
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x28], 0
jne 0x43cc98
mov dl, 1
mov eax, dword [0x40d9f0]
call fcn.00402c14
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.004038b4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43cc87
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.0042b4ac
test al, al
je 0x43cc7a
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x43ccc8
lea eax, [ebp - 0x254]
call fcn.004084dc
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43cc7a
xor eax, eax
push ebp
push 0x43cc73
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 0x43cd00
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43cc5c
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ae4
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 0x43cc5c
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403ae4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43cc7a
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43cb7d
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.004107dc
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x28]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ccbe
lea eax, [ebp - 0x260]
call fcn.004038b4
ret

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

Disassembly:
push ecx
mov eax, dword [0x4437c8]
cmp byte [eax + 0x95], 0
jne 0x43d575
cmp dword [0x4437e4], 0
jne 0x43d536
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x43d4c0
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4437e4], eax
cmp dword [0x4437e0], 0
jne 0x43d551
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4437e0], eax
cmp dword [0x4437e8], 0
jne 0x43d575
push esp
push 0
push 0
push 0x43d464
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4437e8], eax
pop edx
ret
Function at 0x43d66c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43d683
add esp, 0xfffffff0
call fcn.00402f2c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00413748
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40d6f0]
call fcn.00402c14
mov dword [ebx + 0x80], eax
mov dl, 1
mov eax, dword [0x40d6f0]
call fcn.00402c14
mov dword [ebx + 0x98], eax
xor eax, eax
mov dword [ebx + 0x50], eax
xor eax, eax
mov dword [ebx + 0x74], eax
mov dword [ebx + 0x4c], 0x80000018
mov dword [ebx + 0x68], 0x1f4
mov byte [ebx + 0x6c], 1
xor eax, eax
mov dword [ebx + 0x70], eax
mov dword [ebx + 0x64], 0x9c4
mov byte [ebx + 0x78], 0
mov byte [ebx + 0x8d], 1
mov dl, 1
mov eax, dword [0x415344]
call fcn.0041ad6c
mov esi, eax
mov dword [ebx + 0x88], esi
push 0x43d7f8
mov eax, dword [0x442b3c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041b13c
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x43f0ec
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x442b3c]
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.0040b2f8
test eax, eax
je 0x43d776
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00407e90
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040b320
test eax, eax
je 0x43d78a
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x7c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403ae4
mov eax, dword [0x442a44]
cmp byte [eax], 0
jne 0x43d7bb
mov eax, ebx
call fcn.0043d8e4
mov byte [ebx + 0x49], 1
mov byte [ebx + 0x4a], 1
mov byte [ebx + 0x4b], 1
mov byte [ebx + 0x8e], 1
xor eax, eax
mov dword [ebx + 0x90], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43d7ed
call fcn.00402f84
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43db54
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4437c8]
cmp dword [eax + 0x24], 0
je 0x43dbf7
cmp dword [ebx + 0x84], 0
jne 0x43dbf1
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43dae4
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x80]
cmp dword [eax + 8], 0
je 0x43dbf1
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 0x43dbba
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x80]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43dbf1
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x80]
call fcn.0040edb4
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43dbc9
inc dword [ebx + 0x84]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43e604
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x94], 0
je 0x43e639
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.0040399c
jmp 0x43e643
mov eax, esi
mov edx, dword [ebx + 0x7c]
call fcn.00403908
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43f460
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x74]
test esi, esi
je 0x43f498
mov eax, esi
call fcn.004273ac
test al, al
je 0x43f498
mov eax, dword [ebx + 0x74]
call fcn.004270b0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f498
push 0
mov eax, dword [ebx + 0x74]
call fcn.004270b0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x440ec8
Capabilities:
Create process on windows
Get disk information

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x440ed0
push ecx
push ebx
mov eax, 0x440d80
call fcn.00405f0c
xor eax, eax
push ebp
push 0x441024
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x442c74]
mov eax, dword [eax]
call fcn.0043e9a8
mov ebx, 1
lea eax, [ebp - 0x10]
mov edx, ebx
add dl, 0x62
call fcn.00403a5c
mov edx, dword [ebp - 0x10]
mov eax, 0x443850
mov ecx, 0x44103c
call fcn.00403b80
mov eax, dword [0x443850]
call fcn.00403cf8
push eax
call sub.kernel32.dll_GetDriveTypeA
cmp eax, 5
jne 0x440ff3
lea eax, [ebp - 0x14]
mov ecx, 0x441048
mov edx, dword [0x443850]
call fcn.00403b80
mov eax, dword [ebp - 0x14]
call fcn.00407cd4
test al, al
je 0x440ff3
lea eax, [ebp - 0x18]
mov ecx, 0x44105c
mov edx, dword [0x443850]
call fcn.00403b80
mov eax, dword [ebp - 0x18]
call fcn.00407cd4
test al, al
je 0x440ff3
mov eax, dword [0x443850]
call fcn.00407e10
lea eax, [ebp - 0x1c]
mov ecx, 0x441048
mov edx, dword [0x443850]
call fcn.00403b80
mov ecx, dword [ebp - 0x1c]
mov dl, 1
mov eax, dword [0x4401a8]
call fcn.00440250
mov ebx, eax
push 0
lea eax, [ebp - 0x20]
push eax
mov ecx, 0x441070
mov edx, 0x441080
mov eax, ebx
mov ebx, dword [eax]
call dword [ebx]
mov edx, dword [ebp - 0x20]
mov eax, 0x443854
call fcn.00403908
push 5
lea eax, [ebp - 0x24]
mov ecx, dword [0x443854]
mov edx, dword [0x443850]
call fcn.00403b80
mov eax, dword [ebp - 0x24]
call fcn.00403cf8
push eax
call sub.kernel32.dll_WinExec
jmp 0x440ffd
inc ebx
cmp ebx, 0x18
jne 0x440f02
mov eax, dword [0x442c74]
mov eax, dword [eax]
call fcn.0043e9c0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44102b
lea eax, [ebp - 0x24]
mov edx, 6
call fcn.004038d8
ret
Function at 0x401154
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegDisablePredefinedCacheEx]
xor esi, esi
call edi
sub byte [esi + 0x4228d0], 0x30
call edi
add byte [esi + 0x4228d0], 0xa7
call edi
xor byte [esi + 0x4228d0], 0x19
call edi
add byte [esi + 0x4228d0], 0xf0
call edi
add byte [esi + 0x4228d0], 0x5f
call edi
add byte [esi + 0x4228d0], 0xe3
call edi
add byte [esi + 0x4228d0], 0x13
call edi
xor byte [esi + 0x4228d0], 0x6b
call edi
add byte [esi + 0x4228d0], 0x7f
call edi
add byte [esi + 0x4228d0], 0x89
call edi
xor byte [esi + 0x4228d0], 0xde
call edi
add byte [esi + 0x4228d0], 0x5f
call edi
add byte [esi + 0x4228d0], 0xe
call edi
add byte [esi + 0x4228d0], 0x96
call edi
add byte [esi + 0x4228d0], 0x25
call edi
add byte [esi + 0x4228d0], 0xd3
call edi
xor byte [esi + 0x4228d0], 0x1b
call edi
add byte [esi + 0x4228d0], 0x4c
call edi
add byte [esi + 0x4228d0], 0x22
call edi
add byte [esi + 0x4228d0], 0xee
call edi
add byte [esi + 0x4228d0], 0x33
call edi
add byte [esi + 0x4228d0], 0xc9
call edi
add byte [esi + 0x4228d0], 0x9b
call edi
add byte [esi + 0x4228d0], 0x64
call edi
add byte [esi + 0x4228d0], 0x20
call edi
xor byte [esi + 0x4228d0], 0xf0
call edi
add byte [esi + 0x4228d0], 0x8e
call edi
add byte [esi + 0x4228d0], 0xf9
call edi
add byte [esi + 0x4228d0], 0xe2
call edi
add byte [esi + 0x4228d0], 0x94
call edi
add byte [esi + 0x4228d0], 0x37
call edi
xor byte [esi + 0x4228d0], 0xbe
call edi
xor byte [esi + 0x4228d0], 0xd2
call edi
xor byte [esi + 0x4228d0], 0x64
call edi
add byte [esi + 0x4228d0], 0x37
call edi
add byte [esi + 0x4228d0], 0x8a
call edi
xor byte [esi + 0x4228d0], 0x1d
call edi
add byte [esi + 0x4228d0], 6
call edi
add byte [esi + 0x4228d0], 0xf8
call edi
xor byte [esi + 0x4228d0], 0xa1
call edi
add byte [esi + 0x4228d0], 0xa6
call edi
xor byte [esi + 0x4228d0], 0xcf
call edi
add byte [esi + 0x4228d0], 0x5a
call edi
xor byte [esi + 0x4228d0], 0x8b
call edi
add byte [esi + 0x4228d0], 0xfd
call edi
xor byte [esi + 0x4228d0], 0x78
call edi
add byte [esi + 0x4228d0], 0x11
call edi
add byte [esi + 0x4228d0], 0xeb
call edi
add byte [esi + 0x4228d0], 0xb2
inc esi
cmp esi, 0x23000
jb 0x40115e
pop edi
pop esi
ret
Function at 0x4027c0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp + 8]
push 0
push eax
push esi
call fcn.004036a0
add esp, 4
push eax
push esi
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 0x7f
call fcn.00402800
add esp, 4
pop esi
pop ebp
ret

Function at 0x402800
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x409e0c]
push esi
mov esi, dword [ebp + 8]
test eax, eax
je 0x402816
push esi
call eax
add esp, 4
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d80
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
test ecx, ecx
jl 0x403df7
cmp ecx, dword [0x40cd38]
jge 0x403df7
mov eax, dword [0x40cd40]
mov eax, dword [eax + ecx*4]
test eax, eax
je 0x403df7
cmp eax, 0xffffffff
jne 0x403db6
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
push edx
push eax
push ecx
call fcn.00405500
add esp, 0xc
pop ebp
ret
mov edx, dword [ebp + 0x10]
lea ecx, [ebp + 0x10]
push 0
push ecx
mov ecx, dword [ebp + 0xc]
push edx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x403df2
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
je 0x403de1
cmp eax, 0xe9
jne 0x403deb
push 0xd
call fcn.004054c0
add esp, 4
call fcn.00404ca0
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop ebp
ret
mov dword [0x40cd34], 6
or eax, 0xffffffff
pop ebp
ret

Function at 0x403e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
jl 0x403f4b
cmp eax, dword [0x40cd38]
jge 0x403f4b
mov edx, dword [0x40cd40]
mov ecx, dword [edx + eax*4]
test ecx, ecx
je 0x403f4b
cmp ecx, 0xffffffff
jne 0x403eb3
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ecx
push edx
push eax
call fcn.004054f0
add esp, 0xc
pop ebp
ret
lea ecx, [ebp + 0x10]
push 0
push ecx
mov ecx, dword [ebp + 0x10]
push ecx
mov ecx, dword [ebp + 0xc]
mov dword [0x40cd24], 0
mov edx, dword [edx + eax*4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
mov eax, dword [ebp + 0x10]
jne 0x403f19
mov ecx, dword [0x40cd24]
test ecx, ecx
je 0x403eff
mov dword [0x40cd24], 0
mov dword [0x40cd34], 0xfffffff7
or eax, 0xffffffff
pop ebp
ret
test eax, eax
ja 0x403f58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x6d
jne 0x403f12
xor eax, eax
pop ebp
ret
call fcn.00404ca0
pop ebp
ret
test eax, eax
jne 0x403f58
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [0x40cd24]
test eax, eax
je 0x403f46
mov dword [0x40cd24], 0
mov dword [0x40cd34], 0xfffffff7
or eax, 0xffffffff
pop ebp
ret
mov eax, dword [ebp + 0x10]
pop ebp
ret
mov dword [0x40cd34], 6
or eax, 0xffffffff
pop ebp
ret
Function at 0x406db0
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x354
call fcn.00403420
mov esi, eax
add esp, 4
test esi, esi
jne 0x406dd8
mov dword [0x40cd34], 8
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 8]
push eax
call fcn.004036a0
mov edi, eax
add esp, 4
cmp edi, 0x100
jle 0x406e08
push esi
mov dword [0x40cd34], 0xfffffffe
call fcn.00403550
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov ecx, dword [ebp + 8]
lea ebx, [esi + 0x24c]
push ecx
push ebx
call fcn.00403c60
add esp, 8
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x10
jne 0x406e40
push esi
mov dword [0x40cd34], 3
call fcn.00403550
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
cmp edi, 2
jne 0x406e4e
mov edx, dword [ebp + 8]
cmp byte [edx + 1], 0x3a
je 0x406e77
xor eax, eax
mov al, byte [edi + esi + 0x24b]
cmp eax, 0x2f
je 0x406e77
cmp eax, 0x5c
je 0x406e77
lea eax, [edi + esi + 0x24c]
push 0x409cac
push eax
call fcn.00403c60
add esp, 8
inc edi
mov dword [esi + 0x350], edi
mov dword [esi + 0x144], 0
mov dword [esi], 0xffffffff
mov eax, esi
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x406f00
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi + 0x144]
test eax, eax
jne 0x406f7b
mov eax, dword [esi + 0x350]
push 4
push 0x409cb0
lea edi, [eax + esi + 0x24c]
push edi
call fcn.00403650
add esp, 0xc
lea eax, [esi + 4]
lea ebx, [esi + 0x24c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [esi], eax
mov byte [edi], 0
cmp dword [esi], 0xffffffff
jne 0x406f53
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
push ebx
call fcn.00407920
and eax, 0x80
add esp, 4
mov dword [esi + 0x248], eax
mov eax, dword [esi + 0x144]
inc eax
mov dword [esi + 0x144], eax
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
mov edx, dword [esi]
lea ecx, [esi + 4]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x406f94
or eax, 0xffffffff
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [esi + 0x144]
pop edi
inc eax
mov dword [esi + 0x144], eax
pop esi
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x407020
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
pop ebp
ret
Function at 0x407920
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push esi
push eax
call fcn.004079c0
mov esi, eax
add esp, 4
test esi, esi
jne 0x407943
mov eax, 0xf9
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push 0x19
lea edx, [ebp + 8]
push ecx
lea eax, [ebp - 4]
push edx
push eax
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
test eax, eax
push esi
jne 0x407975
call fcn.00403550
add esp, 4
mov eax, 0xf9
pop esi
mov esp, ebp
pop ebp
ret
call fcn.00403550
mov al, byte [ebp + 8]
add esp, 4
test al, 2
je 0x40798b
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x20]
push str.AS400
push ecx
call fcn.00403b70
add esp, 8
test eax, eax
jne 0x4079a5
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp - 4]
xor eax, eax
cmp esi, 0xc
pop esi
setne al
dec eax
and eax, 0xf9
mov esp, ebp
pop ebp
ret

Function at 0x407ac0
Capabilities:
Get common file path

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push edi
push 0
push 0
call ebx
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.00403420
mov esi, eax
add esp, 4
test esi, esi
jne 0x407af4
mov dword [0x40cd34], 8
or eax, 0xffffffff
pop edi
pop esi
pop ebx
ret
push esi
push edi
call ebx
xor ecx, ecx
push esi
mov cl, byte [esi]
mov edi, ecx
call fcn.00403550
add esp, 4
cmp edi, 0x61
jl 0x407b14
cmp edi, 0x7a
jg 0x407b14
sub edi, 0x20
lea eax, [edi - 0x41]
pop edi
pop esi
pop ebx
ret

Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x40de38
nop
nop
mov ecx, 0xce73486
nop
nop
nop
test eax, eax
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..didat
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x4a5c5b44
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x433084
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x401690
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
pop eax
nop
nop
nop
nop
nop
nop
add eax, 0x40729f
sub eax, 0x407245
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
xor dword [ebx], edx
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
nop
nop
jl 0x432030
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x43201e
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x7813166c
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp._CKERNEL.dll_GetModuleHandleA]
cmp word [eax], 0x5a4d
je 0x7813167e
xor eax, eax
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7813167b
movzx eax, word [ecx + 0x18]
cmp eax, 0x10b
je 0x781316b0
cmp eax, 0x20b
jne 0x7813167b
xor eax, eax
cmp dword [ecx + 0x84], 0xe
jbe 0x781316c1
cmp dword [ecx + 0xf8], eax
jmp 0x781316be
xor eax, eax
cmp dword [ecx + 0x74], 0xe
jbe 0x781316c1
cmp dword [ecx + 0xe8], eax
setne al
ret

Function at 0x78131aca
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x781bf018]
je 0x78131ae5
inc edi
cmp edi, 0x17
jb 0x78131ad6
cmp edi, 0x17
jae 0x78131c65
push ebp
push 3
call sym.MSVCR80.dll__set_error_mode
cmp eax, 1
pop ecx
je 0x78131c31
push 3
call sym.MSVCR80.dll__set_error_mode
test eax, eax
pop ecx
jne 0x78131b19
cmp dword [0x781c3b34], 1
je 0x78131c31
cmp ebx, 0xfc
je 0x78131c64
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x781c3808
push ebp
call sym.MSVCR80.dll_strcpy_s
add esp, 0xc
test eax, eax
je 0x78131b4f
push esi
push esi
push esi
push esi
push esi
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
push 0x104
mov esi, 0x781c3821
push esi
push 0
mov byte [0x781c3925], 0
call dword [sym.imp._CKERNEL.dll_GetModuleFileNameA]
test eax, eax
jne 0x78131b93
push 0x781948c8
push 0x2fb
push esi
call sym.MSVCR80.dll_strcpy_s
add esp, 0xc
test eax, eax
je 0x78131b93
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
push esi
call sym.MSVCR80.dll_strlen
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x78131bd8
push esi
call sym.MSVCR80.dll_strlen
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x781c3b1c
push 0x781948c4
sub ecx, eax
push ecx
push eax
call sym.MSVCR80.dll_strncpy_s
add esp, 0x14
test eax, eax
je 0x78131bd8
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
jmp 0x78131bda
xor esi, esi
push 0x781948c0
push ebx
push ebp
call sym.MSVCR80.dll_strcat_s
add esp, 0xc
test eax, eax
je 0x78131bfa
push esi
push esi
push esi
push esi
push esi
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
push dword [edi*8 + 0x781bf01c]
push ebx
push ebp
call sym.MSVCR80.dll_strcat_s
add esp, 0xc
test eax, eax
je 0x78131c1c
push esi
push esi
push esi
push esi
push esi
call sym.MSVCR80.dll__invoke_watson
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.781396ce
add esp, 0xc
jmp 0x78131c64
push 0xfffffffffffffff4
call dword [sym.imp._CKERNEL.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x78131c64
cmp ebp, 0xffffffff
je 0x78131c64
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x781bf01c]
push dword [esi]
call sym.MSVCR80.dll_strlen
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp._CKERNEL.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret