joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47de81
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5f1114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
call fcn.0041ceaf
mov dword [ebp - 0x18], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x21
call esi
push 0x20
mov ebx, eax
call esi
mov ecx, edi
mov dword [ebp - 0x1c], eax
call fcn.0041f2b1
mov edi, dword [ebp - 0x18]
mov esi, eax
test edi, 0x1000
je 0x47def9
cmp esi, 3
jne 0x47dee8
push 2
pop esi
push 2
call dword [sym.imp.USER32.dll_GetKeyState]
test ax, ax
jns 0x47def9
xor eax, eax
jmp 0x47df4e
cmp esi, 0xa
jl 0x47df03
cmp esi, 0x11
jle 0x47df08
cmp esi, 4
jne 0x47df4c
test edi, 0x800
je 0x47df15
push 2
pop eax
jmp 0x47df4e
mov eax, dword [ebp - 0x1c]
neg ebx
push ebx
neg eax
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.USER32.dll_InflateRect]
test edi, 0x200
je 0x47df4c
mov eax, esi
sub eax, 4
je 0x47df99
sub eax, 9
je 0x47df85
sub eax, 1
je 0x47df75
dec eax
sub eax, 1
je 0x47df61
sub eax, 1
je 0x47df99
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00531526
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setle al
dec eax
and eax, 5
add eax, 0xa
jmp 0x47df4e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
add eax, 0xb
jmp 0x47df4e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 0x10]
setl al
lea eax, [eax*2 + 0xa]
jmp 0x47df4e
mov ecx, dword [ebp + 0xc]
xor eax, eax
cmp ecx, dword [ebp - 8]
setg al
lea eax, [eax*4 + 0xb]
jmp 0x47df4e
Function at 0x486e7b
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov eax, dword [0x5f1114]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x8000
lea eax, [esi - 0x60]
cmp eax, 9
ja 0x486ead
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x486ed8
cmp dword [0x5fa184], 0
jne 0x486ed8
lea ecx, [esi - 0x41]
cmp ecx, 0x19
jbe 0x486ecb
push 0x12
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test bx, ax
je 0x486ecf
mov eax, esi
jmp 0x486f4b
push esi
call fcn.00554aab
pop ecx
jmp 0x486f4b
push 4
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x486f5d
call fcn.0041a6e4
push dword [eax + 0x30]
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
push eax
push 1
push 2
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push esi
call dword [sym.imp.USER32.dll_MapVirtualKeyW]
push eax
push esi
call dword [sym.imp.USER32.dll_ToUnicodeEx]
xor eax, eax
mov word [ebp - 0x106], ax
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
movzx eax, word [ebp - 0x108]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.00531526
mov esp, ebp
pop ebp
ret 4
call fcn.00415982
int3
Function at 0x4873ed
Capabilities:
Get common file path

