joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46562c
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 0x465634
push ecx
push ebx
push esi
push edi
mov ebx, eax
xor eax, eax
push ebp
push 0x465826
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [ebx + 8]
lea ecx, [ebp - 0xc]
mov edx, 0x46583c
mov eax, esi
call fcn.004633bc
mov edx, dword [ebp - 0xc]
lea eax, [ebx + 0xc]
call fcn.00403fc4
lea ecx, [ebp - 0x10]
mov edx, 0x465850
mov eax, esi
call fcn.004633bc
mov edx, dword [ebp - 0x10]
lea eax, [ebx + 0x28]
call fcn.00403fc4
lea ecx, [ebp - 0x14]
mov edx, 0x465868
mov eax, esi
call fcn.004633bc
mov edx, dword [ebp - 0x14]
lea eax, [ebx + 0x10]
call fcn.00403fc4
lea ecx, [ebp - 0x18]
mov edx, 0x465884
mov eax, esi
call fcn.004633bc
mov edx, dword [ebp - 0x18]
lea eax, [ebx + 0x14]
call fcn.00403fc4
lea ecx, [ebp - 0x1c]
mov edx, 0x4658a0
mov eax, esi
call fcn.004633bc
mov edx, dword [ebp - 0x1c]
lea eax, [ebx + 0x24]
call fcn.00403fc4
lea ecx, [ebp - 0x24]
mov edx, 0x4658b8
mov eax, esi
call fcn.004633bc
mov eax, dword [ebp - 0x24]
lea edx, [ebp - 0x20]
call fcn.0040839c
mov eax, dword [ebp - 0x20]
or edx, 0xffffffff
call fcn.0040877c
mov edi, eax
mov dword [ebx + 0x18], edi
test edi, edi
setge al
mov byte [ebx + 0x4c], al
lea ecx, [ebp - 0x28]
mov edx, 0x4658d0
mov eax, esi
call fcn.004633bc
mov eax, dword [ebp - 0x28]
call fcn.004624d4
fstp qword [ebx + 0x30]
wait
lea ecx, [ebp - 0x2c]
mov edx, 0x4658e0
mov eax, esi
call fcn.004633bc
mov eax, dword [ebp - 0x2c]
call fcn.004624d4
fstp qword [ebx + 0x40]
wait
lea ecx, [ebp - 0x30]
mov edx, 0x4658f8
mov eax, esi
call fcn.004633bc
mov eax, dword [ebp - 0x30]
or edx, 0xffffffff
call fcn.0040877c
inc eax
je 0x4657c9
lea ecx, [ebp - 0x34]
mov edx, 0x4658f8
mov eax, esi
call fcn.004633bc
mov eax, dword [ebp - 0x34]
call fcn.00408740
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.00409c78
fstp qword [ebp - 0x3c]
wait
call fcn.00409fdc
fadd qword [ebp - 0x3c]
fstp qword [ebx + 0x38]
wait
jmp 0x4657e4
lea ecx, [ebp - 0x40]
mov edx, 0x4658f8
mov eax, esi
call fcn.004633bc
mov eax, dword [ebp - 0x40]
call fcn.004624d4
fstp qword [ebx + 0x38]
wait
lea ecx, [ebp - 0x44]
mov edx, 0x465908
mov eax, esi
call fcn.004633bc
mov edx, dword [ebp - 0x44]
lea eax, [ebx + 0x48]
call fcn.00403fc4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46582d
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00403f94
lea eax, [ebp - 0x34]
mov edx, 0xb
call fcn.00403f94
ret
Function at 0x471ac4
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 0x471b1e
push dword fs:[edx]
mov dword fs:[edx], esp
mov eax, dword [eax + 0x30]
call fcn.00471ab4
mov ebx, eax
lea edx, [ebp - 4]
mov eax, edi
call fcn.00461140
mov edx, dword [ebp - 4]
mov eax, dword [ebx + 0xc]
call fcn.00460d40
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 0x471b25
lea eax, [ebp - 4]
call fcn.00403f70
ret
Function at 0x41ded0
Capabilities:
Get number of processors

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547d08
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x5876e0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov ebx, ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov dword [esp + 0x2c], 0
mov dword [esp + 0x44], 7
mov dword [esp + 0x40], 0
mov word [esp + 0x30], ax
push ecx
lea edx, [ebx + 0x64]
mov dword [esp + 0x5c], eax
lea ecx, [esp + 0x34]
call fcn.00452d10
add esp, 4
test al, al
lea eax, [esp + 0x30]
je 0x41df61
lea ecx, [ebx + 0x4c]
cmp ecx, eax
je 0x41e0e1
push 0xffffffffffffffff
push 0
push eax
call fcn.0041f420
jmp 0x41e0e1
push eax
call fcn.00427b90
add esp, 4
test al, al
jne 0x41dfcc
push ecx
lea ecx, [esp + 0x18]
call fcn.004292b0
mov edi, eax
add esp, 4
lea eax, [esp + 0x30]
cmp eax, edi
je 0x41dfb9
cmp dword [esp + 0x44], 8
jb 0x41df98
push dword [esp + 0x30]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.0041eb70
cmp dword [esp + 0x28], 8
jb 0x41dfcc
push dword [esp + 0x14]
call fcn.00459190
add esp, 4
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x50]
push eax
call fcn.0041f420
lea ecx, [esp + 0x2c]
call fcn.0042a1f0
mov edi, eax
add esp, 0x18
lea eax, [esp + 0x30]
cmp eax, edi
je 0x41e03b
cmp dword [esp + 0x44], 8
jb 0x41e01a
push dword [esp + 0x30]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.0041eb70
cmp dword [esp + 0x28], 8
jb 0x41e04e
push dword [esp + 0x14]
call fcn.00459190
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x1c]
push eax
lea ecx, [esp + 0x3c]
call fcn.0041e750
sub esp, 0x18
xor eax, eax
mov ecx, esp
push 0xffffffffffffffff
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push eax
mov word [ecx], ax
lea eax, [esp + 0x50]
push eax
call fcn.0041f420
lea ecx, [esp + 0x2c]
call fcn.0042a1f0
mov edi, eax
add esp, 0x18
lea eax, [esp + 0x30]
cmp eax, edi
je 0x41e0ce
cmp dword [esp + 0x44], 8
jb 0x41e0ad
push dword [esp + 0x30]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [esp + 0x44], 7
push edi
lea ecx, [esp + 0x34]
mov dword [esp + 0x44], 0
mov word [esp + 0x34], ax
call fcn.0041eb70
cmp dword [esp + 0x28], 8
jb 0x41e0e1
push dword [esp + 0x14]
call fcn.00459190
add esp, 4
lea eax, [esp + 0x30]
mov ecx, esi
push eax
call fcn.0041ebd0
cmp dword [esp + 0x44], 8
jb 0x41e100
push dword [esp + 0x30]
call fcn.00459190
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret 4
Function at 0x41e540
Capabilities:
Check mutex on windows
Print debug messages

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x547d9b
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x5876e0]
xor eax, esp
mov dword [esp + 0x34c], eax
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, esp
push eax
lea eax, [esp + 0x360]
mov dword fs:[0], eax
mov edi, ecx
call fcn.004f45bd
push 0
lea eax, [edi + 0x148]
push eax
lea eax, [edi + 0x158]
push eax
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.004f5021
mov ecx, dword [eax + 8]
call fcn.00438e50
lea ecx, [edi + 0xcc]
call fcn.0041e130
test al, al
je 0x41e661
mov eax, dword [0x5a2aa4]
test al, 1
jne 0x41e5e4
or eax, 1
mov dword [0x5a2aa8], 0
push 0x554350
mov dword [0x5a2aa4], eax
call fcn.005097cf
add esp, 4
push str.Global8F73AE43_ED44_47DB_9DD5_9D1551C4308E
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [0x5a2aa8], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
cmp esi, 0xb7
je 0x41e60d
cmp esi, 5
jne 0x41e618
push str.Singleton_App:_App_Is_Already_Running__n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test esi, esi
jne 0x41e661
push 0x344
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00509d10
add esp, 8
lea ecx, [esp + 0x10]
call fcn.0041fdc0
lea eax, [esp + 0xc]
mov dword [esp + 0x368], esi
mov ecx, eax
mov dword [edi + 0x20], eax
call fcn.004f55f9
lea ecx, [esp + 0xc]
mov dword [esp + 0x368], 0xffffffff
call fcn.0041fe80
xor eax, eax
mov ecx, dword [esp + 0x360]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x34c]
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x421f50
Capabilities:
Create a process with modified i/o handles and window
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548453
mov eax, dword fs:[0]
push eax
sub esp, 0x680
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
lea eax, [ebp - 0x674]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.00509d10
xor eax, eax
mov dword [ebp - 0x678], 0x44
push 0x5a25e8
mov edx, 0x563458
mov word [ebp - 0x648], ax
lea ecx, [ebp - 0x630]
mov dword [ebp - 0x64c], 0x101
call fcn.0041e820
xor eax, eax
mov byte [ebp - 4], 1
push 0x3fe
push eax
mov word [ebp - 0x618], ax
lea eax, [ebp - 0x616]
push eax
call fcn.00509d10
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
call fcn.00509d10
push 0x1ff
push 0x5634a8
lea eax, [ebp - 0x618]
push 0x200
push eax
call fcn.00509b5e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x618]
push 0x200
push eax
call fcn.00509c1c
add esp, 0x44
lea eax, [ebp - 0x618]
push 0x5634ac
push 0x200
push eax
call fcn.00509c1c
cmp dword [ebp - 0x61c], 8
lea eax, [ebp - 0x630]
cmovae eax, dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x618]
push 0x200
push eax
call fcn.00509c1c
cmp dword [0x5a25fc], 8
mov eax, 0x5a25e8
push 0x103
cmovae eax, dword [0x5a25e8]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00509b5e
add esp, 0x28
lea eax, [ebp - 0x688]
push eax
lea eax, [ebp - 0x678]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x20
push 1
push 0
push 0
lea eax, [ebp - 0x618]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4220ee
push 0xb
push 0x5634b4
lea ecx, [esi + 0x328]
call fcn.0041f830
xor bl, bl
jmp 0x4220fe
push 0xffffffffffffffff
push dword [ebp - 0x688]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov bl, 1
cmp dword [ebp - 0x61c], 8
jb 0x422115
push dword [ebp - 0x630]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [ebp - 0x61c], 7
cmp dword [ebp + 0x1c], 8
mov dword [ebp - 0x620], 0
mov word [ebp - 0x630], ax
jb 0x422143
push dword [ebp + 8]
call fcn.00459190
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret 0x18

