joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45ae8c
Capabilities:
Get hostname

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], 0x10
push esp
lea eax, [esp + 8]
push eax
call sub.kernel32.dll_GetComputerNameA_1
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405984
add esp, 0x104
pop ebx
ret

Function at 0x45aec0
Capabilities:
Get session user name

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, eax
mov dword [esp], pe_nt_image_headers32
push esp
lea eax, [esp + 8]
push eax
call sub.ADVAPI32.dll_GetUserNameA_1
mov eax, ebx
lea edx, [esp + 4]
mov ecx, pe_nt_image_headers32
call fcn.00405984
add esp, 0x104
pop ebx
ret

Function at 0x45b8fc
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push 0
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45ba58
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [edi], eax
add esi, 4
call sub.kernel32.dll_GetCurrentProcessId_1
xor edx, edx
push edx
push eax
lea edx, [ebp - 8]
mov eax, 8
call fcn.0040af00
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0xc]
mov eax, 8
call fcn.0040af00
mov edx, dword [ebp - 0xc]
pop eax
call fcn.004059fc
mov eax, dword [ebp - 8]
call fcn.00405bc0
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA_1
mov ebx, eax
test ebx, ebx
je 0x45ba3d
call sub.kernel32.dll_GetLastError_3
cmp eax, 0xb7
je 0x45b99e
cmp esi, 4
jne 0x45b99e
push ebx
call sub.kernel32.dll_CloseHandle_3
xor ebx, ebx
jmp 0x45ba3d
call sub.kernel32.dll_GetLastError_3
cmp eax, 0xb7
jne 0x45ba1f
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile_1
mov dword [edi], eax
mov eax, dword [edi]
mov esi, dword [eax]
mov eax, dword [edi]
push eax
call sub.kernel32.dll_UnmapViewOfFile_1
push ebx
call sub.kernel32.dll_CloseHandle_3
call sub.kernel32.dll_GetCurrentProcessId_1
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x10]
mov eax, 8
call fcn.0040af00
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 4]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x14]
mov eax, 8
call fcn.0040af00
mov edx, dword [ebp - 0x14]
pop eax
call fcn.004059fc
mov eax, dword [ebp - 0x10]
call fcn.00405bc0
push eax
push esi
push 0
push 4
push 0
push 0xffffffffffffffff
call sub.kernel32.dll_CreateFileMappingA_1
mov ebx, eax
push 0
push 0
push 0
push 0xf001f
push ebx
call sub.kernel32.dll_MapViewOfFile_1
mov dword [edi], eax
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
add eax, 4
mov dword [edi], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ba5f
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00405728
ret
Function at 0x45cfb0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 4], ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45d099
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x5ee8cc], bl
mov eax, 0x5ee8d0
mov edx, esi
call fcn.00405758
lea eax, [ebp - 4]
push eax
lea ecx, [ebp - 0x20]
movzx edx, bl
mov eax, dword [0x458dc8]
call fcn.0041cb40
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
call fcn.00403110
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x24]
mov eax, 8
call fcn.0040af00
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea edx, [ebp - 0x1c]
mov ecx, 2
mov eax, 0x45d0b0
call fcn.0040c20c
mov eax, dword [ebp - 4]
call fcn.00405bc0
push eax
call sub.kernel32.dll_OutputDebugStringA_1
cmp dword [0x5ef170], 0
je 0x45d076
add bl, 0xfb
sub bl, 5
jae 0x45d076
push 0x242010
push 0x45d0e4
mov eax, esi
call fcn.00405bc0
push eax
push 0
call sub.USER32.dll_MessageBoxA_3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d0a0
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00405728
lea eax, [ebp - 4]
call fcn.00405704
ret

Function at 0x45d3cc
Capabilities:
Enumerate gui resources

Disassembly:
add esp, 0xfffffff8
mov dword [esp], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, esp
push eax
push 0x45d394
call sub.USER32.dll_EnumWindows_1
mov eax, dword [esp + 4]
pop ecx
pop edx
ret

