joyce8/EMBER2024-capa huggingface dataset:
Function at 0x45bb20
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov byte [ebp - 5], 0
xor edx, edx
push ebp
push 0x45bc55
push dword fs:[edx]
mov dword fs:[edx], esp
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
push eax
call fcn.00407434
mov ebx, eax
test ebx, ebx
jle 0x45bc4b
push 0
lea eax, [ebp - 0xc]
push eax
push 0x16
lea eax, [ebp - 0x2a]
push eax
push ebx
call fcn.004075e4
push 0
push 0
push 0
push ebx
call fcn.00407614
mov eax, 0x26
call fcn.00402ea0
mov esi, eax
mov eax, 0x22
call fcn.00402ea0
mov edi, eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0x26
push esi
push ebx
call fcn.004075e4
mov edx, edi
mov eax, esi
mov ecx, 0x14
call fcn.0040309c
mov eax, dword [esi + 6]
mov dword [edi + 6], eax
mov eax, dword [esi + 0xa]
mov dword [edi + 0xa], eax
mov eax, dword [esi + 0xe]
mov dword [edi + 0xe], eax
mov word [edi + 0x12], 1
mov eax, dword [esi + 0xe]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
call fcn.00402ea0
mov dword [ebp - 0x14], eax
push 0
push 0
mov eax, dword [esi + 0x12]
push eax
push ebx
call fcn.00407614
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push ebx
call fcn.004075e4
push ebx
call fcn.0040741c
push 0
mov eax, dword [ebp - 4]
push eax
call fcn.00407414
mov ebx, eax
test ebx, ebx
jle 0x45bc35
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 0x14]
push eax
push 0
push 1
push 3
push ebx
call fcn.0040762c
push 0
push ebx
call fcn.0040747c
mov byte [ebp - 5], 1
mov eax, dword [ebp - 0x14]
call fcn.00402ebc
mov eax, edi
call fcn.00402ebc
mov eax, esi
call fcn.00402ebc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45bc5f
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45bc6c
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056a8
mov eax, dword [ebp - 8]
call fcn.004056a8
mov eax, dword [ebp - 0xc]
call fcn.004056a8
xor eax, eax
push ebp
push 0x45bd77
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
push ebp
push 0x45bd52
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x4232c8]
call fcn.0042adac
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x45bd41
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
mov eax, dword [0x4787f8]
push eax
call fcn.0042c708
mov edx, eax
mov eax, dword [ebp - 0x10]
call fcn.0042b180
mov edx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 8]
call fcn.004056b8
push eax
mov eax, dword [ebp - 0xc]
call fcn.004056b8
pop edx
call fcn.0045bb20
mov eax, dword [ebp - 0xc]
call fcn.00409938
test al, al
je 0x45bd2b
mov eax, dword [ebp - 0xc]
call fcn.004056b8
push eax
call fcn.00407474
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bd48
mov eax, dword [ebp - 0x10]
call fcn.004043fc
ret
Function at 0x45bd88
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 6
push 0
push 0
dec ecx
jne 0x45bd90
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056a8
xor eax, eax
push ebp
push 0x45bf9b
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.00458724
mov eax, dword [ebp - 4]
call fcn.00409938
test al, al
je 0x45bf67
mov eax, dword [ebp - 4]
call fcn.0045bfc4
test al, al
jne 0x45bf67
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.00458724
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 4]
call fcn.00409b44
push dword [ebp - 0x14]
push 0x45bfb4
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00409b78
push dword [ebp - 0x18]
lea eax, [ebp - 8]
mov edx, 3
call fcn.004055bc
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x45be26
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 0x1c]
push eax
mov ecx, ebx
sub ecx, 3
mov edx, 1
mov eax, dword [ebp - 8]
call fcn.00405720
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0x10]
mov ecx, 0x45bfc0
call fcn.00405540
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00409b78
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x45be69
sub ebx, 4
mov ebx, dword [ebx]
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.00409b44
push dword [ebp - 0x28]
push 0x45bfb4
lea eax, [ebp - 0x2c]
push eax
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 4]
call fcn.00409b78
mov eax, dword [ebp - 0x30]
mov ecx, ebx
mov edx, 2
call fcn.00405720
push dword [ebp - 0x2c]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.004055bc
mov eax, dword [ebp - 4]
call fcn.00409938
test al, al
je 0x45bf67
mov eax, dword [ebp - 8]
call fcn.00409938
test al, al
jne 0x45bf67
mov eax, dword [ebp - 0xc]
call fcn.00409938
test al, al
jne 0x45bf67
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.00458724
xor eax, eax
push ebp
push 0x45bf51
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.004056b8
push eax
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
call fcn.004075c4
mov eax, dword [ebp - 8]
call fcn.0045b960
lea edx, [ebp - 0x34]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 0x34]
mov edx, dword [ebp - 4]
call fcn.0045b9d8
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 8]
call fcn.0045bc6c
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.00458724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45bf5b
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.00458724
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.00458724
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45bfa2
lea eax, [ebp - 0x34]
mov edx, 4
call fcn.0040524c
lea eax, [ebp - 0x20]
mov edx, 8
call fcn.0040524c
ret
Function at 0x45c080
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x110], ebx
mov dword [ebp - 4], ebx
mov byte [ebp - 7], cl
mov byte [ebp - 6], dl
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x45c1b7
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x416500]
call fcn.004043cc
mov dword [ebp - 0xc], eax
xor ecx, ecx
push ebp
push 0x45c18c
push dword fs:[ecx]
mov dword fs:[ecx], esp
lea eax, [ebp - 0x10b]
push eax
push 0xff
call fcn.0040753c
mov ebx, 1
lea eax, [ebp - 4]
call fcn.00405228
jmp 0x45c10d
lea eax, [ebp - 0x110]
movzx edx, byte [ebp + ebx - 0x10c]
call fcn.00405410
mov edx, dword [ebp - 0x110]
lea eax, [ebp - 4]
call fcn.004054f4
inc ebx
cmp ebx, 0xff
jg 0x45c11f
cmp byte [ebp + ebx - 0x10c], 0
jne 0x45c0eb
inc ebx
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
call fcn.0040750c
mov edx, eax
mov eax, dword [ebp - 4]
test eax, eax
je 0x45c13c
sub eax, 4
mov eax, dword [eax]
test eax, eax
jle 0x45c172
cmp edx, 5
sete al
and al, byte [ebp - 5]
cmp al, 1
je 0x45c167
cmp edx, 3
sete al
and al, byte [ebp - 6]
cmp al, 1
je 0x45c167
cmp edx, 4
sete al
and al, byte [ebp - 7]
cmp al, 1
jne 0x45c172
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax]
call dword [ecx + 0x38]
mov eax, dword [ebp - 4]
call fcn.004054e8
test eax, eax
jne 0x45c0e1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x45c196
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c1be
lea eax, [ebp - 0x110]
call fcn.00405228
lea eax, [ebp - 4]
call fcn.00405228
ret

