joyce8/EMBER2024-capa huggingface dataset:
Function at 0x457a50
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x457a67
add esp, 0xfffffff0
call fcn.00403b54
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041f584
mov eax, dword [0x4933c4]
cmp word [eax + 2], 0
jne 0x457a8f
mov eax, dword [0x4933c4]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004591d0
mov eax, dword [0x493508]
cmp word [eax + 2], 0
jne 0x457aa9
mov eax, dword [0x493508]
mov dword [eax + 4], ebx
mov dword [eax], fcn.004593c8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x416064]
call fcn.00403800
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x416064]
call fcn.00403800
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 [0x421b78]
call fcn.004297ac
mov esi, eax
mov dword [ebx + 0x98], esi
push 0x457c30
mov eax, dword [0x49323c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00429b7c
mov eax, dword [ebx + 0x98]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x459978
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x49323c]
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.0040d360
test eax, eax
je 0x457b9e
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004093a0
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d388
test eax, eax
je 0x457bb2
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.00404874
mov eax, dword [0x492fe0]
cmp byte [eax], 0
jne 0x457be6
mov eax, ebx
call fcn.00457d58
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.00459b54
mov eax, ebx
call fcn.0045a518
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x457c26
call fcn.00403bac
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x457fd8
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x494bc0]
cmp dword [eax + 0x30], 0
je 0x458082
cmp dword [ebx + 0x94], 0
jne 0x45807c
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x457f68
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x45807c
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 0x458042
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x45807c
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.00418964
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x458051
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x458be4
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 0x458c19
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.004046f4
jmp 0x458c26
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.00404658
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x459d30
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x459d71
mov eax, esi
call fcn.00440298
test al, al
je 0x459d71
mov eax, dword [ebx + 0x84]
call fcn.0043ffc0
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x459d71
push 0
mov eax, dword [ebx + 0x84]
call fcn.0043ffc0
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret
Function at 0x45aa30
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x415604]
call fcn.00404fb8
xor eax, eax
push ebp
push 0x45ab74
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x491dfc], 0
jne 0x45aa83
mov ecx, dword [0x493014]
mov dl, 1
mov eax, dword [0x4079e8]
call fcn.0040c598
call fcn.00403fbc
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.004030c0
mov eax, ebx
call fcn.00404e68
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x45ab84
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.00406050
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.00404e78
test eax, eax
jle 0x45ab1b
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x45ab14
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.0040488c
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.00404874
mov eax, dword [ebp - 0x48]
pop edx
call fcn.00408894
test eax, eax
jne 0x45ab14
mov ebx, 0x15
jmp 0x45ab20
mov ebx, 0x10
jmp 0x45ab20
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x491dfc]
call fcn.0045a988
mov eax, dword [ebp - 8]
call fcn.0045a988
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.00406068
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45ab7b
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00404628
lea eax, [ebp - 0x10]
mov edx, dword [0x415604]
call fcn.00405088
ret