Function at 0x45d464
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffdc
mov ebx, edx
mov dword [esp], eax
push 0
lea eax, [esp + 0x18]
push eax
xor ecx, ecx
mov edx, 0x7fffffff
mov eax, 0x7fffffff
call fcn.0041f99c
lea esi, [esp + 0x14]
lea edi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, esp
push eax
push 0x45d3ec
call sub.USER32.dll_EnumWindows_1
mov edi, ebx
lea esi, [esp + 4]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
cmp dword [ebx], 0x7fffffff
jne 0x45d4c3
push 0xffffffffffffffff
push ebx
or ecx, 0xffffffff
or edx, 0xffffffff
or eax, 0xffffffff
call fcn.0041f99c
add esp, 0x24
pop edi
pop esi
pop ebx
ret
Function at 0x45d548
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov ebx, eax
test ebx, ebx
je 0x45d62a
mov eax, ebx
test eax, eax
je 0x45d565
sub eax, 4
mov eax, dword [eax]
lea esi, [eax + 1]
push 0
call sub.USER32.dll_OpenClipboard_1
xor eax, eax
push ebp
push 0x45d623
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push 0x2002
call sub.kernel32.dll_GlobalAlloc_1
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x45d609
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_GlobalLock_1
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x45d5eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, ebx
call fcn.00405bc0
mov edx, dword [ebp - 8]
mov ecx, esi
call fcn.0040333c
call sub.USER32.dll_EmptyClipboard_1
mov eax, dword [ebp - 4]
push eax
push 1
call sub.USER32.dll_SetClipboardData_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d5f2
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock_1
ret
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x45d630
Capabilities:
Accept command line arguments
Create process on windows
Terminate process

Disassembly:
add esp, 0xffffffac
test al, al
je 0x45d67c
push esp
call sub.kernel32.dll_GetStartupInfoA_3
lea eax, [esp + 0x44]
xor ecx, ecx
mov edx, 0x10
call fcn.00403c9c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 4]
push eax
mov eax, dword [0x5ee8bc]
call fcn.00405bc0
push eax
push 0
push 0x220
push 0
push 0
push 0
call sub.kernel32.dll_GetCommandLineA_3
push eax
push 0
call sub.kernel32.dll_CreateProcessA_1
push 1
call sub.kernel32.dll_GetCurrentProcess_1
push eax
call sub.kernel32.dll_TerminateProcess_1
add esp, 0x54
ret

