joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4112b0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xb0
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push ebx
push esi
push edi
lea ebx, [ecx + 1]
mov ecx, 7
mov esi, edx
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
lea esi, [edx + 0x1c]
mov ecx, 7
lea edi, [ebp - 0xac]
rep movsd dword es:[edi], dword [esi]
xor edi, edi
mov byte [ebp - 0x3c], 0
mov dword [ebp - 0x3b], eax
mov dword [ebp - 0x37], eax
mov dword [ebp - 0x33], eax
mov dword [ebp - 0x2f], eax
mov dword [ebp - 0x2b], eax
mov dword [ebp - 0x27], eax
mov word [ebp - 0x23], ax
mov byte [ebp - 0x21], al
mov byte [ebp - 0x20], al
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov dword [ebp - 0xb], eax
mov word [ebp - 7], ax
mov byte [ebp - 5], al
mov dword [ebp - 0xb0], edi
jmp 0x411336
mov edi, dword [ebp - 0xb0]
movsx esi, byte [edi + 0x4335e0]
mov eax, 0x1c
sub eax, esi
push eax
lea ecx, [ebp + esi - 0x90]
push ecx
lea edx, [ebp - 0x3c]
push edx
call fcn.0041c550
push esi
lea eax, [ebp - 0x90]
lea ecx, [ebp - 0x20]
push eax
sub ecx, esi
push ecx
call fcn.0041c550
movsx esi, byte [edi + 0x4335e0]
mov edx, 0x1c
sub edx, esi
push edx
lea eax, [ebp + esi - 0xac]
push eax
lea ecx, [ebp - 0x20]
push ecx
call fcn.0041c550
push esi
lea edx, [ebp - 0xac]
lea eax, [ebp - 4]
push edx
sub eax, esi
push eax
call fcn.0041c550
push 0x37
lea ecx, [ebp - 0x73]
push 0
push ecx
call fcn.0041c1a0
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x74]
rep movsd dword es:[edi], dword [esi]
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0x58]
add esp, 0x3c
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x4113d0
movsx edx, byte [eax + 0x4335b0]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax - 1], cl
movsx edx, byte [eax + 0x4335b1]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax], cl
movsx edx, byte [eax + 0x4335b2]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 1], cl
movsx edx, byte [eax + 0x4335b3]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 2], cl
movsx edx, byte [eax + 0x4335b4]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 3], cl
movsx edx, byte [eax + 0x4335b5]
movzx ecx, byte [ebp + edx - 0x75]
mov byte [ebx + eax + 4], cl
add eax, 6
cmp eax, 0x30
jl 0x4113d0
mov eax, dword [ebp - 0xb0]
mov ecx, 7
lea esi, [ebp - 0x3c]
lea edi, [ebp - 0x90]
rep movsd dword es:[edi], dword [esi]
inc eax
mov ecx, 7
lea esi, [ebp - 0x20]
lea edi, [ebp - 0xac]
add ebx, 0x30
rep movsd dword es:[edi], dword [esi]
mov dword [ebp - 0xb0], eax
cmp eax, 0x10
jl 0x411330
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cd4
mov esp, ebp
pop ebp
ret
Function at 0x411490
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
mov esi, ecx
lea ecx, [ebp - 0x43]
push ebx
push ecx
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0x44], bl
call fcn.0041c1a0
push 0x3f
lea edx, [ebp - 0xe3]
push ebx
push edx
mov byte [ebp - 0xe4], bl
call fcn.0041c1a0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
call fcn.0041c1a0
add esp, 0x24
xor eax, eax
jmp 0x4114f0
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x45], dl
cmp eax, 0x40
jb 0x4114f0
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0x44]
call fcn.00411b60
mov ecx, 8
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xc4]
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xa4]
push eax
mov ecx, esi
lea ebx, [ebp - 0x24]
call fcn.00411900
inc esi
cmp esi, 0x10
jl 0x411543
mov ecx, 8
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, ebx
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
movsx ecx, byte [eax + 0x433880]
movzx edx, byte [ebp + ecx - 0x85]
mov ecx, dword [ebp - 0xe8]
mov byte [ecx + eax + 0x600], dl
movsx edx, byte [eax + 0x433881]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x601], dl
movsx edx, byte [eax + 0x433882]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x602], dl
movsx edx, byte [eax + 0x433883]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x603], dl
add eax, 4
cmp eax, 0x40
jl 0x411581
xor eax, eax
mov esi, ecx
mov dword [esi + 0x680], eax
mov dword [esi + 0x684], eax
mov eax, 1
lea esp, [esp]
lea ecx, [eax - 1]
shr ecx, 3
lea edi, [ecx + esi + 0x680]
lea edx, [eax - 1]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x5ff]
shl dl, cl
mov ecx, eax
shr ecx, 3
or byte [edi], dl
lea edi, [ecx + esi + 0x680]
mov edx, eax
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x600]
shl dl, cl
or byte [edi], dl
lea edx, [eax + 1]
mov ecx, edx
shr ecx, 3
lea edi, [ecx + esi + 0x680]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x601]
shl dl, cl
or byte [edi], dl
lea edx, [eax + 2]
mov ecx, edx
shr ecx, 3
lea edi, [ecx + esi + 0x680]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x602]
shl dl, cl
add eax, 4
lea ecx, [eax - 1]
or byte [edi], dl
cmp ecx, 0x40
jb 0x411600
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cd4
mov esp, ebp
pop ebp
ret 4
Function at 0x4116c0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor ebx, ebx
push 0x3f
mov esi, ecx
lea ecx, [ebp - 0x43]
push ebx
push ecx
mov dword [ebp - 0xe8], eax
mov byte [ebp - 0x44], bl
call fcn.0041c1a0
push 0x3f
lea edx, [ebp - 0xe3]
push ebx
push edx
mov byte [ebp - 0xe4], bl
call fcn.0041c1a0
push 0x3f
lea eax, [ebp - 0x83]
push ebx
push eax
call fcn.0041c1a0
add esp, 0x24
xor eax, eax
jmp 0x411720
mov ecx, eax
shr ecx, 3
movsx edx, byte [ecx + esi]
mov ecx, eax
and ecx, 7
shl edx, cl
inc eax
sar edx, 7
and dl, 1
mov byte [ebp + eax - 0x45], dl
cmp eax, 0x40
jb 0x411720
lea eax, [ebp - 0xe4]
lea ecx, [ebp - 0x44]
call fcn.00411b60
mov ecx, 8
lea esi, [ebp - 0xe4]
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
lea esi, [ebp - 0xc4]
lea edi, [ebp - 0xa4]
rep movsd dword es:[edi], dword [esi]
xor esi, esi
mov edx, dword [ebp - 0xe8]
lea eax, [ebp - 0xa4]
mov ecx, 0xf
sub ecx, esi
push eax
lea ebx, [ebp - 0x24]
call fcn.00411900
inc esi
cmp esi, 0x10
jl 0x411773
mov ecx, 8
lea esi, [ebp - 0xa4]
lea edi, [ebp - 0x84]
rep movsd dword es:[edi], dword [esi]
mov ecx, 8
mov esi, ebx
lea edi, [ebp - 0x64]
rep movsd dword es:[edi], dword [esi]
xor eax, eax
jmp 0x4117c0
movsx ecx, byte [eax + 0x433880]
movzx edx, byte [ebp + ecx - 0x85]
mov ecx, dword [ebp - 0xe8]
mov byte [ecx + eax + 0x640], dl
movsx edx, byte [eax + 0x433881]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x641], dl
movsx edx, byte [eax + 0x433882]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x642], dl
movsx edx, byte [eax + 0x433883]
movzx edx, byte [ebp + edx - 0x85]
mov byte [ecx + eax + 0x643], dl
add eax, 4
cmp eax, 0x40
jl 0x4117c0
xor eax, eax
mov esi, ecx
mov dword [esi + 0x688], eax
mov dword [esi + 0x68c], eax
mov eax, 1
jmp 0x411840
lea ecx, [eax - 1]
shr ecx, 3
lea edi, [ecx + esi + 0x688]
lea edx, [eax - 1]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x63f]
shl dl, cl
mov ecx, eax
shr ecx, 3
or byte [edi], dl
lea edi, [ecx + esi + 0x688]
mov edx, eax
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x640]
shl dl, cl
or byte [edi], dl
lea edx, [eax + 1]
mov ecx, edx
shr ecx, 3
lea edi, [ecx + esi + 0x688]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x641]
shl dl, cl
or byte [edi], dl
lea edx, [eax + 2]
mov ecx, edx
shr ecx, 3
lea edi, [ecx + esi + 0x688]
and edx, 7
mov ecx, 7
sub ecx, edx
movzx edx, byte [eax + esi + 0x642]
shl dl, cl
add eax, 4
lea ecx, [eax - 1]
or byte [edi], dl
cmp ecx, 0x40
jb 0x411840
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cd4
mov esp, ebp
pop ebp
ret 4
Function at 0x411b60
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, str.:2_
mov edi, 0x4335f1
mov edx, 0x4335f2
mov ebx, 0x4335f3
sub esi, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 0x10
nop
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
add eax, 4
dec dword [ebp - 4]
jne 0x411b90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411be0
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
mov ebx, 0x433633
sub ebx, eax
mov dword [ebp - 8], ebx
push esi
mov ebx, 0x433634
sub ebx, eax
push edi
mov dword [ebp - 0xc], ebx
mov esi, 0x433630
mov edi, 0x433631
mov edx, 0x433632
mov ebx, 0x433635
sub esi, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 8
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
mov ebx, dword [ebp - 0xc]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 4], bl
mov ebx, dword [ebp - 0x10]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 5], bl
add eax, 6
dec dword [ebp - 4]
jne 0x411c23
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411d60
Capabilities:
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
push edi
mov esi, 0x433860
mov edi, 0x433861
mov edx, 0x433862
mov ebx, 0x433863
sub esi, eax
sub edi, eax
sub edx, eax
sub ebx, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 4], 8
nop
movsx ebx, byte [esi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax], bl
movsx ebx, byte [edi + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 1], bl
movsx ebx, byte [edx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 2], bl
mov ebx, dword [ebp - 8]
movsx ebx, byte [ebx + eax]
movzx ebx, byte [ebx + ecx - 1]
mov byte [eax + 3], bl
add eax, 4
dec dword [ebp - 4]
jne 0x411d90
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x412380
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2d10
call fcn.00428290
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi]
cmp dword [ecx - 0xc], 0
lea eax, [ecx - 0x10]
push edi
mov edi, dword [eax]
mov dword [ebp - 0x2d10], esi
je 0x4123fc
cmp dword [eax + 0xc], 0
lea edx, [eax + 0xc]
jge 0x4123d8
cmp dword [ecx - 8], 0
jge 0x4123c8
push 0x80070057
call fcn.00401000
mov dword [ecx - 0xc], 0
mov eax, dword [esi]
xor ecx, ecx
mov word [eax], cx
jmp 0x4123fc
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4123ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [edi]
mov eax, dword [edx + 0xc]
mov ecx, edi
call eax
add eax, 0x10
mov dword [esi], eax
mov ebx, dword [sym.imp.USER32.dll_wsprintfW]
xor edi, edi
push edi
lea ecx, [ebp - 0x204]
push str..PhysicalDrive_d
push ecx
call ebx
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x204]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x41244d
inc edi
cmp edi, 4
jl 0x412404
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418cd4
mov esp, ebp
pop ebp
ret
xor eax, eax
xor edi, edi
mov dword [ebp - 0x2d08], eax
mov dword [ebp - 0x2d04], eax
push 0x2710
mov dword [ebp - 0x2d00], eax
lea eax, [ebp - 0x2cfc]
push edi
push eax
mov dword [ebp - 0x2d0c], edi
mov dword [ebp - 0x2d08], edi
mov dword [ebp - 0x2d04], edi
call fcn.0041c1a0
add esp, 0xc
push edi
lea ecx, [ebp - 0x2d0c]
push ecx
push 0x2710
lea edx, [ebp - 0x2cfc]
push edx
push 0xc
lea eax, [ebp - 0x2d08]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x4124e2
mov eax, dword [ebp - 0x2ce4]
lea edi, [ebp - 0x5ec]
lea ecx, [ebp - 0x2cfc]
call fcn.00410fe0
mov eax, dword [ebp - 0x2d10]
mov ebx, edi
call fcn.00415a80
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cd4
mov esp, ebp
pop ebp
ret
Function at 0x414d90
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
xor eax, eax
push 0x1fe
push eax
lea ecx, [ebp - 0x202]
push ecx
mov word [ebp - 0x204], ax
call fcn.0041c1a0
add esp, 0xc
push 0xf003f
push 0
push 0
mov dword [ebp - 0x224], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov edi, eax
mov eax, dword [ebp + 8]
test edi, edi
jne 0x414e13
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414e00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418cd4
mov esp, ebp
pop ebp
ret 4
lea ecx, [ebp - 0x224]
push ecx
lea edx, [ebp - 0x204]
push edx
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_GetServiceKeyNameW]
test eax, eax
jne 0x414e42
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x414df4
push esi
push 4
lea ecx, [ebp - 0x204]
push ecx
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
test esi, esi
jne 0x414e93
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x414e7f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop esi
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00418cd4
mov esp, ebp
pop ebp
ret 4
xor eax, eax
lea ecx, [ebp - 0x220]
push ecx
push esi
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x20c], eax
mov dword [ebp - 0x208], eax
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov eax, dword [ebp + 8]
xor edx, edx
cmp dword [ebp - 0x21c], 4
sete dl
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov esi, edx
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x414f0a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop edi
call fcn.00418cd4
mov esp, ebp
pop ebp
ret 4
Function at 0x418cd4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x43a050]
jne 0x418cde
repz ret
jmp fcn.0041c21a

