joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45b450
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 0x45b5fb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x45b5dc
mov dl, 1
mov eax, dword [0x412fd8]
call fcn.00403818
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.00404598
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45b5cb
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.00448f80
test al, al
je 0x45b5be
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, 0x45b60c
lea eax, [ebp - 0x254]
call fcn.004098f4
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x45b5be
xor eax, eax
push ebp
push 0x45b5b7
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 0x45b644
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x45b5a0
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404808
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x45b5a0
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404808
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b5be
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x45b4c1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x1d], 0
mov dl, 1
call fcn.00416b94
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b602
lea eax, [ebp - 0x260]
call fcn.00404598
ret

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

Disassembly:
push ecx
mov eax, dword [0x4b0bdc]
cmp byte [eax + 0xa5], 0
jne 0x45bfa1
cmp dword [0x4b0bf4], 0
jne 0x45bf62
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x45beec
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4b0bf4], eax
cmp dword [0x4b0bf0], 0
jne 0x45bf7d
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x4b0bf0], eax
cmp dword [0x4b0bf8], 0
jne 0x45bfa1
push esp
push 0
push 0
push 0x45be90
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4b0bf8], eax
pop edx
ret
Function at 0x45c098
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x45c0af
add esp, 0xfffffff0
call fcn.00403b6c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a9a4
mov eax, dword [0x4af704]
cmp word [eax + 2], 0
jne 0x45c0d7
mov eax, dword [0x4af704]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d770
mov eax, dword [0x4af7d8]
cmp word [eax + 2], 0
jne 0x45c0f1
mov eax, dword [0x4af7d8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.0045d968
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403818
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x412bbc]
call fcn.00403818
mov dword [ebx + 0xa8], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0x9d], 1
mov byte [ebx + 0xb4], 1
mov dl, 1
mov eax, dword [0x41cf08]
call fcn.00424964
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x45c278
mov eax, dword [0x4af5ec]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424d34
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x45df08
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x4af5ec]
mov eax, dword [eax]
push eax
call sub.kernel32.dll_GetModuleFileNameA_1
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.0040d53c
test eax, eax
je 0x45c1e6
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004092e8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d564
test eax, eax
je 0x45c1fa
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404808
mov eax, dword [0x4af454]
cmp byte [eax], 0
jne 0x45c22e
mov eax, ebx
call fcn.0045c3a0
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0x9e], 1
xor eax, eax
mov dword [ebx + 0xa0], eax
mov eax, ebx
call fcn.0045e0e4
mov eax, ebx
call fcn.0045eaa8
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x45c26e
call fcn.00403bc4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45c620
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4b0bdc]
cmp dword [eax + 0x30], 0
je 0x45c6ca
cmp dword [ebx + 0x94], 0
jne 0x45c6c4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x45c5b0
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45c6c4
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 0x45c68a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45c6c4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414f58
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x45c699
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x45d22c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xa4], 0
je 0x45d261
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404688
jmp 0x45d26e
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004045ec
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x45e2c0
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x45e301
mov eax, esi
call fcn.00444524
test al, al
je 0x45e301
mov eax, dword [ebx + 0x84]
call fcn.00444220
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x45e301
push 0
mov eax, dword [ebx + 0x84]
call fcn.00444220
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x4619c8
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x4619f6
mov eax, ebx
call fcn.0046247c
cmp dword [ebx + 0x40], 0
je 0x4619ef
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x461a67
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x461a59
cmp dword [ebx + 8], 0
je 0x461a18
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x461a2a
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x461a59
cmp dword [ebx + 8], 0
je 0x461a0b
cmp eax, 3
je 0x461a3d
dec eax
jne 0x461a0b
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x461a0b
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x461a0b
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x461a85
cmp dword [ebx + 0x14], 0xcc
je 0x461a85
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.00461a90
pop ebx
ret
Function at 0x401190
Capabilities:
Create thread