Disassembly:
push 0x7c
mov eax, 0x583b5e
call fcn.0053204e
mov ebx, ecx
mov dword [ebp - 0x20], ebx
mov ecx, dword [ebp + 0xc]
call fcn.00458832
test eax, eax
je 0x48758e
lea ecx, [ebp - 0x1c]
xor edi, edi
push ecx
lea ecx, [ebp + 8]
mov dword [ebp - 0x1c], edi
push ecx
lea ecx, [ebx + 4]
call fcn.00487315
test eax, eax
je 0x487430
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004170cf
push eax
lea ecx, [ebp - 0x18]
call fcn.0041323d
mov esi, 0x104
mov dword [ebp - 4], edi
push esi
lea ecx, [ebp - 0x18]
call fcn.00414847
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x18]
call fcn.00417274
call fcn.004170cf
push eax
lea ecx, [ebp - 0x14]
call fcn.0041323d
push esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call fcn.00414847
mov esi, dword [ebp - 0x18]
push eax
push edi
push 0x59fa44
push esi
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
call fcn.00417274
push edi
push 0x4000100
push 2
push edi
push edi
mov edi, dword [ebp - 0x14]
push 0xc0000000
push edi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1c], eax
cmp eax, 0xffffffff
jne 0x4874c8
lea ecx, [edi - 0x10]
call fcn.0041384e
lea ecx, [esi - 0x10]
jmp 0x487589
push eax
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 2
call fcn.0041a9f9
push 0
push 0x1000
push 0
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 3
push eax
lea ecx, [ebp - 0x88]
call fcn.00418a8a
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x88]
mov dword [ebx + 0x20], 1
push edx
mov byte [ebp - 4], 4
mov eax, dword [ecx]
call dword [eax + 8]
lea ecx, [ebp - 0x88]
call fcn.004190c9
and dword [ebx + 0x20], 0
lea ecx, [ebp - 0x88]
call fcn.00418b9a
lea ecx, [ebp - 0x40]
call fcn.0041aaae
lea eax, [ebp + 8]
mov dword [ebp - 4], 1
push eax
lea ecx, [ebx + 4]
call fcn.00455d50
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
lea ecx, [edi - 0x10]
call fcn.0041384e
lea ecx, [esi - 0x10]
call fcn.0041384e
xor eax, eax
inc eax
jmp 0x487590
call fcn.0041384e
xor eax, eax
call fcn.00531fac
ret 8
Function at 0x4e0fb0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push ebx
push esi
mov esi, ecx
push edi
mov eax, dword [esi]
call dword [eax + 0x1b8]
test al, al
jns 0x4e0fcf
or ecx, 0xffffffff
jmp 0x4e0fd5
mov ecx, dword [0x5f089c]
mov eax, dword [esi]
lea edx, [ebp - 4]
push edx
push ecx
mov ecx, esi
call dword [eax + 0x2b4]
push dword [ebp - 4]
mov dword [ebp - 8], eax
push 0x5f0b34
call fcn.004182b1
mov edi, eax
pop ecx
pop ecx
cmp edi, esi
je 0x4e1079
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
js 0x4e1079
test edi, edi
je 0x4e102a
mov eax, dword [edi]
mov ecx, edi
push 0
call dword [eax + 0x228]
push eax
push 0x5f08e8
call fcn.004182b1
pop ecx
pop ecx
mov ebx, eax
jmp 0x4e102c
xor ebx, ebx
mov eax, dword [ebp - 8]
cmp eax, 2
jne 0x4e1084
test ebx, ebx
je 0x4e1065
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x1c0]
test al, 0x40
je 0x4e1079
cmp dword [ebp - 4], 0
je 0x4e1065
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x24c]
mov ecx, dword [ebp + 8]
neg eax
sbb eax, eax
inc eax
mov dword [ecx], eax
mov eax, esi
jmp 0x4e107b
mov eax, dword [esi]
mov ecx, esi
push 5
push 0
push edi
call dword [eax + 0x1f8]
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
cmp eax, 3
jne 0x4e1079
test edi, edi
je 0x4e1079
mov eax, dword [edi]
mov ecx, edi
push esi
call dword [eax + 0x184]
test eax, eax
je 0x4e1079
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18c]
test eax, eax
je 0x4e1079
mov eax, dword [esi]
mov ecx, esi
push 0
call dword [eax + 0x240]
mov eax, dword [esi]
mov ecx, esi
push 0
push 1
push 5
push edi
call dword [eax + 0x34c]
mov ecx, dword [ebp + 8]
xor edx, edx
test eax, eax
setne dl
mov dword [ecx], edx
jmp 0x4e107b
Function at 0x4e2e7b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
mov edx, dword [0x5fd8dc]
push ebx
push esi
push edi
mov edx, dword [eax + edx*4]
mov ebx, ecx
mov eax, dword [0x5fc30c]
cmp eax, dword [edx + 4]
jle 0x4e2ed6
mov esi, 0x5fc30c
push esi
call fcn.00531a0b
cmp dword [0x5fc30c], 0xffffffff
pop ecx
jne 0x4e2ed6
call fcn.004170cf
push eax
mov ecx, 0x5fc308
call fcn.0041323d
push 0x58fb14
call fcn.005318a5
push esi
call fcn.005319cc
pop ecx
pop ecx
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x4e2f78
mov eax, dword [ebx + 0x34c]
test eax, eax
je 0x4e2f6f
cmp dword [eax + 0x20], 0
je 0x4e2f6f
test eax, eax
je 0x4e2efc
mov eax, dword [eax + 0x20]
cmp dword [edi], eax
jne 0x4e2f6f
mov eax, dword [edi + 4]
sub eax, 1
je 0x4e2f43
sub eax, 1
je 0x4e2f19
sub eax, 1
jne 0x4e2f6f
mov esi, 0x428e
jmp 0x4e2f48
push 0x11
mov esi, 0x3ea1
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
mov ecx, 0x8000
test cx, ax
je 0x4e2f48
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x340]
test eax, eax
je 0x4e2f48
add esi, 3
jmp 0x4e2f48
mov esi, 0x3ea0
push esi
call fcn.004171df
test eax, eax
je 0x4e2f78
push esi
push eax
mov ecx, 0x5fc308
call fcn.00416137
test eax, eax
je 0x4e2f78
mov eax, dword [0x5fc308]
mov dword [edi + 0xc], eax
xor eax, eax
inc eax
jmp 0x4e2f71
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
call fcn.00415982
int3
Function at 0x4f2914
Capabilities:
Log keystrokes via polling
Open clipboard
Write clipboard data

