joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4043c0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x424
mov eax, dword [0x44baf8]
xor eax, esp
mov dword [esp + 0x420], eax
push ebx
push ebp
push esi
push edi
xor ebx, ebx
push 0xfe
lea eax, [esp + 0x35]
push ebx
push eax
mov esi, ecx
mov edi, 1
mov dword [esp + 0x1c], ebx
mov byte [esp + 0x3c], bl
call fcn.004255e0
push 0xfe
lea ecx, [esp + 0x241]
push ebx
push ecx
mov byte [esp + 0x248], bl
call fcn.004255e0
mov ecx, dword [esi + 8]
xor eax, eax
add esp, 0x18
mov dword [esp + 0x24], 0x5c3a58
mov dword [esp + 0x28], eax
mov word [esp + 0x2c], ax
call fcn.004011b0
mov byte [esp + 0x24], al
call fcn.00403b30
cmp al, 0x13
je 0x404467
push 0xff
lea edx, [esp + 0x234]
push edx
push ebx
push ebx
lea eax, [esp + 0x30]
push eax
push 0xff
lea ecx, [esp + 0x48]
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
mov ecx, dword [esi + 8]
call fcn.004011a0
mov ebp, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [esp + 0x14], eax
lea esp, [esp]
push ebx
mov ecx, esi
call fcn.00404310
call fcn.00403b30
cmp al, 0x12
je 0x4044db
call fcn.00403b30
cmp al, 0x13
je 0x4044a5
push 0x5dc
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [esp + 0x14]
push ebx
lea eax, [esp + 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x90020
push ecx
call ebp
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edi, eax
mov eax, dword [edx + 0x18]
call eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov ecx, dword [esi + 8]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esi + 0xc]
push eax
call edx
push 0xfe
lea eax, [esp + 0x135]
push ebx
push eax
mov byte [esp + 0x13c], bl
call fcn.004255e0
push 0xfe
lea ecx, [esp + 0x341]
push ebx
push ecx
mov byte [esp + 0x348], bl
call fcn.004255e0
add esp, 0x18
call fcn.00403b30
cmp al, 0x13
je 0x404547
push 0xff
lea edx, [esp + 0x334]
push edx
push ebx
push ebx
lea eax, [esp + 0x2c]
push eax
push 0xff
lea ecx, [esp + 0x148]
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationA]
call fcn.00403b30
cmp al, 0x13
je 0x4045bc
lea ecx, [esp + 0x30]
lea eax, [esp + 0x130]
jmp 0x404560
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x404580
cmp dl, bl
je 0x40457c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x404580
add eax, 2
add ecx, 2
cmp dl, bl
jne 0x404560
xor eax, eax
jmp 0x404585
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
jne 0x4045a1
mov eax, dword [esp + 0x10]
mov ecx, eax
inc eax
cmp ecx, 6
mov dword [esp + 0x10], eax
jge 0x4045a1
cmp edi, ebx
je 0x404480
mov eax, edi
mov ecx, dword [esp + 0x430]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004255c8
add esp, 0x424
ret
mov eax, 1
jmp 0x4045a3
Function at 0x4096b5
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ecx
mov dword [edi + 0x58], ebx
test ebx, 0xffff0000
jne 0x4096d9
cmp dword [edi + 0x54], 0
jne 0x4096d9
movzx eax, bx
mov dword [edi + 0x54], eax
call fcn.004135d4
mov esi, dword [eax + 0xc]
push 5
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push esi
push dword [ebp + 0xc]
mov ebx, eax
push ebx
mov ecx, edi
call fcn.00409676
push ebx
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x40a109
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x43a362
call fcn.00426aab
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x40a12e
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x40a174
lea ecx, [ebp - 0x10]
call fcn.004015e0
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0040839b
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.00401290
mov eax, esi
call fcn.00426b83
ret 8