Disassembly:
sub esp, 0x30
mov ax, word [esp + 0x3c]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
mov esi, ecx
push ebx
push 1
push ebx
mov dword [esi + 0xc], ebx
mov word [esi + 0x3c], ax
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
call edi
cmp eax, ebx
mov dword [esi + 0x20], eax
jne 0x4011cb
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
push ebx
push ebx
push 1
push ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call edi
cmp eax, ebx
mov dword [esi + 0x34], eax
jne 0x4011ea
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
mov edi, dword [esp + 0x40]
lea ecx, [edi + 8]
push ecx
lea ecx, [esi + 8]
call sub.MFC42.DLL_CString::operator_1
mov edi, dword [edi]
push ebx
push 0x40000080
push 3
push ebx
push ebx
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x401225
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
push 1
push eax
call dword [sym.imp.KERNEL32.dll_SetCommMask]
mov edx, dword [esi + 4]
push 0x1000
push 0x1000
push edx
call dword [sym.imp.KERNEL32.dll_SetupComm]
mov eax, dword [esi + 4]
push 0xf
push eax
call dword [sym.imp.KERNEL32.dll_PurgeComm]
mov edi, dword [esp + 0x44]
mov eax, 0x4b00
xor edx, edx
lea ecx, [esp + 0xc]
div edi
mov edx, dword [esi + 4]
push ecx
push edx
mov dword [esp + 0x14], 0xffffffff
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], eax
call dword [sym.imp.KERNEL32.dll_SetCommTimeouts]
mov ecx, dword [esi + 4]
lea eax, [esp + 0x20]
push eax
push ecx
mov dword [esp + 0x28], 0x1c
call dword [sym.imp.KERNEL32.dll_GetCommState]
mov eax, dword [esi + 4]
lea edx, [esp + 0x20]
push edx
push eax
mov dword [esp + 0x2c], edi
mov byte [esp + 0x3a], 8
mov byte [esp + 0x3b], bl
mov byte [esp + 0x3c], bl
call dword [sym.imp.KERNEL32.dll_SetCommState]
test eax, eax
jne 0x4012c6
pop edi
pop esi
pop ebx
add esp, 0x30
ret 0xc
lea ecx, [esp + 0x48]
mov dword [esi + 0xc], 1
push ecx
push ebx
push esi
push 0x401590
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp eax, ebx
mov dword [esi + 0x38], eax
jne 0x4012fa
mov ecx, esi
call fcn.00401320
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x30
ret 0xc
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x30
ret 0xc
Function at 0x401360
Capabilities:
Write file on windows

Disassembly:
sub esp, 0xc
mov edx, dword [esp + 0x10]
lea eax, [esp + 0x14]
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esp + 0x20]
push edi
lea edi, [esi + 0x24]
push edi
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40141b
mov ebp, dword [sym.imp.KERNEL32.dll_GetLastError]
call ebp
cmp eax, 0x3e5
jne 0x4013ff
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0x24]
push 1
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x40141b
call ebp
cmp eax, 0x3e4
jne 0x4013de
mov ecx, dword [esi + 4]
lea eax, [esp + 0x24]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x4013b5
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_ClearCommError]
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0xc
ret 8
mov ecx, dword [esi + 4]
lea edx, [esp + 0x10]
lea eax, [esp + 0x20]
push edx
push eax
push ecx
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_ClearCommError]
mov eax, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 8

Function at 0x401430
Capabilities:
Read file on windows

Disassembly:
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_ClearCommError]
push esi
mov esi, ecx
lea eax, [esp + 0x14]
push edi
lea ecx, [esp + 0x14]
mov edx, dword [esi + 4]
push eax
push ecx
push edx
call ebp
mov eax, dword [esp + 0x1c]
test eax, eax
mov dword [esp + 0x10], eax
jbe 0x4014ee
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
lea edi, [esi + 0x10]
lea eax, [esp + 0x10]
push edi
push eax
mov eax, dword [esi + 4]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x4014ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e5
jne 0x4014d2
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
lea ecx, [esp + 0x10]
push 1
push ecx
push edi
push edx
call ebx
test eax, eax
jne 0x4014ea
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x3e4
jne 0x4014da
mov ecx, dword [esi + 4]
lea eax, [esp + 0x10]
push 1
push eax
push edi
push ecx
call ebx
test eax, eax
je 0x4014a5
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
mov dword [esp + 0x10], 0
mov ecx, dword [esi + 4]
lea edx, [esp + 0x18]
lea eax, [esp + 0x14]
push edx
push eax
push ecx
call ebp
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 8
Function at 0x4027a0
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 8]
xor eax, eax
mov edx, ecx
dec ecx
test edx, edx
je 0x4027d9
push ebx
push esi
lea esi, [ecx + 1]
mov ecx, dword [esp + 0xc]
mov edx, eax
xor ebx, ebx
mov bl, byte [ecx]
and edx, 0xff
xor edx, ebx
xor ebx, ebx
mov bl, ah
mov ax, word [edx*2 + 0x40d390]
xor ax, bx
inc ecx
dec esi
jne 0x4027b6
pop esi
pop ebx
ret
Function at 0x4063b0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 8]
mov edx, dword [esp + 4]
push esi
mov esi, ecx
lea ecx, [esp + 0xc]
push 4
push ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0x10]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
xor ecx, ecx
mov dword [esi + 4], eax
test eax, eax
sete cl
mov dword [esi + 0xc], 4
mov dword [esi + 8], 4
mov eax, ecx
pop esi
ret 8

Function at 0x406400
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
mov esi, ecx
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esi + 0x10]
push ebx
push 1
push eax
mov eax, dword [esp + 0x20]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, eax
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
mov dword [esi + 4], edx
repne scasb al, byte es:[edi]
not ecx
mov dword [esi + 0xc], ecx
mov dword [esi + 8], 1
test edx, edx
pop edi
pop esi
sete al
pop ebx
ret 8

Function at 0x406453
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 8
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
test eax, eax
jne 0x4064a9
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 4]
mov dword [edx], eax
mov eax, 1
add esp, 8
ret 8
xor eax, eax
add esp, 8
ret 8

Function at 0x4064c0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x108
push esi
mov esi, ecx
lea eax, [esp + 4]
lea ecx, [esp + 0xc]
push eax
mov eax, dword [esp + 0x114]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esi + 0x10]
push edx
push 0
push eax
push ecx
mov dword [esp + 0x1c], 0xc8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov edx, dword [esp + 8]
mov ecx, dword [esp + 4]
mov dword [esi + 4], eax
mov dword [esi + 8], edx
mov dword [esi + 0xc], ecx
pop esi
test eax, eax
jne 0x406529
mov ecx, dword [esp + 0x110]
lea edx, [esp + 8]
push edx
call sub.MFC42.DLL_CString::operator
mov eax, 1
add esp, 0x108
ret 8
xor eax, eax
add esp, 0x108
ret 8
Function at 0x1401c50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x140c0f8
push 0x1408978
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x44], ecx
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp + 8]
cmp eax, esi
je 0x1401c87
mov dword [eax], esi
mov dword [ebp - 0x38], edx
mov dword [ebp - 0x30], edx
mov eax, dword [edx + 0x3c]
add eax, edx
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0x1401d64
cmp word [eax + 0x14], si
je 0x1401d64
add eax, 0x78
mov dword [ebp - 0x3c], eax
cmp dword [eax + 4], esi
je 0x1401d64
mov edi, dword [eax]
cmp edi, esi
je 0x1401d64
add edi, edx
mov dword [ebp - 0x40], edi
mov eax, dword [edi + 0x1c]
add eax, edx
mov dword [ebp - 0x20], eax
mov eax, dword [edi + 0x24]
add eax, edx
mov dword [ebp - 0x2c], eax
mov ebx, dword [edi + 0x20]
add ebx, edx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x24], esi
cmp esi, dword [edi + 0x18]
jae 0x1401d01
mov edx, dword [ebp - 0x44]
mov ecx, dword [ebx + esi*4]
add ecx, dword [ebp - 0x38]
call fcn.01401a40
test eax, eax
jne 0x1401cfe
inc esi
jmp 0x1401ce1
cmp esi, dword [edi + 0x18]
je 0x1401d64
mov eax, dword [ebp - 0x2c]
mov ax, word [eax + esi*2]
mov dword [ebp - 0x28], eax
and eax, 0xffff
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*4]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
add edx, ecx
mov dword [ebp - 0x24], edx
mov esi, dword [ebp - 0x3c]
mov edx, dword [esi]
cmp ecx, edx
jb 0x1401d41
mov esi, dword [esi + 4]
add esi, edx
cmp ecx, esi
jae 0x1401d41
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1401d41
mov dword [ecx], 1
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x1403210
Capabilities:
Encrypt data using des