Disassembly:
push 4
mov eax, 0x588c81
call fcn.00531fe3
mov esi, ecx
mov dword [ebp - 0x10], esi
mov ebx, dword [ebp + 8]
cmp dword [ebx + 4], 0x100
jne 0x4f29fa
mov edi, dword [ebx + 8]
push 0x11
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
and eax, 0x8000
je 0x4f29fa
cmp edi, 0x43
je 0x4f2959
cmp edi, 0x2d
jne 0x4f29fa
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4f29fa
call dword [sym.imp.USER32.dll_EmptyClipboard]
call fcn.004170cf
push eax
lea ecx, [ebp + 8]
call fcn.0041323d
movzx eax, byte [esi + 0xe6]
and dword [ebp - 4], 0
push eax
movzx eax, byte [esi + 0xe5]
push eax
movzx eax, byte [esi + 0xe4]
push eax
lea eax, [ebp + 8]
push 0x5aee10
push eax
call fcn.00416b9c
mov esi, dword [ebp + 8]
add esp, 0x14
mov eax, dword [esi - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0x2000
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push edi
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
or dword [ebp - 4], 0xffffffff
lea ecx, [esi - 0x10]
call fcn.0041384e
mov esi, dword [ebp - 0x10]
push ebx
mov ecx, esi
call fcn.004f0048
call fcn.00531fac
ret 4
Function at 0x50763f
Capabilities:
Get common file path

Disassembly:
push 0x228
mov eax, 0x589d59
call fcn.00532017
mov ebx, ecx
mov dword [ebp - 0x230], ebx
call fcn.00518c9d
push 0x1c4
call fcn.00415909
pop ecx
mov dword [ebp - 0x22c], eax
and dword [ebp - 4], 0
test eax, eax
je 0x507682
push 0
push dword [ebx + 0x60]
mov ecx, eax
call fcn.005192b4
jmp 0x507684
xor eax, eax
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
push eax
call fcn.005180e7
call fcn.00417e98
mov eax, dword [eax + 4]
mov edi, dword [eax + 0x8c]
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
lea eax, [ebp - 0x218]
push eax
call fcn.0055bc9b
mov esi, eax
pop ecx
push 0x5c
pop eax
mov word [ebp + esi*2 - 0x218], ax
inc esi
mov dword [ebp - 0x22c], esi
lea eax, [esi + esi]
cmp eax, 0x208
jae 0x50789b
xor ecx, ecx
mov word [ebp + eax - 0x218], cx
xor eax, eax
mov dword [ebp - 0x228], eax
test edi, edi
je 0x507895
xor ebx, ebx
cmp dword [edi + 4], eax
jle 0x507895
call fcn.004170cf
push eax
lea ecx, [ebp - 0x21c]
call fcn.0041323d
mov eax, dword [edi]
xor ecx, ecx
inc ecx
push ecx
mov dword [ebp - 4], ecx
lea ecx, [ebp - 0x218]
push esi
push ecx
push ebx
lea ecx, [ebp - 0x21c]
push ecx
mov ecx, edi
call dword [eax + 0xc]
test eax, eax
je 0x507879
push 0x59c518
mov esi, 0x59c520
lea ecx, [ebp - 0x21c]
push esi
call fcn.00441dcb
push esi
push 0x5c5420
lea ecx, [ebp - 0x21c]
call fcn.00441dcb
push esi
push 0x59c518
lea ecx, [ebp - 0x21c]
call fcn.00441dcb
call fcn.004170cf
push eax
lea ecx, [ebp - 0x220]
call fcn.0041323d
mov eax, dword [ebp - 0x228]
mov byte [ebp - 4], 2
cmp eax, 9
jne 0x5077af
push dword [ebp - 0x21c]
lea eax, [ebp - 0x220]
push str.10__Ts
push eax
call fcn.00416b9c
add esp, 0xc
jmp 0x5077e1
jge 0x5077cf
push dword [ebp - 0x21c]
inc eax
push eax
lea eax, [ebp - 0x220]
push str._d__Ts
push eax
call fcn.00416b9c
add esp, 0x10
jmp 0x5077e1
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x220]
call fcn.004169eb
push 0x1c4
call fcn.00415909
pop ecx
mov dword [ebp - 0x234], eax
mov byte [ebp - 4], 3
test eax, eax
je 0x50780b
mov ecx, eax
call fcn.004bb96c
mov ecx, eax
mov dword [ebp - 0x224], eax
jmp 0x507813
xor ecx, ecx
mov dword [ebp - 0x224], ecx
mov eax, dword [ecx]
mov esi, dword [ebp - 0x220]
push esi
mov byte [ebp - 4], 2
call dword [eax + 0xb4]
mov ecx, dword [ebp - 0x224]
lea eax, [ebx + 0xe110]
push eax
mov edx, dword [ecx]
call dword [edx + 0xb0]
push ebx
mov ecx, edi
call fcn.0042ac1a
mov ecx, dword [ebp - 0x224]
push dword [eax]
mov edx, dword [ecx]
call dword [edx + 0xc8]
mov ecx, dword [ebp - 0x224]
push ecx
mov ecx, dword [ebp - 0x230]
call fcn.005180e7
inc dword [ebp - 0x228]
lea ecx, [esi - 0x10]
call fcn.0041384e
mov esi, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x21c]
or dword [ebp - 4], 0xffffffff
lea ecx, [ecx - 0x10]
call fcn.0041384e
inc ebx
cmp ebx, dword [edi + 4]
jl 0x507704
call fcn.00531fc1
ret
call fcn.00531c32
int3
Function at 0x534cda
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret

Function at 0x5693c0
Capabilities:
Set environment variable

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

Function at 0x5693cb
Capabilities:
Set environment variable

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

Function at 0x570a05
Capabilities:
Delete file

Disassembly:
push 0x1c
mov eax, 0x58cc22
call fcn.00532017
mov edi, ecx
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 0x28]
push 0x5c4ffc
call fcn.004035e2
and dword [ebp - 4], 0
xor bl, bl
cmp dword [edi + 0x238], 0
je 0x570a97
test esi, esi
je 0x570a4c
cmp byte [edi + 0x228], bl
je 0x570a4c
push esi
lea eax, [ebp - 0x28]
mov ecx, edi
push eax
call fcn.00570aab
mov bl, al
xor edx, edx
test esi, esi
je 0x570a5a
mov ecx, dword [esi]
test ecx, ecx
je 0x570a5a
mov edx, dword [ecx]
test bl, bl
je 0x570a6b
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
jmp 0x570a6d
xor eax, eax
push eax
push edx
push dword [ebp + 8]
call dword [edi + 0x238]
add esp, 0xc
test bl, bl
je 0x570a97
cmp dword [ebp - 0x18], 0
je 0x570a97
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00403a36
call fcn.00531fc1
ret 8
Function at 0x570aab
Capabilities:
Get common file path