Function at 0x40fa5b
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor ebx, ebx
xor edi, edi
mov dword [ebp - 4], ecx
cmp dword [ebp + 8], ebx
je 0x40faa2
call fcn.004135d4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 8]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x40faa2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
test ebx, ebx
je 0x40fabe
push ebx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.0040f5d5
mov esi, eax
test edi, edi
je 0x40fabc
test ebx, ebx
je 0x40fabc
push ebx
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x4122fe
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
xor ebx, ebx
push esi
push edi
mov edi, ecx
mov dword [ebp - 4], ebx
cmp dword [ebp + 0xc], ebx
je 0x412346
call fcn.004135d4
mov esi, dword [eax + 0xc]
push 0xf0
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x412346
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 4], eax
test eax, eax
je 0x412389
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
mov esi, dword [ebp + 8]
mov dword [ebp + 0xc], 1
test ebx, ebx
je 0x412372
push dword [ebp + 0x10]
mov eax, dword [edi]
push ebx
push esi
mov ecx, edi
call dword [eax + 0x20]
cmp dword [ebp - 4], 0
mov dword [ebp + 0xc], eax
je 0x412372
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
cmp dword [esi + 0x4c], 0
je 0x412386
mov ecx, dword [esi + 0x4c]
push dword [ebp + 0x10]
mov eax, dword [ecx]
call dword [eax + 0xa0]
mov eax, dword [ebp + 0xc]
pop edi
pop esi
pop ebx
leave
ret 0xc

Function at 0x4255c8
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x44baf8]
jne 0x4255d2
repz ret
jmp fcn.0042d8fc
Function at 0x434e22
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.0042b876
and dword [ebp - 4], 0
cmp dword [0x44fa24], 0
mov ebx, eax
jne 0x434ed3
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x434f84
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x440fb8
push edi
call esi
test eax, eax
je 0x434f84
push eax
call fcn.0042b804
mov dword [esp], 0x440fa8
push edi
mov dword [0x44fa24], eax
call esi
push eax
call fcn.0042b804
mov dword [esp], 0x440f94
push edi
mov dword [0x44fa28], eax
call esi
push eax
call fcn.0042b804
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x44fa2c], eax
call esi
push eax
call fcn.0042b804
pop ecx
mov dword [0x44fa34], eax
test eax, eax
je 0x434ed3
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.0042b804
pop ecx
mov dword [0x44fa30], eax
mov eax, dword [0x44fa30]
cmp eax, ebx
je 0x434f2b
cmp dword [0x44fa34], ebx
je 0x434f2b
push eax
call fcn.0042b87f
push dword [0x44fa34]
mov esi, eax
call fcn.0042b87f
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x434f2b
test edi, edi
je 0x434f2b
call esi
test eax, eax
je 0x434f22
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x434f22
test byte [ebp - 0xc], 1
jne 0x434f2b
or dword [ebp + 0x10], 0x200000
jmp 0x434f64
mov eax, dword [0x44fa28]
cmp eax, ebx
je 0x434f64
push eax
call fcn.0042b87f
pop ecx
test eax, eax
je 0x434f64
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x434f64
mov eax, dword [0x44fa2c]
cmp eax, ebx
je 0x434f64
push eax
call fcn.0042b87f
pop ecx
test eax, eax
je 0x434f64
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44fa24]
call fcn.0042b87f
pop ecx
test eax, eax
je 0x434f84
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x434f86
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4282a0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17000]
push edi
jmp 0x4282ba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4282c1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4282b0
mov eax, 1
add ebx, ebx
jne 0x4282d3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4282c8
jne 0x4282e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4282c8
xor ecx, ecx
sub eax, 3
jb 0x4282f8
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x42836a
mov ebp, eax
add ebx, ebx
jne 0x428303
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x428310
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x428334
inc ecx
add ebx, ebx
jne 0x428320
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x428315
jne 0x428331
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x428315
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x428354
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x428345
jmp 0x4282b6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x428354
add edi, ecx
jmp 0x4282b6
pop esi
mov edi, esi
mov ecx, 0x115
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x428372
cmp byte [edi], 3
jne 0x428372
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x428377
lea edi, [esi + 0x26000]
mov eax, dword [edi]
or eax, eax
je 0x4283e6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x28000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x280c4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4283a4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x280cc]
or eax, eax
je 0x4283e0
mov dword [ebx], eax
add ebx, 4
jmp 0x4283c1
call dword [esi + 0x280c8]
mov ebp, dword [esi + 0x280d0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x1ef]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x42841a
sub esp, 0xffffff80
jmp 0x409ac0

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
pop eax
nop
nop
add eax, 0x40a063
nop
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43301e
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x4069c5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x4069e9
xor eax, eax
test eax, eax
je 0x4069fc
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x4069fc
xor ecx, ecx
jmp 0x4069ff
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b22
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x427dec], 0
push esi
jne 0x406b59
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b33
mov dword [ecx*4 + 0x427de8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b2e
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406b8a
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x427de8]
xor eax, esi
inc ecx
dec edx
jne 0x406b6c
pop edi
not eax
pop esi
ret 0xc