Function at 0x45d814
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
mov edx, dword [0x5e656c]
movzx edx, byte [edx]
mov byte [ebp - 1], dl
mov ecx, eax
mov dl, 1
mov eax, dword [0x458e8c]
call fcn.0045d690
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45d8e5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45d8cf
cmp word [ebp - 4], 0x5a4d
jne 0x45d8cf
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00423fb4
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45d8cf
cmp dword [ebp - 8], 0
je 0x45d8cf
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00423fb4
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45d8cf
cmp dword [ebp - 0xc], 0x4550
jne 0x45d8cf
lea edx, [ebp - 0x24]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45d8cf
test byte [ebp - 0x11], 0x20
setne byte [ebp - 1]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45d8ec
mov eax, dword [ebp - 0x10]
call fcn.00404700
ret
Function at 0x45d8f4
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
xor edx, edx
mov dword [ebp - 0x2c], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45da8b
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 1], 0
mov ecx, ebx
mov dl, 1
mov eax, dword [0x458e8c]
call fcn.0045d690
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45da6e
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 4]
mov ecx, 2
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45da58
cmp word [ebp - 4], 0x5a4d
jne 0x45da58
push 0
push 0x3c
mov eax, dword [ebp - 0x10]
call fcn.00423fb4
lea edx, [ebp - 8]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45da58
cmp dword [ebp - 8], 0
je 0x45da58
mov eax, dword [ebp - 8]
xor edx, edx
push edx
push eax
mov eax, dword [ebp - 0x10]
call fcn.00423fb4
lea edx, [ebp - 0xc]
mov ecx, 4
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45da58
cmp dword [ebp - 0xc], 0x4550
jne 0x45da58
lea edx, [ebp - 0x28]
mov ecx, 0x14
mov eax, dword [ebp - 0x10]
call fcn.0045d708
test al, al
je 0x45da54
test byte [ebp - 0x15], 0x20
je 0x45da54
push 2
push 0
lea edx, [ebp - 0x2c]
mov eax, ebx
call fcn.0045978c
mov eax, dword [ebp - 0x2c]
call fcn.00405bc0
push eax
call sub.kernel32.dll_LoadLibraryExA_3
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x45da4d
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xa
push 0x45da9c
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA_1
test eax, eax
je 0x45da32
push 0xa
push 0x45daa8
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FindResourceA_1
test eax, eax
je 0x45da32
mov byte [ebp - 1], 2
jmp 0x45da36
mov byte [ebp - 1], 3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45da58
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_FreeLibrary_3
ret
mov byte [ebp - 1], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45da75
mov eax, dword [ebp - 0x10]
call fcn.00404700
ret
Function at 0x45dcd8
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45dce1
xchg dword [ebp - 4], ecx
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x45defd
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, edi
call fcn.00405704
mov eax, esi
call fcn.00405704
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
mov eax, ebx
call fcn.00405bc0
push eax
call sub.version.dll_GetFileVersionInfoSizeA_1
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jbe 0x45deda
mov eax, dword [ebp - 8]
call fcn.00402ffc
mov dword [ebp - 0x18], eax
xor eax, eax
push ebp
push 0x45ded3
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x18]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
mov eax, ebx
call fcn.00405bc0
push eax
call sub.version.dll_GetFileVersionInfoA_1
test eax, eax
je 0x45deba
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x45df0c
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA_1
test eax, eax
je 0x45de0a
push 0x45df30
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
mov edx, 4
call fcn.0040aed8
push dword [ebp - 0x20]
lea ecx, [ebp - 0x24]
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 2]
mov edx, 4
call fcn.0040aed8
push dword [ebp - 0x24]
push 0x45df4c
lea eax, [ebp - 4]
mov edx, 4
call fcn.00405ac4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
call fcn.00405bc0
push eax
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA_1
test eax, eax
je 0x45de0a
cmp dword [ebp - 0x10], 1
jbe 0x45de0a
mov eax, dword [ebp - 0x1c]
call fcn.0040ba58
mov ecx, eax
mov eax, edi
mov edx, dword [ebp - 0x1c]
call fcn.004057f4
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x45df60
mov eax, dword [ebp - 0x18]
push eax
call sub.version.dll_VerQueryValueA_1
test eax, eax
je 0x45deba
mov eax, dword [ebp - 0x1c]
mov ebx, dword [eax + 8]
shr ebx, 0x10
mov eax, dword [ebp - 0x1c]
movzx edi, word [eax + 8]
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0xc]
shr eax, 0x10
mov word [ebp - 0x12], ax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax + 0xc]
mov word [ebp - 0x14], ax
lea edx, [ebp - 0x28]
movzx eax, bx
call fcn.0040ace0
push dword [ebp - 0x28]
push 0x45df6c
lea edx, [ebp - 0x2c]
movzx eax, di
call fcn.0040ace0
push dword [ebp - 0x2c]
push 0x45df6c
lea edx, [ebp - 0x30]
movzx eax, word [ebp - 0x12]
call fcn.0040ace0
push dword [ebp - 0x30]
push 0x45df6c
lea edx, [ebp - 0x34]
movzx eax, word [ebp - 0x14]
call fcn.0040ace0
push dword [ebp - 0x34]
mov eax, esi
mov edx, 7
call fcn.00405ac4
mov eax, dword [esi]
mov edx, 0x45df78
call fcn.00405b58
jne 0x45deba
mov eax, esi
call fcn.00405704
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45deda
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x18]
call fcn.00403018
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45df04
lea eax, [ebp - 0x34]
mov edx, 6
call fcn.00405728
lea eax, [ebp - 4]
call fcn.00405704
ret
Function at 0x45ed4c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
mov byte [ebp - 0x15], 0
mov eax, dword [0x5e1e44]
mov edx, dword [eax]
call dword [edx + 8]
push 0x45ee60
call sub.kernel32.dll_LoadLibraryA_1
mov dword [ebp - 0x28], eax
push 0x45ee6c
call sub.kernel32.dll_GetModuleHandleA_5
mov ebx, eax
xor eax, eax
push ebp
push 0x45ee53
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45ee7c
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 4], eax
push 0x45ee94
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 0x14], eax
push 0x45eeac
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 0x24], eax
push 0x45eebc
push ebx
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 8], eax
push 0x45eed8
push ebx
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 0xc], eax
push 0x45eee8
push ebx
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 0x10], eax
push 0x45eef8
push ebx
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 0x1c], eax
push 0x45ef08
push ebx
call sub.kernel32.dll_GetProcAddress_3
mov dword [ebp - 0x20], eax
call fcn.0045bc50
test al, al
je 0x45ee13
push ebp
call fcn.0045ecec
pop ecx
jmp 0x45ee1a
push ebp
call fcn.0045ebb0
pop ecx
mov edx, 0x45e4d8
mov eax, dword [0x5e1e44]
call fcn.004214fc
cmp byte [ebp - 0x15], 0
jne 0x45ee36
push ebp
call fcn.0045e594
pop ecx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ee5a
cmp dword [ebp - 0x28], 0
je 0x45ee52
mov eax, dword [ebp - 0x28]
push eax
call sub.kernel32.dll_FreeLibrary_3
ret
Function at 0x460070
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], ebx
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4601eb
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 6], 0
lea edx, [ebp - 5]
mov ecx, 1
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f6
jb 0x4600cf
cmp byte [ebp - 5], 0x80
jb 0x4600cf
and byte [ebp - 5], 0x7f
mov byte [ebp - 6], 1
movzx edx, byte [ebp - 5]
mov eax, ebx
call fcn.004035f8
movzx ecx, byte [ebp - 5]
lea edx, [ebx + 1]
mov eax, dword [ebp - 4]
mov edi, dword [eax]
call dword [edi + 0xc]
cmp word [esi + 0x19], 0x1f4
jb 0x4601bf
cmp byte [esi + 0x3b], 0
je 0x46012f
mov eax, dword [0x5eeae4]
mov edx, dword [esi + 0x37]
call fcn.00405b58
je 0x46011f
mov eax, dword [esi + 0x37]
call fcn.00442078
mov eax, 0x5eeae4
mov edx, dword [esi + 0x37]
call fcn.00405758
movzx ecx, byte [ebx]
lea edx, [ebx + 1]
lea eax, [ebx + 1]
call fcn.0044212c
jmp 0x460168
cmp byte [ebx], 0
je 0x460168
lea eax, [ebp - 0x14]
mov edx, ebx
call fcn.00405978
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00442458
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0xc]
mov edx, 0x460204
call fcn.00405a48
mov edx, dword [ebp - 0xc]
mov eax, ebx
mov ecx, 0xff
call fcn.004059cc
cmp byte [ebp - 6], 0
je 0x4601d0
lea eax, [ebp - 0x1c]
mov edx, ebx
call fcn.00405978
push dword [ebp - 0x1c]
push 0x460210
lea ecx, [ebp - 0x120]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00460070
lea edx, [ebp - 0x120]
lea eax, [ebp - 0x20]
call fcn.00405978
push dword [ebp - 0x20]
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00405ac4
mov edx, dword [ebp - 0x18]
mov eax, ebx
mov ecx, 0xff
call fcn.004059cc
jmp 0x4601d0
movzx edx, byte [ebx]
test edx, edx
jle 0x4601d0
lea eax, [ebx + 1]
xor byte [eax], 0x62
inc eax
dec edx
jne 0x4601c9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4601f2
lea eax, [ebp - 0x20]
mov edx, 6
call fcn.00405728
ret

Function at 0x465d0c
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebx, ecx
mov ebp, edx
mov edi, eax
push 0
push 0
push 0xe
push ebp
push edi
call sub.USER32.dll_GetDlgItem_1
push eax
call sub.USER32.dll_SendMessageA_1
mov esi, eax
inc esi
mov eax, ebx
mov edx, esi
call fcn.00405e50
mov eax, ebx
call fcn.00405c20
push eax
push esi
push 0xd
push ebp
push edi
call sub.USER32.dll_GetDlgItem_1
push eax
call sub.USER32.dll_SendMessageA_1
mov eax, dword [ebx]
mov dword [esp], eax
mov eax, dword [esp]
test eax, eax
je 0x465d5f
sub eax, 4
mov eax, dword [eax]
mov edx, ebx
mov ecx, 1
xchg edx, eax
call fcn.00405c68
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x46d820
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov dword [esp + 4], ecx
mov dword [esp], edx
mov edi, eax
cmp byte [0x5e1e7c], 0
jne 0x46d86d
xor esi, esi
mov edx, 0x5ef1b8
mov eax, esi
mov ebx, 8
test al, 1
je 0x46d853
shr eax, 1
xor eax, 0xedb88320
jmp 0x46d855
shr eax, 1
dec ebx
jne 0x46d846
mov dword [edx], eax
inc esi
add edx, 4
cmp esi, 0x100
jne 0x46d83f
mov byte [0x5e1e7c], 1
mov eax, dword [esp + 4]
dec eax
test eax, eax
jl 0x46d89a
inc eax
xor esi, esi
mov edx, dword [esp]
movzx edx, byte [edx + esi]
xor edx, edi
and edx, 0xff
mov edx, dword [edx*4 + 0x5ef1b8]
shr edi, 8
xor edx, edi
mov edi, edx
inc esi
dec eax
jne 0x46d879
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x470950
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, 0x11
push 0
push 0
dec ecx
jne 0x470959
push ecx
xchg dword [ebp - 4], ecx
push ebx
push esi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00405bb0
mov eax, dword [ebp - 8]
call fcn.00405bb0
mov eax, dword [ebp - 0xc]
call fcn.00405bb0
xor eax, eax
push ebp
push 0x470b84
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x78]
mov eax, dword [ebp - 8]
call fcn.00433324
mov edx, dword [ebp - 0x78]
lea eax, [ebp - 8]
call fcn.0040579c
lea edx, [ebp - 0x7c]
mov eax, dword [ebp - 0xc]
call fcn.00433324
mov edx, dword [ebp - 0x7c]
lea eax, [ebp - 0xc]
call fcn.0040579c
lea eax, [ebp - 0x14]
push eax
xor ecx, ecx
mov edx, 0x470b9c
mov eax, 0x80000000
call fcn.00433ec8
lea edx, [ebp - 0x80]
mov eax, dword [ebp - 0x14]
call fcn.00433324
mov edx, dword [ebp - 0x80]
lea eax, [ebp - 0x14]
call fcn.0040579c
lea eax, [ebp - 0x64]
xor ecx, ecx
mov edx, 0x44
call fcn.00403c9c
lea eax, [ebp - 0x74]
xor ecx, ecx
mov edx, 0x10
call fcn.00403c9c
mov dword [ebp - 0x64], 0x44
mov dword [ebp - 0x38], 1
mov word [ebp - 0x34], 3
lea eax, [ebp - 0x1c]
mov ecx, dword [0x5ee8ac]
mov edx, 0x470bc0
call fcn.00405a48
push 0x470bd0
push dword [ebp - 4]
push 0x470be0
lea edx, [ebp - 0x84]
mov eax, dword [ebp - 8]
call fcn.00470864
push dword [ebp - 0x84]
push 0x470bf4
lea eax, [ebp - 0x8c]
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp - 0xc]
call fcn.00405a48
mov eax, dword [ebp - 0x8c]
lea edx, [ebp - 0x88]
call fcn.00470864
push dword [ebp - 0x88]
lea eax, [ebp - 0x10]
mov edx, 6
call fcn.00405ac4
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x10]
mov edx, 0x470c04
mov eax, dword [ebp - 0x14]
call fcn.00433c84
lea eax, [ebp - 0x74]
push eax
lea eax, [ebp - 0x64]
push eax
push 0
push 0
push 0x4000020
push 0
push 0
push 0
mov eax, dword [ebp - 0x18]
call fcn.00405bc0
push eax
push 0
call sub.kernel32.dll_CreateProcessA_1
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
je 0x470b3c
xor ebx, ebx
mov eax, dword [ebp - 0x74]
mov esi, eax
push 0x2710
push eax
call sub.USER32.dll_WaitForInputIdle_1
push 0x7d0
call sub.kernel32.dll_Sleep_5
mov eax, dword [ebp - 0x6c]
call fcn.0045d3cc
test eax, eax
je 0x470b0b
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push eax
call sub.USER32.dll_SetWindowPos_1
push 0xffffffffffffffff
push esi
call sub.kernel32.dll_WaitForSingleObject_1
cmp eax, 0xffffffff
je 0x470b28
lea eax, [ebp - 0x20]
push eax
push esi
call sub.kernel32.dll_GetExitCodeProcess_1
cmp eax, 1
sbb ebx, ebx
inc ebx
mov eax, dword [ebp - 0x70]
push eax
call sub.kernel32.dll_CloseHandle_3
mov eax, dword [ebp - 0x74]
push eax
call sub.kernel32.dll_CloseHandle_3
jmp 0x470b59
call sub.kernel32.dll_GetLastError_3
lea edx, [ebp - 0x90]
call fcn.0040effc
mov edx, dword [ebp - 0x90]
mov al, 4
call fcn.0045cfb0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470b8b
lea eax, [ebp - 0x90]
mov edx, 7
call fcn.00405728
lea eax, [ebp - 0x1c]
mov edx, 7
call fcn.00405728
ret
Function at 0x470e50
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe8c
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x16c], edx
mov dword [ebp - 0x170], edx
mov dword [ebp - 0x168], edx
mov esi, eax
lea eax, [ebp - 0x160]
mov edx, dword [0x4094d0]
call fcn.004063c0
xor eax, eax
push ebp
push 0x470fe0
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x41ecf4]
call fcn.004046d0
mov dword [ebp - 0x164], eax
xor edx, edx
push ebp
push 0x470faa
push dword fs:[edx]
mov dword fs:[edx], esp
mov dl, 1
mov eax, dword [ebp - 0x164]
call fcn.00423e70
mov ebx, 0x20
lea eax, [ebp - 0x168]
mov ecx, 0x470ff8
mov edx, esi
call fcn.00405a48
mov eax, dword [ebp - 0x168]
lea ecx, [ebp - 0x160]
mov edx, ebx
call fcn.0040b398
test eax, eax
jne 0x470f17
mov edx, dword [ebp - 0x14c]
mov eax, dword [ebp - 0x164]
mov ecx, dword [eax]
call dword [ecx + 0x38]
lea eax, [ebp - 0x160]
call fcn.0040b3e8
test eax, eax
je 0x470eec
lea eax, [ebp - 0x160]
call fcn.0040b40c
mov eax, dword [ebp - 0x164]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp eax, 0xa
jle 0x470f91
mov eax, dword [ebp - 0x164]
mov edx, dword [eax]
call dword [edx + 0x14]
mov ebx, eax
sub ebx, 0xa
dec ebx
test ebx, ebx
jl 0x470f91
inc ebx
xor esi, esi
lea ecx, [ebp - 0x170]
mov edx, esi
mov eax, dword [ebp - 0x164]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 0x170]
call fcn.00405bc0
mov edx, eax
lea eax, [ebp - 0x16c]
call fcn.0040590c
mov edi, dword [ebp - 0x16c]
mov dword [ebp - 0x174], edi
mov eax, dword [ebp - 0x174]
call fcn.00405bc0
push eax
call sub.kernel32.dll_DeleteFileA_1
cmp eax, 1
sbb eax, eax
inc eax
inc esi
dec ebx
jne 0x470f3f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x470fb1
mov eax, dword [ebp - 0x164]
call fcn.00404700
ret