joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10004c30
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
cmp dword [eax + 0x38], 0
je 0x10004c4d
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10004c54
mov al, 1
jmp 0x10004d2f
call fcn.100067a0
push eax
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x14], eax
call fcn.100067a0
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 0x18]
push edx
call fcn.10006800
add esp, 8
movzx eax, al
test eax, eax
je 0x10004c90
xor al, al
jmp 0x10004d2f
mov dword [ebp - 0x20], 0x20
lea ecx, [ebp - 0x1c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 4]
add ecx, 0x40
push ecx
mov edx, dword [ebp - 4]
mov ecx, dword [edx + 0x38]
call fcn.100086a0
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10004ccc
cmp dword [ebp - 8], 1
je 0x10004cd3
cmp dword [ebp - 8], 3
je 0x10004d22
jmp 0x10004d2d
mov eax, dword [ebp - 4]
mov byte [eax + 0x3d], 0
mov ecx, dword [ebp - 0x1c]
lea edx, [ebp - 0x44]
sub ecx, edx
mov dword [ebp - 0xc], ecx
je 0x10004d02
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0xc]
push edx
push 1
lea eax, [ebp - 0x44]
push eax
call fcn.10010650
add esp, 0x10
cmp dword [ebp - 0xc], eax
je 0x10004d02
xor al, al
jmp 0x10004d2f
mov ecx, dword [ebp - 4]
movzx edx, byte [ecx + 0x3d]
test edx, edx
jne 0x10004d16
mov dword [ebp - 0x10], 1
jmp 0x10004d1d
mov dword [ebp - 0x10], 0
mov al, byte [ebp - 0x10]
jmp 0x10004d2f
mov eax, dword [ebp - 4]
mov byte [eax + 0x3d], 0
mov al, 1
jmp 0x10004d2f
xor al, al
mov esp, ebp
pop ebp
ret
Function at 0x100070b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
mov dword [ebp - 8], ecx
call fcn.100067a0
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x1c]
push ecx
call fcn.10006800
add esp, 8
movzx edx, al
test edx, edx
je 0x100070eb
lea eax, [ebp + 8]
push eax
call fcn.10006f60
add esp, 4
jmp 0x10007268
mov ecx, dword [ebp - 8]
call fcn.10007730
test eax, eax
je 0x1000712d
mov ecx, dword [ebp - 8]
call fcn.10007730
mov esi, eax
mov ecx, dword [ebp - 8]
call fcn.100067b0
cmp esi, eax
jae 0x1000712d
lea ecx, [ebp + 8]
push ecx
call fcn.10008260
add esp, 4
mov bl, al
mov ecx, dword [ebp - 8]
call fcn.10005aa0
mov byte [eax], bl
mov eax, dword [ebp + 8]
jmp 0x10007268
mov edx, dword [ebp - 8]
cmp dword [edx + 0x4c], 0
jne 0x10007140
call fcn.100067a0
jmp 0x10007268
mov ecx, dword [ebp - 8]
call fcn.10005b10
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
jne 0x1000718f
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
lea eax, [ebp + 8]
push eax
call fcn.10008260
add esp, 4
movzx ecx, al
push ecx
call fcn.10001ae0
add esp, 8
movzx edx, al
test edx, edx
je 0x1000717f
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], eax
jmp 0x10007187
call fcn.100067a0
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
jmp 0x10007268
mov dword [ebp - 0x28], 0x20
lea ecx, [ebp + 8]
push ecx
call fcn.10008260
add esp, 4
mov byte [ebp - 2], al
lea edx, [ebp - 0x20]
push edx
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 2]
push ecx
mov edx, dword [ebp - 8]
add edx, 0x40
push edx
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x38]
call fcn.10007070
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100071e6
cmp dword [ebp - 0xc], 1
je 0x100071e6
cmp dword [ebp - 0xc], 3
je 0x10007233
jmp 0x10007263
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x4c]
sub ecx, edx
mov dword [ebp - 0x10], ecx
je 0x10007218
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
push 1
lea eax, [ebp - 0x4c]
push eax
call fcn.10010650
add esp, 0x10
cmp dword [ebp - 0x10], eax
je 0x10007218
call fcn.100067a0
jmp 0x10007268
mov ecx, dword [ebp - 8]
mov byte [ecx + 0x3d], 1
lea edx, [ebp - 2]
cmp dword [ebp - 0x24], edx
je 0x1000722c
mov eax, dword [ebp + 8]
jmp 0x10007268
call fcn.100067a0
jmp 0x10007268
mov eax, dword [ebp - 8]
mov ecx, dword [eax + 0x4c]
push ecx
movzx edx, byte [ebp - 2]
push edx
call fcn.10001ae0
add esp, 8
movzx eax, al
test eax, eax
je 0x10007256
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x18], ecx
jmp 0x1000725e
call fcn.100067a0
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
jmp 0x10007268
call fcn.100067a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x100087a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 8], ecx
cmp dword [ebp + 0x10], 0
jg 0x100087c0
jl 0x100087b7
cmp dword [ebp + 0xc], 0
ja 0x100087c0
xor eax, eax
xor edx, edx
jmp 0x100088f7
mov eax, dword [ebp - 8]
cmp dword [eax + 0x38], 0
je 0x100087e2
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 8]
call fcn.10008900
jmp 0x100088f7
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 8]
call fcn.10005110
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jbe 0x10008851
lea ecx, [ebp - 0x14]
push ecx
lea edx, [ebp - 4]
push edx
call fcn.100027a0
add esp, 8
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
push ecx
mov ecx, dword [ebp - 8]
call fcn.10006b80
push eax
mov edx, dword [ebp + 8]
push edx
call fcn.10006420
add esp, 0xc
mov eax, dword [ebp + 8]
add eax, dword [ebp - 0xc]
mov dword [ebp + 8], eax
mov ecx, dword [ebp - 4]
sub ecx, dword [ebp - 0xc]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 0xc]
push edx
mov ecx, dword [ebp - 8]
call fcn.10006a90
mov eax, dword [ebp - 8]
cmp dword [eax + 0x4c], 0
je 0x100088e8
mov ecx, dword [ebp - 8]
call fcn.10005b10
mov dword [ebp - 0x18], 0xfff
cmp dword [ebp - 4], 0xfff
jbe 0x100088c1
mov ecx, dword [ebp - 8]
mov edx, dword [ecx + 0x4c]
push edx
push 0xfff
push 1
mov eax, dword [ebp + 8]
push eax
call fcn.1000ffc9
add esp, 0x10
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 8]
add ecx, dword [ebp - 0x10]
mov dword [ebp + 8], ecx
mov edx, dword [ebp - 4]
sub edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
cmp dword [ebp - 0x10], 0xfff
je 0x100088bf
xor eax, eax
mov ecx, dword [ebp - 0x20]
sub ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x1c]
sbb edx, eax
mov eax, ecx
jmp 0x100088f7
jmp 0x1000886d
cmp dword [ebp - 4], 0
jbe 0x100088e8
mov edx, dword [ebp - 8]
mov eax, dword [edx + 0x4c]
push eax
mov ecx, dword [ebp - 4]
push ecx
push 1
mov edx, dword [ebp + 8]
push edx
call fcn.1000ffc9
add esp, 0x10
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
xor edx, edx
mov eax, dword [ebp - 0x20]
sub eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x1c]
sbb ecx, edx
mov edx, ecx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x100163cf
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10016245

Function at 0x100212b0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100212dd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100212dd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40d8db
Capabilities:
Get system information on windows

Disassembly:
add bh, bh
lea eax, [eax]
jmp dword [sym.imp.kernel32.dll_GetNativeSystemInfo]

Function at 0x42fdb4
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42fec7
push dword fs:[eax]
mov dword fs:[eax], esp
mov di, 0xfff
and di, bx
cmp di, 0x15
ja 0x42fdf5
mov eax, esi
movzx edx, di
mov edx, dword [edx*4 + 0x4e781c]
call 0xff437030
jmp 0x45f07b
cmp bx, 0x100
jne 0x42fe0a
mov eax, esi
mov edx, 0x42fee4
call 0xff437048
jmp 0x42fe86
cmp bx, 0x102
jne 0x42fe1f
mov eax, esi
mov edx, 0x42ff00
call 0xff43705d
jmp 0x42fe86
cmp bx, 0x101
jne 0x42fe34
mov eax, esi
mov edx, 0x42ff28
call 0xff437072
jmp 0x42fe86
lea edx, [ebp - 4]
mov eax, ebx
call fcn.00460c16
test al, al
je 0x42fe64
push esi
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call 0xff434fbc
mov eax, dword [ebp - 8]
mov ecx, 0x7fffffff
mov edx, 2
call 0xff437f22
jmp 0x42fe86
lea ecx, [ebp - 0xc]
movzx eax, di
mov edx, 4
call 0xff44cd48
mov ecx, dword [ebp - 0xc]
mov edx, dword [0x4e9b10]
mov edx, dword [edx]
mov eax, esi
call 0xff437dd6
test bh, 0x20
je 0x42fe99
mov ecx, dword [esi]
mov eax, esi
mov edx, 0x42ff3c
call 0xff437de9
test bh, 0x40
je 0x42feac
mov ecx, dword [esi]
mov eax, esi
mov edx, 0x42ff58
call 0xff437dfc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fece
lea eax, [ebp - 0xc]
mov edx, 2
call 0xff436d86
ret
inc ebp
clc
push eax
push 0x20
call 0xff46bc09
push eax
call 0xff46b9ef
xor eax, eax
push ebp
push 0x45f0c2
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x45f0e0
mov eax, dword [ebp - 8]
call 0xff4bd478
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f0c9
mov eax, dword [ebp - 8]
push eax
call 0xff46bad5
ret
Function at 0x4683e5
Capabilities:
Encode data using xor

Disassembly:
popal
outsb dx, byte [esi]
arpl word [ecx + 0x6e], bp
add byte [bx + si], dl
inc eax
add byte [eax + eax], al
inc dword [eax + eax]
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x530affff], al
push 0x7245776f
jb 0x46847d
jb 0x468483
add byte [eax], dl
inc eax
add byte [ebp], al
add bh, bh
inc ebp
add byte [eax], al
inc dword [ecx]
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], 0
add byte [eax + 0x5311ffff], al
jne 0x46849e
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
invalid
jo 0x46849f
jb 0x4684a6
jae 0x468480
imul esp, dword [ebx + 0x65], 0x6e69736e
push esp
jge 0x468485
add byte [esi], al
add bh, bh
add byte [eax], al
add byte [eax], al
add dword [eax], eax
add byte [eax], al
add byte [eax], al
add byte [eax - 0x80000000], al
invalid
add al, 0xe0
jmp 0x4d120d
add dword [esp + 4], 0xffffffe0
add al, 0xe0
jmp 0x4d1243
mov esp, 0x8300068d
inc esp
and al, 4
loopne 0x468476
push es
add byte [ebx - 0x1ffbdbbc], al
jmp 0x4d1271
loopne 0x46841c
push es
add ah, cl
int3
inc esi
add byte [ecx - 0x7c], ch
inc esi
add byte [ecx], al
add byte [eax], al
add byte [ebx - 0x4b4e694e], al
mov edx, 0x9cb6101a
add byte [edx + 0x71d3400], ch
add byte [eax], al
xor dword [edx - 0x454b4e6a], 0x1a
adc byte [esi + 0xaa009c], dh
xor al, 0x1d
pop es
xchg esp, eax
test byte [esi], al
and byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
loopne 0x4684a8
inc eax
add byte [eax], ah
test dword [esi], eax
movsb byte es:[edi], byte [esi]
test byte [esi], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
and al, 0x86
inc esi
add byte [eax], al
add byte [eax], al
add byte [eax], dh
test dword [esi], eax
add byte [eax], al
add byte [eax], al
dec esi
test dword [esi], eax
sub byte [eax], al
add byte [eax], al
invalid
invalid
add byte [eax - 0xfffdfc], dh
invalid
add byte [ebp], ah
ja 0x4d1276
je 0x4d1278
popal
add byte [edx], ah
jo 0x4d127e
popal
add byte [edi], ah
add byte gs:[edx], ah
add byte [edx], bh
add byte [eax], ah
add byte [esi], ah
popal
add byte [eax + eax + 0x73], ch
add byte [ebp], ah
add byte [eax], al
add byte [eax], al
mov al, 4
add al, byte [eax]
Function at 0x4b2eb9
Capabilities:
Get number of processors

Disassembly:
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, 0x4b3624
xor eax, eax
call 0xff53d445
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0xc], ebx
mov eax, ebx
mov ecx, 0x122
mov edx, 0x1f4
call 0xff540a32
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call 0xff541145
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov byte [eax + 0x495], 0
mov edx, 0x80ca0000
call 0xff53f8bc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call 0xff540ecb
mov edx, 0xd
call 0xff53b9dd
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call 0xff540ee0
mov edx, 0x4b364c
call 0xff53ba02
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, 0xffffff
call 0xff540736
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov dl, 1
call 0xff54122b
xor ecx, ecx
push ebp
push 0x4b2f8a
push dword fs:[ecx]
mov dword fs:[ecx], esp
xor edx, edx
xor eax, eax
call 0xff54189a
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x38], ebx
mov ecx, 0x4b365c
mov eax, ebx
mov edx, dword [0x4ecc50]
call 0xff541ff0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4b2fa7
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call 0xff53da4e
mov ebx, eax
invalid
inc ebp

Function at 0x4b2f93
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
sar byte [eax], 0x8b
adc byte [ebx], dh
leave
mov dword [eax], ecx
mov eax, edx
call 0xff4b8216
call 0xff4b95c3
Function at 0x4b303f
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get number of processors

Disassembly:
mov ecx, 0x10
call 0xff540b95
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x1c]
call 0xff5403d8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call 0xff53da2b
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x20], ebx
mov eax, ebx
mov ecx, 0x64
mov edx, 0x14
call 0xff5434cc
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call 0xff54103f
movzx edx, byte [0x4b366c]
call 0xff53bb8b
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
mov dl, 1
call 0xff54342c
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call 0xff543877
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call 0xff54043a
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor ecx, ecx
xor edx, edx
call 0xff53da8d
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x24], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call 0xff5407a8
mov edx, eax
mov eax, ebx
mov ecx, 0x46
call 0xff543536
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call 0xff5411e9
mov edx, eax
sub edx, 0x28
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
mov ecx, 0x1c
call 0xff540c52
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call 0xff5410c9
mov edx, 0x12
call 0xff53bbdb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
inc eax
and al, 0xe8
mov eax, 0xfff08df
mov dh, 0x15
insb byte es:[edi], dx
dec ebx
add al, ch
clc
mov cl, byte [eax]
dec dword [ebx + 0x408bfc45]
and al, 0xe8
int3
pop es
or edi, edi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
xor edx, edx
call 0xff53db8a
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x28], ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x24]
call 0xff540879
add eax, 0x19
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x20]
call 0xff54083c
mov edx, eax
mov eax, ebx
pop ecx
call 0xff5435c6
push eax
add al, 9
dec dword [ebx + 0x408bfc45]
and al, 0xe8
push 0x8bff08d7
ror byte [ebx + 0x408bfc45], 1
sub byte [ecx + 0x28], bh
Function at 0x10001000
Capabilities:
Create directory
Delete file
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
xor eax, eax
push edi
push 0x410
mov dword [ebp - 0x18], 0xc
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
call fcn.100012e8
push 0x410
mov ebx, eax
call fcn.100012e8
push 0x410
mov esi, eax
call fcn.100012e8
push 0x410
mov edi, eax
call fcn.100012e8
push 0x410
mov dword [ebp - 4], eax
call fcn.100012e8
add esp, 0x14
push ebx
push 0x208
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.1000125b
call fcn.1000126d
push eax
push ebx
lea ecx, [eax + 1]
push 0x10008028
push esi
mov dword [ebp - 0xc], ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea edx, [ebp - 0x18]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push str....._
push esi
push str._s_s
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
push ecx
push edi
push str._s_d
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 8]
add esp, 0x10
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
push edx
push esi
push str._s_d
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
mov ecx, dword [ebp - 8]
add esp, 0x10
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test ebx, ebx
je 0x1000112e
push ebx
call fcn.1000128e
add esp, 4
test esi, esi
je 0x1000113b
push esi
call fcn.1000128e
add esp, 4
test edi, edi
je 0x10001148
push edi
call fcn.1000128e
add esp, 4
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
test eax, eax
je 0x1000115b
push eax
call fcn.1000128e
add esp, 4
mov eax, dword [ebp - 8]
test eax, eax
je 0x1000116b
push eax
call fcn.1000128e
add esp, 4
mov al, 1
mov esp, ebp
pop ebp
ret