Function at 0x405d9a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x42c574], 0
push esi
jne 0x405dd1
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405dab
mov dword [ecx*4 + 0x42c570], eax
inc ecx
cmp ecx, 0x100
jl 0x405da6
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405e02
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x42c570]
xor eax, esi
inc ecx
dec edx
jne 0x405de4
pop edi
not eax
pop esi
ret 0xc
Function at 0x5780f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x116000]
push edi
or ebp, 0xffffffff
jmp 0x578112
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x578119
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x578108
mov eax, 1
add ebx, ebx
jne 0x57812b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x57813c
jne 0x57815b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57815b
dec eax
add ebx, ebx
jne 0x578148
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x578120
add ebx, ebx
jne 0x578157
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5781ad
xor ecx, ecx
sub eax, 3
jb 0x578173
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5781e2
sar eax, 1
mov ebp, eax
jmp 0x57817e
add ebx, ebx
jne 0x57817e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57814c
inc ecx
add ebx, ebx
jne 0x57818c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x57814c
add ebx, ebx
jne 0x578199
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x57818e
jne 0x5781aa
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x57818e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5781cc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5781be
jmp 0x57810e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5781cc
add edi, ecx
jmp 0x57810e
pop esi
mov edi, esi
mov ecx, 0x7b7b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5781ea
cmp byte [edi], 0x31
jne 0x5781ea
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5781ef
lea edi, [esi + 0x176000]
mov eax, dword [edi]
or eax, eax
je 0x578267
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1788f8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x178970]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x57821c
mov ecx, edi
jns 0x57824b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x178974]
or eax, eax
je 0x578261
mov dword [ebx], eax
add ebx, 4
jmp 0x578239
call dword [esi + 0x178978]
popal
jmp 0x4d9fdf
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x427008]
jne 0x40100a
repz ret
jmp fcn.00401bf2