Function at 0x422460
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
movzx eax, ax
mov dword [ebp + 8], eax
pop ebp
jmp fcn.004f52e6
Function at 0x4239d0
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x548cc0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 4], 1
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
push 0x81
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
je 0x423a86
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x423a86
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x423a86
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x423a86
cmp dword [ebp + 0x34], 8
lea ecx, [ebp + 0x20]
push 0
cmovae ecx, dword [ebp + 0x20]
push 0
push 2
push 0
push 0
push 0x40000000
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push 0
mov esi, eax
lea eax, [ebp - 0x14]
push eax
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
test eax, eax
jne 0x423adc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x423a99
push dword [ebp + 8]
call fcn.00459190
add esp, 4
xor eax, eax
mov dword [ebp + 0x1c], 7
cmp dword [ebp + 0x34], 8
mov dword [ebp + 0x18], 0
mov word [ebp + 8], ax
jb 0x423abe
push dword [ebp + 0x20]
call fcn.00459190
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
sub esp, 0x18
lea eax, [ebp + 0x20]
mov ecx, esp
push eax
call fcn.0041f2c0
call fcn.00429800
add esp, 0x18
mov bl, al
jmp 0x423a88

Function at 0x423b00
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x20]
cmp dword [ebp + 0x1c], 0x10
push ebx
push esi
mov dword [ebp - 4], eax
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x24]
push eax
push 0x89
push edi
mov dword [ebp - 8], edx
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebx, eax
test ebx, ebx
je 0x423b7d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, eax
test esi, esi
je 0x423b7d
cmp dword [ebp - 8], 0
jne 0x423b50
mov eax, dword [ebp - 4]
mov bl, 1
mov dword [eax], esi
jmp 0x423b7f
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x423b7d
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
je 0x423b7d
push esi
push eax
mov eax, dword [ebp - 4]
push dword [eax]
push dword [ebp - 8]
call fcn.00509c88
add esp, 0x10
mov bl, 1
jmp 0x423b7f
xor bl, bl
cmp dword [ebp + 0x1c], 0x10
jb 0x423b90
push dword [ebp + 8]
call fcn.00459190
add esp, 4
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x424470
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54911a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 8]
push 0
mov dword [ebp - 0x18], esi
call fcn.0053035f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x424516
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00522a86
push 0x5844c4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0050ccb5
push edi
push esi
call fcn.0052d1ed
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret 4