Function at 0x464d68
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x464d96
mov eax, ebx
call fcn.0046581c
cmp dword [ebx + 0x40], 0
je 0x464d8f
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x464e07
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x464df9
cmp dword [ebx + 8], 0
je 0x464db8
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 0x464dca
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x464df9
cmp dword [ebx + 8], 0
je 0x464dab
cmp eax, 3
je 0x464ddd
dec eax
jne 0x464dab
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 0x464dab
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x464dab
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x464e25
cmp dword [ebx + 0x14], 0xcc
je 0x464e25
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.00464e30
pop ebx
ret
Function at 0x4830f0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
mov ecx, 8
push 0
push 0
dec ecx
jne 0x4830f8
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x4832ea
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x483300
mov eax, esi
call fcn.00480f7c
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00404658
lea ecx, [ebp - 0x10]
mov edx, 0x483314
mov eax, esi
call fcn.00480f7c
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00404658
lea ecx, [ebp - 0x14]
mov edx, 0x48332c
mov eax, esi
call fcn.00480f7c
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00404658
lea ecx, [ebp - 0x18]
mov edx, 0x483348
mov eax, esi
call fcn.00480f7c
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00404658
lea ecx, [ebp - 0x1c]
mov edx, 0x483364
mov eax, esi
call fcn.00480f7c
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00404658
lea ecx, [ebp - 0x24]
mov edx, 0x48337c
mov eax, esi
call fcn.00480f7c
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.00408904
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.00408ce4
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x483394
mov eax, esi
call fcn.00480f7c
mov eax, dword [ebp - 0x28]
call fcn.0047a920
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4833a4
mov eax, esi
call fcn.00480f7c
mov eax, dword [ebp - 0x2c]
call fcn.0047a920
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4833bc
mov eax, esi
call fcn.00480f7c
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.00408ce4
inc eax
je 0x48328d
lea ecx, [ebp - 0x34]
mov edx, 0x4833bc
mov eax, esi
call fcn.00480f7c
mov eax, dword [ebp - 0x34]
call fcn.00408ca8
mov edi, eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov dword [ebp - 8], eax
mov eax, edi
mov ecx, 0xe10
cdq
idiv ecx
mov ecx, edx
mov eax, ecx
push ecx
mov ecx, 0x3c
cdq
idiv ecx
pop ecx
mov dword [ebp - 4], eax
mov eax, ecx
mov ecx, 0x3c
cdq
idiv ecx
mov edi, edx
push 0
mov ecx, edi
mov dx, word [ebp - 4]
mov ax, word [ebp - 8]
call fcn.0040a34c
fstp qword [ebp - 0x3c]
wait
call fcn.0040a6b0
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4832a8
lea ecx, [ebp - 0x40]
mov edx, 0x4833bc
mov eax, esi
call fcn.00480f7c
mov eax, dword [ebp - 0x40]
call fcn.0047a920
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x4833cc
mov eax, esi
call fcn.00480f7c
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00404658
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4832f1
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00404628
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00404628
ret
Function at 0x48a07c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
xor edx, edx
push ebp
push 0x48a0d6
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.0048a06c
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.0047958c
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.0047918c
mov edx, dword [esi + 8]
mov eax, dword [ebx + 0x10]
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48a0dd
lea eax, [ebp - 4]
call fcn.00404604
ret