Function at 0x100011f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
dec eax
jne 0x1000121f
cmp dword [0x1000aeac], eax
jne 0x1000121f
push eax
push eax
push eax
push 0x10001180
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
mov dword [0x1000aeac], eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, 1
pop ebp
ret 0xc

Function at 0x1000124c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x10009038]
jne 0x10001256
repz ret
jmp fcn.100015e5
Function at 0x1000503e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10009038]
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.100016eb
and dword [ebp - 0x14], 0
cmp dword [0x1000ae94], 0
mov dword [ebp - 0x18], eax
jne 0x100050f1
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10005199
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10005199
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1000ae94], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1000ae98], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1000ae9c], eax
call edi
push eax
call esi
mov dword [0x1000aea4], eax
test eax, eax
je 0x100050f1
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1000aea0], eax
mov eax, dword [0x1000aea0]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000514a
cmp dword [0x1000aea4], ecx
je 0x1000514a
push eax
call esi
push dword [0x1000aea4]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000514a
test ebx, ebx
je 0x1000514a
call edi
test eax, eax
je 0x10005141
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10005141
test byte [ebp - 8], 1
jne 0x1000514a
or dword [ebp + 0x10], 0x200000
jmp 0x1000517d
mov eax, dword [0x1000ae98]
cmp eax, dword [ebp - 0x18]
je 0x1000517d
push eax
call esi
test eax, eax
je 0x1000517d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000517d
mov eax, dword [0x1000ae9c]
cmp eax, dword [ebp - 0x18]
je 0x1000517d
push eax
call esi
test eax, eax
je 0x1000517d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1000ae94]
call esi
test eax, eax
je 0x10005199
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000519b
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000124c
leave
ret
Function at 0x30019b3c
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.300163e5
xor ebx, ebx
cmp dword [0x30022154], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x30019c11
push 0x30002dd0
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x30019b7c
xor eax, eax
jmp 0x30019cd5
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x30002dc4
push edi
call esi
cmp eax, ebx
je 0x30019b75
push eax
call fcn.30016382
mov dword [esp], 0x30002db4
push edi
mov dword [0x30022154], eax
call esi
push eax
call fcn.30016382
mov dword [esp], 0x30002da0
push edi
mov dword [0x30022158], eax
call esi
push eax
call fcn.30016382
mov dword [0x3002215c], eax
lea eax, [ebp - 8]
push eax
call fcn.30015694
test eax, eax
pop ecx
pop ecx
je 0x30019bdf
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.30018a15
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x30019c11
push 0x30002d84
push edi
call esi
push eax
call fcn.30016382
cmp eax, ebx
pop ecx
mov dword [0x30022164], eax
je 0x30019c11
push 0x30002d6c
push edi
call esi
push eax
call fcn.30016382
pop ecx
mov dword [0x30022160], eax
mov eax, dword [0x30022160]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x30019c8a
cmp dword [0x30022164], esi
je 0x30019c8a
push eax
call fcn.300163ee
pop ecx
call eax
cmp eax, ebx
je 0x30019c57
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x30022164]
call fcn.300163ee
pop ecx
call eax
test eax, eax
je 0x30019c57
test byte [ebp - 0x18], 1
jne 0x30019c8a
lea eax, [ebp - 0xc]
push eax
call fcn.300156cb
test eax, eax
pop ecx
je 0x30019c72
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.30018a15
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x30019c81
or dword [ebp + 0x10], 0x200000
jmp 0x30019cbb
or dword [ebp + 0x10], 0x40000
jmp 0x30019cbb
mov eax, dword [0x30022158]
cmp eax, esi
je 0x30019cbb
push eax
call fcn.300163ee
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x30019cbb
mov eax, dword [0x3002215c]
cmp eax, esi
je 0x30019cbb
push dword [ebp - 4]
push eax
call fcn.300163ee
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x30022154]
call fcn.300163ee
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret

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

Disassembly:
pushal
nop
nop
nop
nop
call 0x42e00c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x43b649
Capabilities:
Encode data using xor

Disassembly:
push 0x43b3c1
pop ecx
add ebx, 0xf58f2893
and ebx, ebx
dec esi
call fcn.0043b687
or ebx, esi
xor dword [edx], ecx
inc esi
dec ebx
add edx, 1
and esi, ebx
sub esi, 1
sub esi, ebx
cmp edx, eax
jne fcn.0043b649
sub ebx, 0xc69a8d91
ret