Function at 0x45c850
Capabilities:
Persist via run registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.004056a8
mov eax, dword [ebp - 8]
call fcn.004056a8
xor eax, eax
push ebp
push 0x45c979
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 9], 0
xor eax, eax
push ebp
push 0x45c94c
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x421ca8]
call fcn.00421da8
mov dword [ebp - 0x10], eax
mov edx, 0x80000001
mov eax, dword [ebp - 0x10]
call fcn.00421e48
xor eax, eax
push ebp
push 0x45c93b
push dword fs:[eax]
mov dword fs:[eax], esp
mov cl, 1
mov edx, 0x45c994
mov eax, dword [ebp - 0x10]
call fcn.00421eac
test al, al
je 0x45c91d
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.004223e0
test al, al
je 0x45c90b
lea ecx, [ebp - 0x14]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00422248
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 4]
call fcn.00405650
je 0x45c919
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00422218
jmp 0x45c919
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
call fcn.00422218
mov byte [ebp - 9], 1
mov eax, dword [ebp - 0x10]
call fcn.00421e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45c942
mov eax, dword [ebp - 0x10]
call fcn.004043fc
ret
Function at 0x45fb90
Capabilities:
Check for software breakpoints

Disassembly:
push ebx
mov ebx, eax
cmp dword [ebx + 0x14], 0xca
jne 0x45fbbe
mov eax, ebx
call fcn.00460644
cmp dword [ebx + 0x40], 0
je 0x45fbb7
mov dword [ebx + 0x14], 0xcf
mov eax, 1
pop ebx
ret
mov dword [ebx + 0x14], 0xcb
cmp dword [ebx + 0x14], 0xcb
jne 0x45fc2f
mov edx, dword [ebx + 0x1b4]
cmp dword [edx + 0x10], 0
je 0x45fc21
cmp dword [ebx + 8], 0
je 0x45fbe0
mov eax, ebx
mov edx, dword [eax + 8]
call dword [edx]
mov eax, ebx
mov edx, dword [eax + 0x1b4]
call dword [edx]
test eax, eax
jne 0x45fbf2
xor eax, eax
pop ebx
ret
cmp eax, 2
je 0x45fc21
cmp dword [ebx + 8], 0
je 0x45fbd3
cmp eax, 3
je 0x45fc05
dec eax
jne 0x45fbd3
mov edx, dword [ebx + 8]
inc dword [edx + 4]
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
cmp ecx, dword [eax + 8]
jl 0x45fbd3
mov edx, dword [ebx + 0x140]
add dword [eax + 8], edx
jmp 0x45fbd3
mov ecx, dword [ebx + 0x90]
mov dword [ebx + 0x98], ecx
jmp 0x45fc4d
cmp dword [ebx + 0x14], 0xcc
je 0x45fc4d
mov eax, dword [ebx]
mov dword [eax + 0x14], 0x14
mov edx, dword [ebx + 0x14]
mov dword [eax + 0x18], edx
mov eax, ebx
mov edx, dword [eax]
call dword [edx]
mov eax, ebx
call fcn.0045fc58
pop ebx
ret