Disassembly:
sub esp, 0xf4
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], ecx
xor esi, esi
xor eax, eax
mov al, byte [esi + str.80_]
mov ecx, eax
and eax, 7
sar ecx, 3
mov bl, byte [eax*2 + 0x1411204]
mov cl, byte [ecx + edx]
test bl, cl
setne al
mov byte [esp + esi + 0x4c], al
inc esi
cmp esi, 0x38
jl 0x1403220
xor ebx, ebx
lea eax, [ebx + ebx]
lea edi, [esp + eax*4 + 0x88]
lea ebp, [esp + eax*4 + 0x84]
xor eax, eax
xor ecx, ecx
mov cl, byte [ebx + 0x14112ac]
mov dword [edi], 0
mov esi, ecx
mov dword [ebp], 0
mov edx, esi
cmp edx, 0x1c
jge 0x1403282
mov cl, byte [esp + edx + 0x4c]
jmp 0x1403286
mov cl, byte [esp + edx + 0x30]
mov byte [esp + eax + 0x14], cl
inc eax
inc edx
cmp eax, 0x1c
jl 0x1403277
mov eax, 0x1c
lea edx, [esi + 0x1c]
cmp edx, 0x38
jge 0x14032a4
mov cl, byte [esp + edx + 0x4c]
jmp 0x14032a8
mov cl, byte [esp + edx + 0x30]
mov byte [esp + eax + 0x14], cl
inc eax
inc edx
cmp eax, 0x38
jl 0x1403299
xor edx, edx
mov eax, 0x1411214
xor ecx, ecx
mov cl, byte [edx + 0x14112bc]
cmp byte [esp + ecx + 0x14], 0
je 0x14032d3
mov ecx, dword [eax]
mov esi, dword [ebp]
or esi, ecx
mov dword [ebp], esi
xor ecx, ecx
mov cl, byte [edx + 0x14112d4]
cmp byte [esp + ecx + 0x14], 0
je 0x14032ea
mov ecx, dword [eax]
mov esi, dword [edi]
or esi, ecx
mov dword [edi], esi
add eax, 4
inc edx
cmp eax, str.80_
jl 0x14032ba
inc ebx
cmp ebx, 0x10
jl 0x140324b
mov edx, dword [esp + 0x108]
mov ecx, dword [esp + 0x10]
push edx
lea edx, [esp + 0x88]
call fcn.01403360
xor edx, edx
lea ecx, [esp + 0x4c]
push 0x38
call fcn.01406d40
xor edx, edx
lea ecx, [esp + 0x14]
push 0x38
call fcn.01406d40
xor edx, edx
lea ecx, [esp + 0x84]
push 0x80
call fcn.01406d40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xf4
ret 4
Function at 0x1405960
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x140a606
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x1413e98
cmp edx, dword [eax]
je 0x140a628
add eax, 8
inc ecx
cmp eax, 0x1413f28
jl 0x140a619
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x1413e98]
jne 0x140a756
mov eax, dword [0x141425c]
cmp eax, 1
je 0x140a730
test eax, eax
jne 0x140a659
cmp dword [0x1411dd8], 1
je 0x140a730
cmp edx, 0xfc
je 0x140a756
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x140a690
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.0140b300
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.0140b3f0
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x140a6d3
lea eax, [ebp - 0x1a4]
push eax
call fcn.0140b3f0
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x14101b8
push edi
call fcn.0140b830
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.0140b300
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.0140b310
lea eax, [ebp - 0xa0]
push 0x1410198
push eax
call fcn.0140b310
push dword [esi + 0x1413e9c]
lea eax, [ebp - 0xa0]
push eax
call fcn.0140b310
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0140b7a5
add esp, 0x2c
pop edi
jmp 0x140a756
lea eax, [ebp + 8]
lea esi, [esi + 0x1413e9c]
push 0
push eax
push dword [esi]
call fcn.0140b3f0
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x14ac000
Capabilities:
Accept command line arguments
Packed with generic packer
Terminate process

Disassembly:
pushal
push 0x14ac031
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push 0x14ac03a
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea edx, [0x14ac047]
push 0
push 0
push 0
push edx
push 0
push 0
call eax
popal
jmp fcn.01408b6b
Function at 0x418f40
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f42
cmp edx, 0x800
jae 0x41902b
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x419000
mov dword [0x420dbc], 0x4196e0
call fcn.00419170
test eax, eax
jne 0x419048
mov dword [0x420dbc], 0x419600
ret

Function at 0x40892c
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0x4085d8
or ebx, ebx
or edi, ebx
call fcn.00408963
push 0x5b0ebaf4
mov ebx, dword [esp]
add esp, 4
dec edi
xor dword [edx], eax
sub esp, 4
mov dword [esp], ebx
pop edi
add edx, 1
mov edi, 0x5708103b
cmp edx, ecx
jne fcn.0040892c
sub edi, ebx
mov ebx, ebx
ret