Function at 0x48e21c
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffefc
mov ebx, edx
push esp
push eax
mov eax, dword [0x4934c8]
mov eax, dword [eax]
mov eax, dword [eax + 0x30]
push eax
call sub.shell32.dll_SHGetSpecialFolderLocation
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call sub.shell32.dll_SHGetPathFromIDListA
mov edx, ebx
lea eax, [esp + 4]
call fcn.00409550
add esp, 0x104
pop ebx
ret
Function at 0x48e25c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffbc
push ebx
push esi
push edi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404ab4
mov eax, dword [ebp - 8]
call fcn.00404ab4
xor eax, eax
push ebp
push 0x48e405
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
push 0
push 0x80
push 3
push 0
push 0
push 0x80000000
mov eax, dword [ebp - 4]
call fcn.00404ac4
push eax
call sub.kernel32.dll_CreateFileA_1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
je 0x48e3ea
xor eax, eax
push ebp
push 0x48e3e0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
lea eax, [ebp - 0x18]
push eax
push 0x16
lea eax, [ebp - 0x2f]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReadFile_1
mov ebx, dword [ebp - 0x21]
mov eax, ebx
call fcn.004027b4
mov dword [ebp - 0xc], eax
push 0
push 0
mov eax, dword [ebp - 0x1d]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_SetFilePointer_1
push 0
lea eax, [ebp - 0x18]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x14]
push eax
call sub.kernel32.dll_ReadFile_1
mov word [ebp - 0x41], 1
mov ax, word [ebp - 0x2b]
mov word [ebp - 0x3f], ax
mov word [ebp - 0x43], 0
lea edx, [ebp - 0x29]
lea eax, [ebp - 0x3d]
mov ecx, 0xc
call fcn.004073ec
mov word [ebp - 0x31], 0
mov esi, 0x14
mov eax, esi
call fcn.004027b4
mov edi, eax
lea edx, [ebp - 0x43]
mov ecx, esi
mov eax, edi
call fcn.004073ec
push 0
mov eax, dword [ebp - 8]
call fcn.00404ac4
push eax
call sub.kernel32.dll_BeginUpdateResourceA
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x48e3c2
push dword fs:[eax]
mov dword fs:[eax], esp
push esi
push edi
push 0
push 1
push 0xe
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
push ebx
mov eax, dword [ebp - 0xc]
push eax
push 0
push 1
push 3
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_UpdateResourceA
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 0x19], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e3c9
push 0
mov eax, dword [ebp - 0x10]
push eax
call sub.kernel32.dll_EndUpdateResourceA
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e40c
lea eax, [ebp - 8]
mov edx, 2
call fcn.00404628
ret
Function at 0x48e418
Capabilities:
Create process on windows
Self delete

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe18
xor eax, eax
mov dword [ebp - 0x1e4], eax
mov dword [ebp - 0x1e8], eax
mov dword [ebp - 0x1e0], eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1dc], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1d4], eax
xor eax, eax
push ebp
push 0x48e603
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x48e618
lea eax, [ebp - 0x1cc]
call fcn.00402e90
lea eax, [ebp - 0x1cc]
call fcn.00402c2c
mov edx, 0x48e62c
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
mov edx, 0x48e640
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
push 0x48e650
lea edx, [ebp - 0x1d4]
mov eax, dword [0x4934c8]
mov eax, dword [eax]
call fcn.004596e0
push dword [ebp - 0x1d4]
push 0x48e660
lea eax, [ebp - 0x1d0]
mov edx, 3
call fcn.00404984
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
push 0x48e66c
push dword [0x494f9c]
push 0x48e680
lea edx, [ebp - 0x1dc]
mov eax, dword [0x4934c8]
mov eax, dword [eax]
call fcn.004596e0
push dword [ebp - 0x1dc]
push 0x48e660
lea eax, [ebp - 0x1d8]
mov edx, 5
call fcn.00404984
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
push 0x48e68c
push dword [0x494f9c]
push 0x48e6a0
lea eax, [ebp - 0x1e0]
mov edx, 3
call fcn.00404984
mov edx, dword [ebp - 0x1e0]
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
push 0x48e6b4
lea edx, [ebp - 0x1e8]
mov eax, dword [0x4934c8]
mov eax, dword [eax]
call fcn.004596e0
push dword [ebp - 0x1e8]
push 0x48e660
lea eax, [ebp - 0x1e4]
mov edx, 3
call fcn.00404984
mov edx, dword [ebp - 0x1e4]
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
mov edx, 0x48e6c8
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
lea eax, [ebp - 0x1cc]
call fcn.00402f58
push 0
push 0x48e6ec
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e60a
lea eax, [ebp - 0x1e8]
mov edx, 7
call fcn.00404628
ret
Function at 0x48e6f8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe28
xor eax, eax
mov dword [ebp - 0x1d8], eax
mov dword [ebp - 0x1d0], eax
mov dword [ebp - 0x1d4], eax
xor eax, eax
push ebp
push 0x48e83b
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, 0x48e850
lea eax, [ebp - 0x1cc]
call fcn.00402e90
lea eax, [ebp - 0x1cc]
call fcn.00402c2c
mov edx, 0x48e864
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
mov edx, 0x48e878
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
push 0x48e888
push dword [0x494f9c]
push 0x48e89c
lea edx, [ebp - 0x1d4]
mov eax, dword [0x4934c8]
mov eax, dword [eax]
call fcn.004596e0
push dword [ebp - 0x1d4]
push 0x48e8a8
lea eax, [ebp - 0x1d0]
mov edx, 5
call fcn.00404984
mov edx, dword [ebp - 0x1d0]
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
push 0x48e8b4
push dword [0x494f9c]
push 0x48e8c8
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404984
mov edx, dword [ebp - 0x1d8]
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
mov edx, 0x48e8dc
lea eax, [ebp - 0x1cc]
call fcn.00404cb4
call fcn.004032e4
lea eax, [ebp - 0x1cc]
call fcn.00402f58
push 0
push 0x48e900
call sub.kernel32.dll_WinExec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48e842
lea eax, [ebp - 0x1d8]
mov edx, 3
call fcn.00404628
ret