Disassembly:
push 0x260
mov eax, 0x58cc5d
call fcn.00532017
mov edi, ecx
mov eax, dword [ebp + 8]
xor bl, bl
mov dword [ebp - 0x254], eax
mov eax, dword [ebp + 0xc]
push 0x208
mov dword [ebp - 0x250], eax
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.0054b1f0
xor esi, esi
add esp, 0xc
cmp dword [edi + 0x248], esi
je 0x570c6d
cmp dword [edi + 0x24c], esi
je 0x570c6d
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
je 0x570c6d
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x26c]
call fcn.004035e2
push str.crashdump.dmp
mov edx, eax
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x238]
call fcn.0040406c
pop ecx
xor eax, eax
mov byte [ebp - 4], 2
push esi
inc eax
lea ecx, [ebp - 0x26c]
push eax
call fcn.00403a36
cmp dword [ebp - 0x224], 8
lea eax, [ebp - 0x238]
push esi
cmovae eax, dword [ebp - 0x238]
push 0x80
push 2
push esi
push esi
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x570c4c
test esi, esi
je 0x570c4c
push 6
pop eax
mov word [ebp - 0x220], ax
xor eax, eax
inc eax
mov word [ebp - 0x21e], ax
push 0xb
pop eax
mov word [ebp - 0x21c], ax
xor eax, eax
mov word [ebp - 0x21a], ax
lea eax, [ebp - 0x220]
push eax
call dword [edi + 0x248]
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x24c], eax
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x248], eax
xor eax, eax
inc eax
mov dword [ebp - 0x240], 0x570cc1
mov dword [ebp - 0x244], eax
lea eax, [ebp - 0x240]
push eax
push 0
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x23c], edi
push eax
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [edi + 0x24c]
lea ecx, [ebp - 0x238]
test eax, eax
je 0x570c52
mov eax, dword [ebp - 0x254]
cmp eax, ecx
je 0x570c3f
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.00403350
xor eax, eax
lea ecx, [ebp - 0x238]
inc eax
mov bl, al
jmp 0x570c55
lea ecx, [ebp - 0x238]
xor eax, eax
inc eax
push 0
push eax
call fcn.00403a36
cmp esi, 0xffffffff
je 0x570c6d
test esi, esi
je 0x570c6d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
call fcn.00531fc1
ret 8
Function at 0x571132
Capabilities:
Create thread

Disassembly:
push 0x48
mov eax, 0x58cd40
call fcn.00532017
call fcn.00570d48
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
xor ebx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
sub esp, 0x18
mov dword [ebp - 4], ebx
mov ecx, esp
mov dword [ebp - 0x3c], esp
mov dword [ebp - 0x38], ebx
push str.package
call fcn.004036e4
lea eax, [ebp - 0x54]
mov byte [ebp - 4], 1
push eax
xor ecx, ecx
call fcn.005795a4
mov ecx, eax
mov byte [ebp - 4], bl
call fcn.005794b5
push eax
mov edx, 0x5c5258
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x34]
call fcn.004043cc
pop ecx
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00403a36
cmp dword [ebp - 0x20], 8
lea eax, [ebp - 0x34]
push 0x2001f
cmovae eax, dword [ebp - 0x34]
lea ecx, [ebp - 0x1c]
push eax
push SysReAllocString
call fcn.004031a2
test eax, eax
jne 0x5711e7
lea eax, [ebp - 0x38]
push eax
push str.CrashMe
lea ecx, [ebp - 0x1c]
call fcn.004045d3
mov ecx, dword [ebp - 0x38]
xor edx, edx
test eax, eax
cmovne ecx, edx
mov dword [ebp - 0x38], ecx
jmp 0x5711ea
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x5711fe
push ebx
push ebx
push ecx
push 0x57122a
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push ebx
push 1
lea ecx, [ebp - 0x34]
call fcn.00403a36
lea ecx, [ebp - 0x1c]
call fcn.0040321c
call fcn.00531fc1
ret
Function at 0x5718d8
Capabilities:
Download url
Receive data