Function at 0x470638
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, edx
xor eax, eax
push ebp
push 0x470765
push dword fs:[eax]
mov dword fs:[eax], esp
xor edx, edx
push ebp
push 0x470740
push dword fs:[edx]
mov dword fs:[edx], esp
lea edx, [ebp - 8]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 8]
lea edx, [ebp - 4]
call fcn.00409b44
push dword [ebp - 4]
push 0x47077c
lea edx, [ebp - 0x10]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00409b78
push dword [ebp - 0xc]
lea eax, [ebp - 4]
mov edx, 3
call fcn.004055bc
mov eax, dword [ebp - 4]
call fcn.00409938
test al, al
je 0x4706e4
push 1
push 0x470780
push 0x470780
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
push 0x470784
mov eax, ebx
call fcn.004431bc
push eax
call fcn.0042c710
jmp 0x470736
lea edx, [ebp - 0x14]
mov eax, dword [0x475330]
mov eax, dword [eax]
call fcn.0045905c
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 4]
call fcn.00409b44
mov eax, dword [ebp - 4]
test eax, eax
je 0x47070a
sub eax, 4
mov eax, dword [eax]
cmp eax, 3
jne 0x470736
push 1
push 0x470780
push 0x470780
mov eax, dword [ebp - 4]
call fcn.004056b8
push eax
push 0x470784
mov eax, ebx
call fcn.004431bc
push eax
call fcn.0042c710
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x47074a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47076c
lea eax, [ebp - 0x14]
mov edx, 5
call fcn.0040524c
ret
Function at 0x10001040
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100161fe
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
mov eax, dword [0x1001c078]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, 1
test byte [0x1001e458], al
jne 0x10001092
or dword [0x1001e458], eax
push 0x104
mov dword [ebp - 4], 0
call fcn.10002289
add esp, 4
mov dword [0x1001e454], eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x14]
push eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push 0
push 0x100192e0
push edi
mov dword [ebp - 0x14], 0
call esi
test eax, eax
jne 0x100010f5
cmp dword [ebp - 0x10], 3
je 0x100010cf
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [0x1001e454]
test eax, eax
je 0x100010fa
lea edx, [ebp - 0x14]
push edx
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.aHFMgxave
push edi
call esi
test eax, eax
jne 0x100010f5
cmp dword [ebp - 0x10], 3
jne 0x100010bd
mov eax, dword [0x1001e454]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100016a0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
fld dword [0x1001d084]
mov dword [ebp - 0xc], 0x39
fsub qword [0x10019528]
fstp dword [ebp - 4]
fld dword [ebp - 4]
fabs
fstp dword [ebp - 4]
fld dword [ebp - 4]
fld dword [0x10019548]
fucompp
fnstsw ax
test ah, 0x44
jp 0x100016e8
fild dword [0x1001e440]
inc dword [0x1001e440]
fstp dword [0x1001d084]
mov eax, dword [ebp + 8]
push 0x100193b8
push eax
lea ecx, [ebp + 0x10]
push ecx
call fcn.10002361
add esp, 0xc
test eax, eax
jne 0x10001891
lea edx, [ebp - 0x14]
push edx
call fcn.1000438a
lea eax, [ebp - 0x14]
push eax
call fcn.1000412b
push eax
push str.Time__I:_M_p.
push 0x50
push 0x1001e328
call fcn.100036d4
mov eax, dword [0x1001e320]
add esp, 0x18
cmp eax, 0xfffffa71
je 0x10001753
push str.xcibnyapiyyrssfn_mcfilikwhbykry
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
mov dword [0x1001e320], eax
mov dword [0x1001d090], 1
test dword [0x1001d090], 0x2000
je 0x1000176b
test eax, eax
je 0x10001765
xor eax, eax
dec eax
mov dword [0x1001e320], eax
mov ecx, dword [ebp + 0x10]
push 2
push 0
push ecx
call fcn.100041dc
mov edx, dword [ebp + 0x10]
push edx
call fcn.10003bc0
fld qword [0x10019540]
fabs
add esp, 0x10
fstp dword [ebp - 8]
mov dword [0x1001d060], eax
fld dword [ebp - 8]
fstp qword [ebp - 0x1c]
fld qword [0x10019538]
call fcn.10010af0
fstp dword [ebp - 8]
fld dword [ebp - 8]
mov eax, dword [ebp + 0x10]
fchs
push 0
fmul qword [ebp - 0x1c]
push 0
push eax
fstp dword [0x1001d084]
call fcn.100041dc
mov ecx, dword [0x1001d060]
add esp, 0xc
push ecx
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edx, dword [0x1001e44c]
push 0xe70ef7
push 1
push 0
mov dword [edx], eax
call dword [sym.imp.GDI32.dll_CreatePen]
mov dword [0x1001e444], eax
mov eax, dword [0x1001e44c]
cmp dword [eax], 0
jne 0x10001808
xor eax, eax
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
lea ecx, [ebp - 4]
push ecx
push 1
push 0
push str.hySLXOIzONOtuOn
push 0x80000001
mov dword [ebp - 4], 0x80000001
call esi
mov dword [0x1001e320], eax
mov dword [0x1001e448], eax
test eax, eax
jne 0x10001854
lea edx, [ebp - 4]
push edx
push 1
push eax
push str.hySLXOIzONOtuOn
push 0x80000001
call esi
test eax, eax
jne 0x10001854
mov dword [0x1001e448], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [0x1001d060]
mov edx, dword [0x1001e44c]
push eax
mov eax, dword [edx]
push ecx
push 1
push eax
call fcn.10002bab
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.10004316
mov edx, dword [ebp + 0xc]
push edx
lea esi, [ebp - 0xc]
call fcn.100013e0
mov eax, dword [0x1001e44c]
mov ecx, dword [eax]
add esp, 0x18
call ecx
pop esi
mov eax, 1
mov esp, ebp
pop ebp
ret
Function at 0x10002294
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001c078]
jne 0x1000229e
repz ret
jmp fcn.10004724