Function at 0x42800b
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x43a050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.0041d45a
and dword [ebp - 0x14], 0
cmp dword [0x43c8ac], 0
mov dword [ebp - 0x18], eax
jne 0x4280be
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x428166
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4323e8
push ebx
call edi
test eax, eax
je 0x428166
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x43c8ac], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x43c8b0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x43c8b4], eax
call edi
push eax
call esi
mov dword [0x43c8bc], eax
test eax, eax
je 0x4280be
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x43c8b8], eax
mov eax, dword [0x43c8b8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x428117
cmp dword [0x43c8bc], ecx
je 0x428117
push eax
call esi
push dword [0x43c8bc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x428117
test ebx, ebx
je 0x428117
call edi
test eax, eax
je 0x42810e
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x42810e
test byte [ebp - 8], 1
jne 0x428117
or dword [ebp + 0x10], 0x200000
jmp 0x42814a
mov eax, dword [0x43c8b0]
cmp eax, dword [ebp - 0x18]
je 0x42814a
push eax
call esi
test eax, eax
je 0x42814a
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x42814a
mov eax, dword [0x43c8b4]
cmp eax, dword [ebp - 0x18]
je 0x42814a
push eax
call esi
test eax, eax
je 0x42814a
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x43c8ac]
call esi
test eax, eax
je 0x428166
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x428168
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00418cd4
leave
ret
Function at 0x401010
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov dword [ebp - 4], 0
mov eax, dword [ebp - 4]
add eax, 2
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 3
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 4
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 5
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 6
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 7
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
add eax, 8
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
add ecx, 9
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0xa
mov dword [ebp - 4], edx
push 0x4e20
call dword [sym.imp.KERNEL32.dll_Sleep]
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x427fe5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x452130
cmp edx, dword [eax]
je 0x428007
add eax, 8
inc ecx
cmp eax, 0x4521c0
jl 0x427ff8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x452130]
jne 0x428135
mov eax, dword [0x4524e8]
cmp eax, 1
je 0x42810f
test eax, eax
jne 0x428038
cmp dword [0x452080], 1
je 0x42810f
cmp edx, 0xfc
je 0x428135
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42806f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00428590
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00428700
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x4280b2
lea eax, [ebp - 0x1a4]
push eax
call fcn.00428700
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x42a438
push edi
call fcn.00429390
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00428590
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004285a0
lea eax, [ebp - 0xa0]
push 0x42a418
push eax
call fcn.004285a0
push dword [esi + 0x452134]
lea eax, [ebp - 0xa0]
push eax
call fcn.004285a0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.004292fe
add esp, 0x2c
pop edi
jmp 0x428135
lea eax, [ebp + 8]
lea esi, [esi + 0x452134]
push 0
push eax
push dword [esi]
call fcn.00428700
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 0x4df3f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8a000]
push edi
jmp 0x4df40a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4df411
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df400
mov eax, 1
add ebx, ebx
jne 0x4df423
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4df434
jne 0x4df453
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df453
dec eax
add ebx, ebx
jne 0x4df440
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4df418
add ebx, ebx
jne 0x4df44f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4df4a5
xor ecx, ecx
sub eax, 3
jb 0x4df46b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4df4da
sar eax, 1
mov ebp, eax
jmp 0x4df476
add ebx, ebx
jne 0x4df476
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df444
inc ecx
add ebx, ebx
jne 0x4df484
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4df444
add ebx, ebx
jne 0x4df491
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4df486
jne 0x4df4a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4df486
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4df4c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4df4b6
jmp 0x4df406
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4df4c4
add edi, ecx
jmp 0x4df406
pop esi
mov edi, esi
mov ecx, 0x3ede
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4df4e2
cmp byte [edi], 0x11
jne 0x4df4e2
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 0x4df4e7
lea edi, [esi + 0xd8000]
mov eax, dword [edi]
or eax, eax
je 0x4df55f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xe5858]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xe59d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4df514
mov ecx, edi
jns 0x4df543
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 + 0xe59d8]
or eax, eax
je 0x4df559
mov dword [ebx], eax
add ebx, 4
jmp 0x4df531
call dword [esi + 0xe59e8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x4df590
cmp al, 0xef
ja 0x4df583
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x4df565
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x4df572
mov ebp, dword [esi + 0xe59dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4df5c4
sub esp, 0xffffff80
jmp 0x4276e7