Function at 0x4068d0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.004037b4
and dword [ebp - 4], 0
cmp dword [0x429240], 0
mov ebx, eax
jne 0x406981
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406a32
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406a32
push eax
call fcn.00403742
mov dword [esp], 0x4252e4
push edi
mov dword [0x429240], eax
call esi
push eax
call fcn.00403742
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x429244], eax
call esi
push eax
call fcn.00403742
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x429248], eax
call esi
push eax
call fcn.00403742
pop ecx
mov dword [0x429250], eax
test eax, eax
je 0x406981
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00403742
pop ecx
mov dword [0x42924c], eax
mov eax, dword [0x42924c]
cmp eax, ebx
je 0x4069d9
cmp dword [0x429250], ebx
je 0x4069d9
push eax
call fcn.004037bd
push dword [0x429250]
mov esi, eax
call fcn.004037bd
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x4069d9
test edi, edi
je 0x4069d9
call esi
test eax, eax
je 0x4069d0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4069d0
test byte [ebp - 0xc], 1
jne 0x4069d9
or dword [ebp + 0x10], 0x200000
jmp 0x406a12
mov eax, dword [0x429244]
cmp eax, ebx
je 0x406a12
push eax
call fcn.004037bd
pop ecx
test eax, eax
je 0x406a12
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406a12
mov eax, dword [0x429248]
cmp eax, ebx
je 0x406a12
push eax
call fcn.004037bd
pop ecx
test eax, eax
je 0x406a12
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x429240]
call fcn.004037bd
pop ecx
test eax, eax
je 0x406a32
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406a34
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4235d0
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x408
mov eax, dword [0x427008]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x51ede4]
push ebx
push esi
mov esi, dword [0x51ec2c]
mov ebx, eax
cmp eax, 0x5dd
jne 0x42360d
push 0
lea eax, [ebp - 0x404]
push eax
push str.gepavexovaxajay_yatejusiwovogoyo
call dword [sym.imp.KERNEL32.dll_QueryDosDeviceA]
mov eax, dword [0x427ff0]
call fcn.004234b0
cmp dword [0x51ede4], 0x2f
jne 0x423628
push 0
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
push esi
call fcn.004234f0
add esp, 4
cmp dword [0x51ede4], 0x568
pop esi
pop ebx
jne 0x42365a
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
mov ecx, dword [ebp - 0x408]
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_GetNumaProcessorNode]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00401000
mov esp, ebp
pop ebp
ret
Function at 0x611940
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x553015
lea edi, [esi - 0x152015]
mov dword [edi + 0x1eb980], 0x57f8f4
push edi
or ebp, 0xffffffff
jmp 0x61196a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x611971
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x611960
mov eax, 1
add ebx, ebx
jne 0x611983
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x611994
jne 0x6119b3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6119b3
dec eax
add ebx, ebx
jne 0x6119a0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x611978
add ebx, ebx
jne 0x6119af
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x611a05
xor ecx, ecx
sub eax, 3
jb 0x6119cb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x611a3a
sar eax, 1
mov ebp, eax
jmp 0x6119d6
add ebx, ebx
jne 0x6119d6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6119a4
inc ecx
add ebx, ebx
jne 0x6119e4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x6119a4
add ebx, ebx
jne 0x6119f1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x6119e6
jne 0x611a02
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x6119e6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x611a24
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x611a16
jmp 0x611966
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x611a24
add edi, ecx
jmp 0x611966
pop esi
mov edi, esi
mov ecx, 0xd564
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x611a42
cmp byte [edi], 0x24
jne 0x611a42
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x611a47
lea edi, [esi + 0x20f000]
mov eax, dword [edi]
or eax, eax
je 0x611ab6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x211000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x211050]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x611a74
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x211054]
or eax, eax
je 0x611ab0
mov dword [ebx], eax
add ebx, 4
jmp 0x611a91
call dword [esi + 0x211064]
mov ebp, dword [esi + 0x211058]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x211b11]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x611b02
sub esp, 0xffffff80
jmp 0x40126c
Function at 0x402aa0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004040fc
test esi, esi
jne 0x402ad6
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004041ec
jmp 0x402af4
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029b4
mov edi, eax
test esi, esi
je 0x402af4
cmp dword [ebx], 0
je 0x402af4
dec esi
jmp 0x402add
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403234
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x484020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4032cc
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4032ac
xor eax, eax
push ebp
push 0x4032a5
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4032e8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032ac
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x484020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x484020], ax
mov esp, ebp
pop ebp
ret

Function at 0x403f80
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x48704c], 0
je 0x403fe1
cmp word [0x487220], 0xd7b2
jne 0x403fa9
cmp dword [0x487228], 0
jbe 0x403fa9
mov eax, 0x48721c
call dword [0x487238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x48406c
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x404008
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x484030], 0
jne 0x403ffd
push 0
push 0x484064
push 0x48406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret