joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426a60
Capabilities:
Initialize winhttp library

Disassembly:
push esi
mov esi, ecx
lea ecx, [esi + 0x24]
mov dword [esi], vtable.CWinHttp.0
mov dword [esi + 4], 0
mov byte [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x1388
mov dword [esi + 0x1c], 0x1388
mov dword [esi + 0x20], 0x1388
call fcn.00427b30
push 0
push 0
push 0
xorps xmm0, xmm0
push 0
movq qword [esi + 0x7c], xmm0
push 0x5d3664
mov dword [esi + 0x84], 0
call dword [sym.imp.WINHTTP.dll_WinHttpOpen]
mov dword [esi + 0xc], eax
test eax, eax
jne 0x426ae0
mov dword [esi + 0x84], 1
mov eax, esi
pop esi
ret
push dword [esi + 0x20]
push dword [esi + 0x1c]
push dword [esi + 0x18]
push 0
push eax
call dword [sym.imp.WINHTTP.dll_WinHttpSetTimeouts]
mov eax, esi
pop esi
ret
Function at 0x426e40
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x576f10
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [0x5ef2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 0x4c], ebx
xor ecx, ecx
mov byte [ebp - 0x11], 0
push ecx
push ecx
push ecx
push dword [ebp + 8]
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], ecx
mov ecx, ebx
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x20], 0
call fcn.004277a0
test al, al
jne 0x426ec5
push 0x5e37b4
lea eax, [ebp - 0x30]
mov dword [ebp - 0x30], 1
push eax
call fcn.0053d5d3
lea eax, [ebp - 0x2c]
mov ecx, ebx
push eax
call fcn.00427670
test al, al
jne 0x426ee9
push 0x5e37b4
lea eax, [ebp - 0x34]
mov dword [ebp - 0x34], 4
push eax
call fcn.0053d5d3
mov ecx, ebx
call fcn.00427710
mov dword [ebx + 4], eax
cmp eax, 0x194
jne 0x426f0f
push 0x5e37b4
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 5
push eax
call fcn.0053d5d3
lea eax, [ebp - 0x18]
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x426f35
push 0x5e37b4
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 4
push eax
call fcn.0053d5d3
mov eax, dword [ebp - 0x2c]
cmp eax, 0x800000
jbe 0x426f54
push 0x5e37b4
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0xc
push eax
call fcn.0053d5d3
push eax
call fcn.0053f188
push 0x1000
mov dword [ebp - 0x1c], eax
call fcn.0053f188
mov esi, dword [ebp - 0x18]
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
cmp esi, 0x1000
jbe 0x426f91
push edi
call fcn.0053f150
mov esi, dword [ebp - 0x18]
push esi
call fcn.0053f188
mov edi, eax
add esp, 8
mov dword [ebp - 0x24], edi
lea eax, [ebp - 0x20]
push eax
push esi
push edi
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
jne 0x426fb9
push 0x5e37b4
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 8
push eax
call fcn.0053d5d3
push dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
add eax, esi
push edi
push eax
call fcn.0053da30
add esi, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
add esp, 0xc
mov dword [ebp - 0x28], esi
push eax
push dword [ebx + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x426ffa
push 0x5e37b4
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 8
push eax
call fcn.0053d5d3
mov esi, dword [ebp - 0x18]
test esi, esi
jne 0x426f72
mov bl, 1
jmp 0x427021
test edi, edi
je 0x42702e
push edi
call fcn.0053f150
add esp, 4
test bl, bl
je 0x427044
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x1c]
mov dword [eax], ecx
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x28]
mov dword [eax], ecx
jmp 0x42704f
push dword [ebp - 0x1c]
call fcn.0053f150
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x427470
Capabilities:
Receive http response

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x576fc8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x5ef2a0]
xor eax, esp
mov dword [esp + 0x30], eax
push ebx
push esi
push edi
mov eax, dword [0x5ef2a0]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, dword [ebp + 8]
mov esi, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x24], 0
mov dword [esp + 0x3c], 0xf
mov dword [esp + 0x38], 0
mov byte [esp + 0x28], 0
push eax
push edx
push dword [ebp + 0x10]
mov dword [esp + 0x5c], 0
push esi
call fcn.004277a0
test al, al
jne 0x427544
mov dword [ebx + 0x14], 0xf
mov dword [ebx + 0x10], 0
mov byte [ebx], al
mov edx, dword [esp + 0x3c]
cmp edx, 0x10
jae 0x42752f
mov eax, dword [esp + 0x38]
inc eax
je 0x427535
push eax
lea eax, [esp + 0x2c]
push eax
push ebx
call fcn.0053cf80
mov edx, dword [esp + 0x48]
add esp, 0xc
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
jmp 0x427642
mov ecx, dword [esp + 0x28]
mov dword [ebx], ecx
mov ecx, dword [esp + 0x38]
mov dword [ebx + 0x10], ecx
mov dword [ebx + 0x14], edx
jmp 0x427642
mov ecx, edi
call fcn.00427710
mov dword [edi + 4], eax
cmp eax, 0x194
jne 0x42756c
push 0x5e37b4
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], 5
push eax
call fcn.0053d5d3
push 0x1000
call fcn.0053f188
add esp, 4
mov byte [esp + 0x17], 0
mov edi, eax
lea eax, [esp + 0x1c]
push eax
mov eax, dword [esp + 0x1c]
push dword [eax + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
je 0x4275fa
mov esi, dword [esp + 0x1c]
test esi, esi
je 0x4275f5
cmp esi, 0x1000
jbe 0x4275bb
push edi
call fcn.0053f150
mov esi, dword [esp + 0x20]
push esi
call fcn.0053f188
add esp, 8
mov edi, eax
lea eax, [esp + 0x20]
push eax
push esi
mov esi, dword [esp + 0x20]
push edi
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpReadData]
test eax, eax
je 0x4275fa
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push edi
call fcn.00423460
lea eax, [esp + 0x1c]
push eax
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryDataAvailable]
test eax, eax
jne 0x427596
jmp 0x4275fa
mov byte [esp + 0x17], 1
push edi
call fcn.0053f150
add esp, 4
cmp byte [esp + 0x17], 0
jne 0x427623
cmp dword [esp + 0x3c], 0x10
lea eax, [esp + 0x28]
mov dword [esp + 0x38], 0
cmovae eax, dword [esp + 0x28]
mov byte [eax], 0
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.004235f0
cmp dword [esp + 0x3c], 0x10
jb 0x427642
push dword [esp + 0x28]
call fcn.0053ce38
add esp, 4
mov eax, ebx
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x30]
xor ecx, esp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 0x14
Function at 0x427670
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
xor eax, eax
push 0x2e
push eax
mov word [ebp - 0x34], ax
mov esi, ecx
lea eax, [ebp - 0x32]
xor bl, bl
push eax
call fcn.0053f0c0
add esp, 0xc
mov dword [ebp - 0x3c], 0x30
lea eax, [ebp - 0x3c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 5
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
test eax, eax
je 0x4276f1
push 0xa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00541647
add esp, 0xc
mov dword [edi], eax
mov al, 1
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret 4

Function at 0x427710
Capabilities:
Read http header

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor eax, eax
mov esi, ecx
push 0x2e
push eax
mov word [ebp - 0x34], ax
lea eax, [ebp - 0x32]
push eax
call fcn.0053f0c0
add esp, 0xc
mov dword [ebp - 0x3c], 0x30
lea eax, [ebp - 0x3c]
push 0
push eax
lea eax, [ebp - 0x34]
push eax
push 0
push 0x13
push dword [esi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpQueryHeaders]
pop esi
test eax, eax
je 0x427782
push 0xa
lea eax, [ebp - 0x38]
mov dword [ebp - 0x38], 0
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.00541647
add esp, 0xc
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x4279f0
Capabilities:
Set http header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577038
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x5ef2a0]
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 edi, ecx
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x40]
mov ebx, dword [ebp + 0xc]
lea ecx, [edi + 0x24]
push eax
call fcn.00428370
mov edx, eax
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call fcn.004242e0
cmp dword [ebp - 0x2c], 0x10
jb 0x427a51
push dword [ebp - 0x40]
call fcn.0053ce38
add esp, 4
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 0xa0000000
push dword [ebp - 0x18]
cmovae eax, dword [ebp - 0x28]
push eax
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpAddRequestHeaders]
test esi, esi
jne 0x427a76
xor ecx, ecx
jmp 0x427a89
mov ecx, esi
lea edx, [ecx + 1]
jmp 0x427a80
mov al, byte [ecx]
inc ecx
test al, al
jne 0x427a80
sub ecx, edx
push 0
push ecx
push ecx
push esi
test ebx, ebx
jne 0x427a96
push ebx
push ebx
jmp 0x427a99
push 0xffffffffffffffff
push ebx
push dword [edi + 0x14]
call dword [sym.imp.WINHTTP.dll_WinHttpSendRequest]
cmp eax, 1
sete bl
cmp dword [ebp - 0x14], 8
jb 0x427ab9
push dword [ebp - 0x28]
call fcn.0053ce38
add esp, 4
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.0053d5c4
mov esp, ebp
pop ebp
ret 8
Function at 0x42ac40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577433
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x5ef2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00429570
mov dword [edi], eax
lea ecx, [edi + 8]
mov dword [ebp - 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00429570
mov dword [edi + 8], eax
lea ecx, [edi + 0x10]
mov byte [ebp - 4], 1
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
call fcn.00429570
mov dword [edi + 0x10], eax
xor eax, eax
mov dword [edi + 0x2c], 7
mov dword [edi + 0x28], 0
mov word [edi + 0x18], ax
mov dword [edi + 0x40], eax
mov dword [edi + 0x44], 7
mov word [edi + 0x30], ax
mov dword [edi + 0x58], eax
mov dword [edi + 0x5c], 7
mov word [edi + 0x48], ax
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x42d480
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2b0
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x20]
xor eax, eax
push esi
push edi
push 0x7e
push eax
mov word [ebp - 0x84], ax
lea eax, [ebp - 0x82]
push eax
call fcn.0053f0c0
add esp, 0xc
lea eax, [ebp + 8]
cmp dword [ebp + 0x1c], 8
cmovae eax, dword [ebp + 8]
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x22c
lea eax, [ebp - 0x2b0]
push 0
push eax
call fcn.0053f0c0
add esp, 0xc
mov dword [ebp - 0x2b0], 0x22c
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov esi, eax
cmp esi, 0xffffffff
je 0x42d54c
lea eax, [ebp - 0x2b0]
push eax
push esi
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x42d54c
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpW]
jmp 0x42d520
lea eax, [ebp - 0x84]
push eax
lea eax, [ebp - 0x28c]
push eax
call edi
test eax, eax
je 0x42d572
lea eax, [ebp - 0x2b0]
push eax
push esi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x42d520
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x42d55f
push dword [ebp + 8]
call fcn.0053ce38
add esp, 4
mov ecx, dword [ebp - 4]
mov al, bl
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x2a8]
push esi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x84]
push eax
push 0x5816b8
call fcn.0053edf0
add esp, 8
mov bl, 1
jmp 0x42d54e
Function at 0x42d9d0
Capabilities:
Get common file path
Get program files directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577a2b
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x216]
push eax
mov dword [ebp - 0x238], 0
call fcn.0053f0c0
add esp, 0xc
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x234]
push eax
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov eax, dword [ebp - 0x234]
test eax, eax
je 0x42da5a
lea ecx, [ebp - 0x218]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
xor eax, eax
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
cmp word [ebp - 0x218], ax
jne 0x42da84
xor ecx, ecx
jmp 0x42da9f
lea ecx, [ebp - 0x218]
lea edx, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42da90
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00423770
push 0x5d3620
lea eax, [ebp - 0x230]
mov dword [ebp - 4], 0
push eax
push esi
call fcn.0042a180
add esp, 0xc
cmp dword [ebp - 0x21c], 8
jb 0x42dae5
push dword [ebp - 0x230]
call fcn.0053ce38
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret

Function at 0x42db10
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea ecx, [ebp - 8]
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x20]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0x18]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x42db50
mov ecx, dword [ebp - 8]
mov bl, 1
mov eax, dword [ebp - 4]
shrd ecx, eax, 0x14
shr eax, 0x14
mov dword [esi], ecx
jmp 0x42db52
xor bl, bl
cmp dword [ebp + 0x1c], 8
jb 0x42db63
push dword [ebp + 8]
call fcn.0053ce38
add esp, 4
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42db70
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577a81
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5ef2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], 0
mov dword [ebp - 4], 1
mov word [esi], ax
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
push 0
cmovae eax, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], 0x34
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x42dc8a
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00537df9
add esp, 4
mov edi, eax
cmp dword [ebp + 0x20], 8
lea eax, [ebp + 0xc]
cmovae eax, dword [ebp + 0xc]
push edi
push ebx
push 0
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x42dc81
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
push eax
push str.VarFileInfoTranslation
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42dc81
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
lea eax, [ebp - 0x14]
push eax
push 0x5d3620
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x42dc81
mov ecx, dword [ebp - 0x14]
movzx eax, word [ecx + 0xc]
push eax
movzx eax, word [ecx + 0xe]
push eax
movzx eax, word [ecx + 8]
push eax
movzx eax, word [ecx + 0xa]
push eax
push 0x581788
push edi
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
mov ecx, esi
push edi
call fcn.00427ae0
push edi
call fcn.0053ce38
add esp, 4
cmp dword [ebp + 0x20], 8
jb 0x42dc9b
push dword [ebp + 0xc]
call fcn.0053ce38
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x42df20
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx eax, ax
xor ecx, ecx
push eax
lea eax, [ebp - 0x18]
mov word [ebp - 0x18], cx
push 0x5815a0
push eax
call fcn.0042ee10
add esp, 0xc
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00423870
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x42e0e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577b4b
mov eax, dword fs:[0]
push eax
sub esp, 0x828
mov eax, dword [0x5ef2a0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x828]
xor eax, eax
mov dword [ebp - 0x834], 0
push eax
push 0x5d3574
mov dword [ebp - 0x814], 7
mov dword [ebp - 0x818], 0
mov word [ebp - 0x828], ax
call fcn.00423770
lea eax, [ebp - 0x82c]
mov dword [ebp - 4], 0
push eax
push 0x20119
push 0
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x82c], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42e197
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0x5d3574
mov ecx, esi
call fcn.00423870
jmp 0x42e23c
xor eax, eax
push 0x7fe
push eax
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push eax
call fcn.0053f0c0
add esp, 0xc
mov dword [ebp - 0x830], 0x800
lea eax, [ebp - 0x830]
push eax
lea eax, [ebp - 0x810]
push eax
push 0
push 0
push 0x58173c
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42e222
cmp word [ebp - 0x810], ax
jne 0x42e1f3
xor ecx, ecx
jmp 0x42e20f
lea ecx, [ebp - 0x810]
lea edx, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e200
sub ecx, edx
sar ecx, 1
push ecx
lea eax, [ebp - 0x810]
push eax
lea ecx, [ebp - 0x828]
call fcn.00423770
push dword [ebp - 0x82c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x828]
mov ecx, esi
push eax
call fcn.00424270
cmp dword [ebp - 0x814], 8
jb 0x42e253
push dword [ebp - 0x828]
call fcn.0053ce38
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0053d5c4
mov esp, ebp
pop ebp
ret
Function at 0x42e270
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577ba2
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x5ef2a0]
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 eax, dword [ebp + 8]
xor ecx, ecx
mov esi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x218], 0
push ecx
mov dword [eax + 0x14], 7
mov dword [eax + 0x10], 0
mov word [eax], cx
mov ecx, eax
push 0x5d3574
mov dword [ebp - 4], 0
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], eax
call fcn.00423770
push esi
push 0x100
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
push 0x5d3574
push edi
push ebx
mov dword [ebp - 0x218], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
je 0x42e357
cmp word [ebp - 0x210], 0
jne 0x42e32c
xor ecx, ecx
jmp 0x42e344
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x42e335
sub ecx, edx
sar ecx, 1
push ecx
mov ecx, dword [ebp - 0x214]
lea eax, [ebp - 0x210]
push eax
call fcn.00423770
mov eax, dword [ebp - 0x214]
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.0053d5c4
mov esp, ebp
pop ebp
ret

Function at 0x42e430
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
push str.Kill
call fcn.0053edf0
add esp, 8
call fcn.0053edd6
push dword [ebp + 8]
push 0
push 0x42b
call dword [sym.imp.KERNEL32.dll_OpenProcess]
test eax, eax
jne 0x42e460
xor al, al
pop ebp
ret
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov al, 1
pop ebp
ret

Function at 0x42e470
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 1
push 0
push 0
push dword [ebp + 0xc]
push str.Open
push dword [ebp + 8]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop ebp
ret
Function at 0x42e6f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
cmp byte [ebp + 0xc], 0
je 0x42e751
push 0x38
lea eax, [ebp - 0x38]
push 0
push eax
call fcn.0053f0c0
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 0x2c], eax
lea eax, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x3c
mov dword [ebp - 0x34], 0
push eax
mov dword [ebp - 0x30], str.open
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x28], 0x5d3574
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x1c], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov esp, ebp
pop ebp
ret
push str.wdc.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
push str.WdcRunTaskAsInteractiveUser
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x39
push 0
push dword [ebp + 8]
call eax
mov esp, ebp
pop ebp
ret

Function at 0x430f40
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577f9e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x5ef2a0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0x10]
mov dword [edi], 0
push eax
push 0
lea ecx, [edi + 4]
mov dword [ebp - 0x10], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 0
call fcn.00435b40
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
lea eax, [ebp - 0x10]
mov dword [edi + 0x20], 0
push eax
push 0
lea ecx, [edi + 0x24]
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0
mov dword [edi + 0x24], 0
mov dword [edi + 0x28], 0
mov dword [edi + 0x2c], 0
call fcn.00435b40
mov dword [edi + 0x30], 0
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov dword [edi + 0x3c], 0
lea ecx, [edi + 0x40]
mov dword [ecx], 0
mov dword [ecx + 4], 0
mov dword [ecx + 8], 0
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x14]
mov edx, dword [ebp + 0x20]
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], eax
mov eax, dword [ebp + 8]
mov dword [edi + 0x54], eax
mov eax, dword [ebp + 0x1c]
mov dword [edi + 0x5c], eax
mov eax, dword [ebp + 0x18]
mov dword [edi + 0x58], esi
mov dword [edi + 0x60], edx
mov byte [edi + 0x64], 0
mov dword [edi + 0x68], eax
test byte [esi + 8], 8
mov byte [ebp - 4], 2
je 0x431068
test dl, 0x10
jne 0x431068
mov eax, 1
jmp 0x43106a
xor eax, eax
mov byte [edi + 0x6c], al
mov eax, dword [ebp + 0x10]
mov dword [edi + 0x70], eax
push dword [esi + 0x18]
call fcn.00438ce0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x1c