Function at 0x424540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54911a
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov edi, dword [ebp + 0xc]
push 0
mov dword [ebp - 0x18], esi
call fcn.0053035f
mov dword [ebp - 4], 0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov byte [esi + 0x10], 0
xor eax, eax
mov dword [esi + 0x14], 0
mov word [esi + 0x18], ax
mov dword [esi + 0x1c], eax
mov word [esi + 0x20], ax
mov dword [esi + 0x24], eax
mov byte [esi + 0x28], al
mov dword [esi + 0x2c], eax
mov byte [esi + 0x30], al
mov byte [ebp - 4], 6
test edi, edi
jne 0x4245e6
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], str.bad_locale_name
push eax
lea ecx, [ebp - 0x24]
call fcn.00522a86
push 0x5844c4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], vtable.std::runtime_error.0
push eax
call fcn.0050ccb5
push edi
push 0x3f
push esi
call fcn.0052ef03
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret 8

Function at 0x426020
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [ebp + 8]
mov ecx, 0
sub esi, edi
je 0x426051
lea esp, [esp]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x426040
pop edi
mov eax, edx
pop esi
pop ebp
ret 8
Function at 0x426cb0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
mov ecx, 0
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, 0x811c9dc5
sub edx, edi
sar edx, 1
add edx, edx
je 0x426ce1
lea ecx, [ecx]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, edx
jb 0x426cd0
pop edi
mov eax, esi
pop esi
pop ebp
ret 8
Function at 0x426fb0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x549b30
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x5876e0]
xor eax, esp
mov dword [esp + 0x28], eax
push ebx
push esi
push edi
mov eax, dword [0x5876e0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
xor eax, eax
mov byte [esp + 0x30], 0
lea ecx, [esp + 0x18]
mov dword [esp + 0x31], eax
mov word [esp + 0x35], ax
mov byte [esp + 0x37], al
call fcn.00428c60
mov dword [esp + 0x48], 0
xor ebx, ebx
mov edi, 0x41
push edi
lea eax, [esp + 0x34]
push str._c:_
push eax
call fcn.00428720
sub esp, 0xc
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x48], 0
jne 0x427044
xor ecx, ecx
jmp 0x427059
lea ecx, [esp + 0x48]
lea esi, [ecx + 1]
jmp 0x427050
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427050
sub ecx, esi
push ecx
lea eax, [esp + 0x4c]
mov ecx, edx
push eax
call fcn.0041f160
call fcn.0042c1d0
add esp, 0x18
test al, al
jne 0x4271a1
sub esp, 0x18
mov edx, esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], al
cmp byte [esp + 0x48], al
jne 0x427095
xor ecx, ecx
jmp 0x4270a9
lea ecx, [esp + 0x48]
lea esi, [ecx + 1]
lea esp, [esp]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4270a0
sub ecx, esi
push ecx
lea eax, [esp + 0x4c]
mov ecx, edx
push eax
call fcn.0041f160
call fcn.00427460
add esp, 0x18
cmp eax, 4
je 0x4271a1
lea eax, [esp + 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 3
jne 0x4271a1
sub esp, 0x18
mov esi, esp
mov dword [esp + 0x28], esp
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov ecx, dword [esi + 0x14]
cmp ecx, 0x10
jb 0x427101
mov eax, dword [esi]
jmp 0x427103
mov eax, esi
lea edx, [esp + 0x48]
cmp edx, eax
jb 0x427141
cmp ecx, 0x10
jb 0x427114
mov edx, dword [esi]
jmp 0x427116
mov edx, esi
mov eax, dword [esi + 0x10]
add eax, edx
lea edx, [esp + 0x48]
cmp eax, edx
jbe 0x427141
cmp ecx, 0x10
jb 0x42712c
mov ecx, dword [esi]
jmp 0x42712e
mov ecx, esi
push 1
lea eax, [esp + 0x4c]
sub eax, ecx
mov ecx, esi
push eax
push esi
call fcn.0041eda0
jmp 0x427177
cmp ecx, 1
jae 0x427152
push dword [esi + 0x10]
mov ecx, esi
push 1
call fcn.0041ef00
cmp dword [esi + 0x14], 0x10
jb 0x42715c
mov ecx, dword [esi]
jmp 0x42715e
mov ecx, esi
mov al, byte [esp + 0x48]
mov byte [ecx], al
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], 1
jb 0x427173
mov esi, dword [esi]
mov byte [esi + 1], 0
sub esp, 0x18
mov byte [esp + 0x78], 1
mov eax, esp
lea ecx, [esp + 0x48]
push 1
push 0
push eax
call fcn.00423380
mov byte [esp + 0x78], 0
call fcn.004254d0
add esp, 0x30
test al, al
jne 0x4271a1
inc ebx
inc edi
cmp edi, 0x5a
jle 0x427013
cmp dword [esp + 0x2c], 0x10
jb 0x4271be
push dword [esp + 0x18]
call fcn.00459190
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x28]
xor ecx, esp
call fcn.0050904e
mov esp, ebp
pop ebp
ret
Function at 0x4271e0
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549b70
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x42722a
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
jmp 0x4272bc
push 1
push 0
lea eax, [ebp - 0x60]
push eax
lea ecx, [ebp + 8]
call fcn.00423380
push 0x5689a4
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004266a0
add esp, 4
cmp dword [ebp - 0x4c], 0x10
jb 0x427261
push dword [ebp - 0x60]
call fcn.00459190
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x38]
push ecx
lea ecx, [ebp - 0x40]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExA]
test eax, eax
je 0x42728b
mov edi, dword [ebp - 0x30]
mov esi, dword [ebp - 0x2c]
jmp 0x427299
xorps xmm0, xmm0
movlpd qword [ebp - 0x48], xmm0
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x48]
cmp dword [ebp - 0x14], 0x10
jb 0x4272aa
push dword [ebp - 0x28]
call fcn.00459190
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x4272cd
push dword [ebp + 8]
call fcn.00459190
add esp, 4
mov edx, esi
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret

Function at 0x4272f0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x549bb0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5876e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
cmp dword [ebp + 0x18], 0
jne 0x42732a
xor bl, bl
jmp 0x42739c
push 1
push 0
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp + 8]
call fcn.00423380
push 0x5689b8
mov edx, eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.004266a0
add esp, 4
cmp dword [ebp - 0x2c], 0x10
jb 0x427361
push dword [ebp - 0x40]
call fcn.00459190
add esp, 4
cmp dword [ebp - 0x14], 0x10
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 5
sete bl
cmp dword [ebp - 0x14], 0x10
jb 0x42738a
push dword [ebp - 0x28]
call fcn.00459190
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp + 0x1c], 0x10
jb 0x4273ad
push dword [ebp + 8]
call fcn.00459190
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0050904e
mov esp, ebp
pop ebp
ret