Disassembly:
push 0x2c
mov eax, 0x58cea1
call fcn.00532017
mov esi, ecx
xor eax, eax
lea edi, [ebp - 0x26]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov word [ebp - 0x28], ax
stosd dword es:[edi], eax
push 0xa
push 0xc
mov dword [ebp - 0x2c], ebx
stosd dword es:[edi], eax
mov dword [ebp - 0x30], vtable.MyCallback.0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00554e95
add esp, 0x10
lea eax, [ebp - 0x28]
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventW]
add esi, 0x1c
mov dword [ebp - 0x2c], eax
cmp dword [esi + 0x14], 8
jb 0x571937
mov esi, dword [esi]
cmp dword [ebp + 0x1c], 8
lea ecx, [ebp - 0x30]
push ecx
push 0x10
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push esi
push eax
push ebx
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
test eax, eax
mov esi, ebx
cmovne esi, eax
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x34], esp
push 0x5c52a4
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 1
mov ecx, esp
mov dword [ebp - 0x38], esp
push 0x5c4ffe
call fcn.004036e4
sub esp, 0x18
mov byte [ebp - 4], 2
mov ecx, esp
push str.urlDownloadToFile
call fcn.004036e4
mov dl, bl
mov byte [ebp - 4], bl
mov ecx, esi
call fcn.00572131
add esp, 0x48
lea ecx, [ebp + 8]
push ebx
push 1
call fcn.00403a36
mov eax, esi
call fcn.00531fc1
ret 0x18
Function at 0x572fef
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x64
mov eax, dword [0x5f1114]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x64], 0
lea eax, [ebp - 0x5c]
push esi
mov esi, ecx
push eax
mov dword [ebp - 0x60], esi
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x3a]
push eax
lea eax, [ebp - 0x38]
push str._04x
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x38]
mov ecx, esi
push eax
call fcn.004036e4
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.00531526
mov esp, ebp
pop ebp
ret
Function at 0x573817
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x58d4ef
mov eax, dword fs:[0]
push eax
mov eax, 0x2b38
call fcn.00532310
mov eax, dword [0x5f1114]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x2b44], edx
mov esi, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
xor bl, bl
test esi, esi
jne 0x573862
xor al, al
jmp 0x573a01
and dword [ebp - 0x2b14], 0
xor eax, eax
mov dword [ebp - 0x2b10], 7
mov word [ebp - 0x2b24], ax
and dword [ebp - 4], eax
mov edi, str..PhysicalDrive
push edi
call fcn.004035bb
pop ecx
push eax
push edi
lea ecx, [ebp - 0x2b24]
call fcn.00403542
push ecx
push ecx
lea ecx, [ebp - 0x2b3c]
call fcn.00408ad3
pop ecx
pop ecx
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x2b24]
mov byte [ebp - 4], 1
call fcn.00404145
push 0
push 1
lea ecx, [ebp - 0x2b3c]
mov byte [ebp - 4], 0
call fcn.00403a36
cmp dword [ebp - 0x2b10], 8
lea eax, [ebp - 0x2b24]
cmovae eax, dword [ebp - 0x2b24]
xor ecx, ecx
push ecx
push ecx
push 3
push ecx
push 3
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x2b40], eax
cmp eax, 0xffffffff
je 0x5739f0
xor eax, eax
lea edi, [ebp - 0x2b30]
stosd dword es:[edi], eax
xor ecx, ecx
mov dword [ebp - 0x2b0c], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x2b08]
mov edi, 0x2710
mov dword [ebp - 0x2b30], ecx
push edi
push ecx
push eax
mov dword [ebp - 0x2b2c], ecx
call fcn.0054b1f0
add esp, 0xc
lea eax, [ebp - 0x2b0c]
push 0
push eax
push edi
mov edi, dword [ebp - 0x2b40]
lea eax, [ebp - 0x2b08]
push eax
push 0xc
lea eax, [ebp - 0x2b30]
push eax
push 0x2d1400
push edi
call esi
test eax, eax
je 0x5739e9
push 0x3e8
lea eax, [ebp - 0x3f8]
push 0
push eax
call fcn.0054b1f0
mov edx, dword [ebp - 0x2af0]
add esp, 0xc
test edx, edx
je 0x5739a3
mov byte [ebp - 0x3f8], 0
js 0x5739a3
lea eax, [ebp - 0x3f8]
push eax
lea ecx, [ebp - 0x2b08]
call fcn.00573a1d
pop ecx
movsx eax, byte [ebp - 0x3f8]
push eax
call fcn.005554a8
pop ecx
test eax, eax
jne 0x5739c7
movsx eax, byte [ebp - 0x3e5]
push eax
call fcn.005554a8
pop ecx
test eax, eax
je 0x5739e9
lea eax, [ebp - 0x3f8]
push eax
call fcn.004036c7
pop ecx
mov ecx, dword [ebp - 0x2b44]
push eax
lea eax, [ebp - 0x3f8]
push eax
call fcn.0040364e
mov bl, 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x2b24]
call fcn.00403a36
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00531526
mov esp, ebp
pop ebp
ret