Function at 0x1000fa4e
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1001c078]
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.1000704a
and dword [ebp - 0x14], 0
cmp dword [0x1001e304], 0
mov dword [ebp - 0x18], eax
jne 0x1000fb01
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x1000fba9
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x1000fba9
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x1001e304], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x1001e308], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x1001e30c], eax
call edi
push eax
call esi
mov dword [0x1001e314], eax
test eax, eax
je 0x1000fb01
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x1001e310], eax
mov eax, dword [0x1001e310]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x1000fb5a
cmp dword [0x1001e314], ecx
je 0x1000fb5a
push eax
call esi
push dword [0x1001e314]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x1000fb5a
test ebx, ebx
je 0x1000fb5a
call edi
test eax, eax
je 0x1000fb51
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x1000fb51
test byte [ebp - 8], 1
jne 0x1000fb5a
or dword [ebp + 0x10], 0x200000
jmp 0x1000fb8d
mov eax, dword [0x1001e308]
cmp eax, dword [ebp - 0x18]
je 0x1000fb8d
push eax
call esi
test eax, eax
je 0x1000fb8d
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x1000fb8d
mov eax, dword [0x1001e30c]
cmp eax, dword [ebp - 0x18]
je 0x1000fb8d
push eax
call esi
test eax, eax
je 0x1000fb8d
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x1001e304]
call esi
test eax, eax
je 0x1000fba9
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x1000fbab
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10002294
leave
ret
Function at 0x407f06
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x407f21
xor eax, eax
jmp 0x407f2d
mov eax, dword [ebp - 4]
and eax, 0x10
neg eax
sbb eax, eax
neg eax
mov esp, ebp
pop ebp
ret