Function at 0x48e90c
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x48ea51
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x494f84], 1
jge 0x48ea29
xor eax, eax
mov dword [0x494f84], eax
lea edx, [ebp - 4]
mov eax, dword [0x4934c8]
mov eax, dword [eax]
call fcn.004596e0
lea edx, [ebp - 8]
mov eax, dword [0x4934c8]
mov eax, dword [eax]
call fcn.004596e0
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.004092a0
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x48ea68
mov edx, 0x48ea78
mov eax, dword [ebp - 4]
call fcn.0042e844
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.0040469c
mov eax, dword [0x494f78]
call fcn.0040934c
mov eax, 0x48ea88
mov edx, dword [0x494f90]
call fcn.00404a10
jne 0x48e9c4
push 0
lea eax, [ebp - 0x10]
mov ecx, 0x48ea94
mov edx, dword [ebp - 4]
call fcn.00404910
mov eax, dword [ebp - 0x10]
call fcn.00404ac4
push eax
call sub.kernel32.dll_WinExec
jmp 0x48ea29
cmp dword [0x494f90], 0
je 0x48e9ff
push 0
push 0x48eaa4
push dword [ebp - 4]
push 0x48eab8
push dword [0x494f90]
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00404984
mov eax, dword [ebp - 0x14]
call fcn.00404ac4
push eax
call sub.kernel32.dll_WinExec
jmp 0x48ea29
push 0
push 0x48eaa4
push dword [ebp - 4]
push 0x48eac4
lea eax, [ebp - 0x18]
mov edx, 3
call fcn.00404984
mov eax, dword [ebp - 0x18]
call fcn.00404ac4
push eax
call sub.kernel32.dll_WinExec
mov dl, 1
mov eax, dword [ebx + 0x338]
mov ecx, dword [eax]
call dword [ecx + 0x64]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ea58
lea eax, [ebp - 0x18]
mov edx, 6
call fcn.00404628
ret
Function at 0x48fe28
Capabilities:
Create process on windows
Move file

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov ebx, eax
xor eax, eax
push ebp
push 0x48ff16
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebx + 0x34c], 0
je 0x48febc
mov eax, 0x48ff2c
call fcn.00408ca8
mov esi, eax
mov eax, dword [0x494f98]
call fcn.00408ca8
cmp esi, eax
jge 0x48feaf
mov eax, dword [ebx + 0x34c]
call fcn.00409074
test al, al
je 0x48feaf
mov eax, dword [0x494f9c]
call fcn.00404ac4
push eax
mov eax, dword [ebx + 0x34c]
call fcn.00404ac4
push eax
call sub.kernel32.dll_MoveFileA
test eax, eax
je 0x48feaf
mov edx, dword [0x494f9c]
mov eax, 0x48ff3c
call fcn.0048e25c
call fcn.0048e6f8
mov eax, ebx
call fcn.00455990
jmp 0x48ff00
lea eax, [ebx + 0x34c]
call fcn.00404604
jmp 0x48ff00
push 0
push 0x48ff4c
push 0x48ff50
push 0
call sub.user32.dll_MessageBoxA_1
push 5
lea eax, [ebp - 4]
mov ecx, 0x48ffc8
mov edx, dword [0x494f9c]
call fcn.00404910
mov eax, dword [ebp - 4]
call fcn.00404ac4
push eax
call sub.kernel32.dll_WinExec
mov eax, ebx
call fcn.0048e90c
mov eax, ebx
call fcn.00455990
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x48ff1d
lea eax, [ebp - 4]
call fcn.00404604
ret
Function at 0x4059bd
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x40fba0
cmp edx, dword [eax]
je 0x4059df
add eax, 8
inc ecx
cmp eax, 0x40fc30
jl 0x4059d0
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x40fba0]
jne 0x405b0d
mov eax, dword [0x41f1f0]
cmp eax, 1
je 0x405ae7
test eax, eax
jne 0x405a10
cmp dword [0x40faec], 1
je 0x405ae7
cmp edx, 0xfc
je 0x405b0d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x405a47
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004067c0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00405e80
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x405a8a
lea eax, [ebp - 0x1a4]
push eax
call fcn.00405e80
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x40841c
push edi
call fcn.00406940
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004067c0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004067d0
lea eax, [ebp - 0xa0]
push 0x4083fc
push eax
call fcn.004067d0
push dword [esi + 0x40fba4]
lea eax, [ebp - 0xa0]
push eax
call fcn.004067d0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004068b0
add esp, 0x2c
pop edi
jmp 0x405b0d
lea eax, [ebp + 8]
lea esi, [esi + 0x40fba4]
push 0
push eax
push dword [esi]
call fcn.00405e80
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 0x4ca25d
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x4c9fca
sub edi, edi
inc edi
sub edi, 0x63c6f9ab
call fcn.004ca294
sub edi, edi
sub edi, 0xd6eaf3a3
mov esi, 0xbb20c14c
xor dword [edx], ebx
push 0xc78c2973
pop esi
mov esi, esi
inc edx
add esi, edi
cmp edx, ecx
jne fcn.004ca25d
or esi, esi
dec esi
dec edi
ret