Function at 0x408b60
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
mov dword [ebp - 4], 0
jmp 0x408b85
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
cmp dword [ebp - 4], 0x40
jae 0x408b9f
mov edx, dword [ebp - 8]
add edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx]
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov dword [ebp - 0x10], ecx
jmp 0x408b7c
cmp dword [ebp - 0x10], 0
jne 0x408bb4
mov edx, 0x43125b
shl edx, 6
mov eax, dword [ebp - 8]
add eax, edx
jmp 0x408c11
mov eax, dword [ebp - 0x10]
and eax, 0xff
mov byte [ebp - 0x14], al
mov ecx, dword [ebp - 0x14]
and ecx, 0xff
test ecx, ecx
jne 0x408bd5
mov edx, dword [ebp - 0x10]
shr edx, 8
mov byte [ebp - 0x14], dl
mov dword [ebp - 0xc], 0
jmp 0x408be7
mov eax, dword [ebp - 0xc]
add eax, 1
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x40
jae 0x408c0c
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0xc]
xor edx, edx
mov dl, byte [ecx]
mov eax, dword [ebp - 0x14]
and eax, 0xff
xor edx, eax
mov ecx, dword [ebp - 0xc]
mov byte [ecx + 0x431258], dl
jmp 0x408bde
mov eax, 0x431258
mov esp, ebp
pop ebp
ret
Function at 0x40aca0
Capabilities:
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [0x434588]
push ebx
xor eax, eax
push esi
test edx, edx
push edi
jbe 0x40acc8
mov ecx, 0x431588
mov esi, dword [ebp + 8]
mov edi, dword [ecx]
cmp esi, edi
je 0x40ace5
inc eax
add ecx, 8
cmp eax, edx
jb 0x40acb7
mov eax, dword [ebp + 0xc]
push 0x800
push 0x433a1c
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40acf1
pop edi
pop esi
pop ebx
pop ebp
ret
mov eax, dword [eax*8 + 0x43158c]
pop edi
pop esi
pop ebx
pop ebp
ret
push 0
push 0x10000080
push 3
push 0
push 1
push 0x80000000
push 0x433a1c
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
cmp edi, 0xffffffff
jne 0x40ad22
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push 2
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
test esi, esi
jne 0x40ad4f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
push 0
push 0
push 0
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ecx, eax
test ecx, ecx
jne 0x40ad79
call ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call edi
push esi
call edi
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov edx, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov eax, dword [edx + 0x18]
add eax, ecx
mov ecx, dword [0x434588]
mov dword [ecx*8 + 0x431588], edx
mov dword [ecx*8 + 0x43158c], eax
inc ecx
mov dword [0x434588], ecx
pop ebp
ret
Function at 0x40bb30
Capabilities:
Check for software breakpoints

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [esi + 0xc]
add eax, edx
cmp byte [eax], 0xcc
jne 0x40bb58
mov edx, dword [esi + 8]
cmp ecx, edx
jae 0x40bb58
mov bl, byte [eax + 1]
inc eax
inc ecx
cmp bl, 0xcc
je 0x40bb4a
mov edx, dword [esi + 8]
pop esi
cmp ecx, edx
pop ebx
jb 0x40bb65
xor eax, eax
pop ebp
ret
mov dl, byte [eax]
xor ecx, ecx
cmp dl, 0xe9
sete cl
mov eax, ecx
pop ebp
ret
Function at 0x40dc60
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
mov ecx, 0x209
mov esi, dword [ebp + 0xc]
lea eax, [edi + 5]
cdq
idiv ecx
lea eax, [edx + 0x69]
mov dword [esi], eax
mov ecx, dword [0x42d3dc]
cmp ecx, 2
lea ecx, [eax*8]
jl 0x40dd47
sub ecx, eax
shl ecx, 2
mov eax, dword [ecx + 0x438700]
test eax, eax
jne 0x40dd0f
lea edx, [ecx + 0x438704]
push edx
call fcn.0040ec60
add esp, 4
test eax, eax
jne 0x40dd61
mov ecx, dword [esi]
lea eax, [ecx*8]
sub eax, ecx
shl eax, 2
mov ecx, dword [eax + 0x438700]
test ecx, ecx
jne 0x40dd05
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov ecx, dword [esi]
lea edx, [ecx*8]
sub edx, ecx
mov dword [edx*4 + 0x438700], eax
mov eax, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
mov dword [ecx*4 + 0x438704], 0
jmp 0x40dd0f
mov dword [eax + 0x438704], 0
mov eax, dword [esi]
push 0xffffffffffffffff
lea edx, [eax*8]
sub edx, eax
mov eax, dword [edx*4 + 0x438700]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [esi]
lea ecx, [eax*8]
sub ecx, eax
lea edx, [ecx*4 + 0x438704]
push edx
call fcn.0040ec60
add esp, 4
jmp 0x40dd61
sub ecx, eax
lea eax, [ecx*4 + 0x438704]
mov ecx, dword [ecx*4 + 0x438704]
test ecx, ecx
jne 0x40dd61
mov dword [eax], 1
cmp dword [0x42d3dc], 1
jl 0x40dd85
mov eax, dword [esi]
lea edx, [eax*8]
sub edx, eax
lea eax, [edx*4 + 0x438710]
push eax
call fcn.0040ec10
add esp, 4
mov esi, dword [esi]
mov eax, dword [ebp + 0x10]
lea ecx, [esi*8]
sub ecx, esi
mov edx, dword [ecx*4 + 0x438718]
mov dword [eax], edx
mov edx, dword [ebp + 0x14]
mov dword [edx], 0
mov ecx, dword [eax]
test ecx, ecx
je 0x40ddc2
mov ecx, dword [eax]
cmp dword [ecx + 0xbc], edi
jge 0x40ddc2
mov dword [edx], ecx
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x18]
test ecx, ecx
mov dword [eax], ecx
jne 0x40ddab
pop edi
xor eax, eax
pop esi
pop ebp
ret