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

Disassembly:
push 0x134
mov eax, 0x46e7c3
call fcn.0045f4d4
mov eax, dword [ebp + 8]
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x18], 8
mov dword [ebp - 0x13c], eax
mov byte [ebp - 0x131], bl
jb 0x41ccb8
mov eax, dword [esi + 4]
jmp 0x41ccbb
lea eax, [esi + 4]
push ebx
push 0x80
push 3
push ebx
push ebx
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x138], eax
cmp eax, 0xffffffff
jne 0x41cd1f
push esi
lea eax, [ebp - 0x2c]
push 0x40cc58
push eax
call fcn.00414de7
add esp, 0xc
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41ccfd
lea eax, [ebp - 0x28]
mov esi, dword [0x481200]
push eax
call fcn.0042d74e
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
xor al, al
jmp 0x41ce17
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi + 2]
push eax
call fcn.0043e65e
mov esi, eax
pop ecx
cmp esi, ebx
jne 0x41cd6c
push 0x40cc88
lea ecx, [ebp - 0x2c]
call fcn.004132cd
xor edi, edi
inc edi
mov dword [ebp - 4], edi
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x41cd58
lea eax, [ebp - 0x28]
mov esi, dword [0x481200]
push eax
call fcn.0042d74e
or dword [ebp - 4], 0xffffffff
push ebx
push edi
jmp 0x41cd10
lea eax, [edi + 2]
push eax
push ebx
push esi
call fcn.00443420
add esp, 0xc
push ebx
lea eax, [ebp - 0x140]
push eax
push edi
push esi
push dword [ebp - 0x138]
mov dword [ebp - 0x140], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x41cdfe
mov eax, 0xfeff
cmp word [esi], ax
jne 0x41cdb5
mov ecx, dword [ebp - 0x13c]
lea eax, [esi + 2]
push eax
call fcn.00413ccf
jmp 0x41cdf7
push esi
lea ecx, [ebp - 0x130]
call fcn.0041cef8
mov dword [ebp - 4], 2
push dword [ebp - 0x130]
mov ecx, dword [ebp - 0x13c]
call fcn.00413ccf
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x12c]
cmp dword [ebp - 0x130], eax
je 0x41cdf7
push dword [ebp - 0x130]
call fcn.0043e815
pop ecx
mov byte [ebp - 0x131], 1
push esi
call fcn.0043e6e2
pop ecx
push dword [ebp - 0x138]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x131]
call fcn.0045f566
ret 4

Function at 0x41d610
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46bbbc
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push ebx
push edi
mov eax, dword [0x47c144]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
lea eax, [esp + 0xc]
push eax
xor edi, edi
call fcn.00420369
mov dword [esp + 0x50], 1
lea eax, [esi + 0x4c]
mov dword [esp + 0xc], 0x40dbe4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], 4
mov dword [esp + 0x3c], edi
mov dword [esp + 0x40], edi
mov dword [esp + 0x34], 0xa
mov dword [esp + 0x38], edi
mov dword [esp + 0x50], 2
mov eax, dword [esi + 0x40]
cmp dword [eax], edi
je 0x41d698
push dword [eax]
lea ebx, [esp + 0x10]
call fcn.0041f21b
mov edi, eax
or dword [esp + 0x50], 0xffffffff
lea eax, [esp + 0xc]
push eax
call fcn.00420391
mov eax, edi
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41e4bd
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov ebx, ecx
mov ecx, dword [0x481200]
push 0x40d6c8
mov edi, eax
mov esi, edx
call fcn.0042d50a
xor ecx, ecx
cmp ebx, ecx
jne 0x41e4fd
push 0x40d700
mov esi, dword [0x481200]
call fcn.0042d74e
xor al, al
jmp 0x41e5d9
cmp edi, 0xffffffff
je 0x41e50a
cmp dword [esi + 0xc4], ecx
je 0x41e514
xor edx, edx
inc edx
mov dword [ebp - 4], edx
xor edi, edi
jmp 0x41e517
xor edx, edx
inc edx
cmp dword [ebx], ecx
je 0x41e52b
mov ecx, dword [esi + 0xd4]
mov eax, dword [ecx]
call dword [eax + 0xc]
jmp 0x41e5d7
cmp edi, edx
mov eax, edx
jl 0x41e557
mov ebx, dword [esi + 0x3c]
mov ebx, dword [ebx]
mov dword [esi + 0x3c], ebx
cmp ebx, dword [esi + 0x34]
je 0x41e545
inc eax
cmp eax, edi
jle 0x41e531
jmp 0x41e557
cmp eax, edx
jl 0x41e555
dec eax
mov ecx, dword [esi + 0x3c]
mov ecx, dword [ecx + 4]
mov dword [esi + 0x3c], ecx
jne 0x41e549
mov ecx, edx
cmp dword [ebp - 4], 0
je 0x41e569
mov eax, dword [esi + 0x34]
mov dword [esi + 0x3c], eax
mov eax, dword [eax + 4]
mov dword [esi + 0x3c], eax
test ecx, ecx
jne 0x41e5c7
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [eax + 4]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e58f
lea ecx, [eax + 4]
jmp 0x41e591
xor ecx, ecx
mov eax, dword [esi + 0x40]
cmp eax, ecx
je 0x41e59e
push 0
push dword [eax]
call edi
mov eax, dword [esi + 0x3c]
mov eax, dword [eax + 8]
test eax, eax
je 0x41e5ad
add eax, 4
jmp 0x41e5af
xor eax, eax
push 5
push dword [esi + 4]
mov dword [esi + 0x40], eax
call edi
test eax, eax
jne 0x41e5c7
push 0x40d74c
jmp 0x41e4eb
mov ecx, dword [0x481200]
push 0x40d774
call fcn.0042d50a
mov al, 1
pop edi
pop esi
pop ebx
leave
ret
Function at 0x420eda
Capabilities:
Get common file path

Disassembly:
push 0x2dc
mov eax, 0x46da0b
call fcn.0045f4d4
push dword [ebp + 0xc]
mov dword [ebp - 0x25c], esi
push dword [ebp + 8]
push esi
call fcn.00421a23
xor ebx, ebx
mov dword [ebp - 4], ebx
lea edi, [esi + 8]
lea ecx, [esi + 0x2c4]
mov dword [esi], 0x40dd68
mov dword [edi], 0x40ddb0
mov byte [esi + 0x2c0], bl
mov byte [esi + 0x2c1], bl
call fcn.00411d68
mov byte [ebp - 4], 1
lea ecx, [esi + 0x2e0]
call fcn.00411d68
mov byte [ebp - 4], 2
push 1
push edi
lea eax, [esi + 0x2fc]
push eax
call fcn.00421b44
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x258]
call fcn.00411d68
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x23c]
call fcn.00411d68
mov byte [ebp - 4], 5
mov ecx, dword [0x481204]
lea eax, [ebp - 0x258]
push eax
push 0x1d
pop eax
call fcn.0041bb12
mov ecx, dword [0x481204]
lea eax, [ebp - 0x23c]
push eax
push 0x17
pop eax
call fcn.0041bb12
push 0x40dcec
lea ecx, [ebp - 0x2b0]
call fcn.004132cd
mov edi, eax
mov byte [ebp - 4], 6
push 0x40dcf8
lea ecx, [ebp - 0x294]
call fcn.004132cd
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x258]
push eax
lea eax, [ebp - 0x2cc]
push eax
call fcn.00419238
add esp, 0xc
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x23c]
push ecx
push eax
lea eax, [ebp - 0x278]
push eax
call fcn.00419238
add esp, 0xc
mov byte [ebp - 4], 9
push edi
push eax
lea eax, [ebp - 0x2e8]
push eax
call fcn.00419238
add esp, 0xc
mov byte [ebp - 4], 0xa
push eax
lea ecx, [esi + 0x2c4]
call fcn.00411d93
mov byte [ebp - 4], 9
xor edi, edi
push ebx
inc edi
push edi
lea ecx, [ebp - 0x2e8]
call fcn.00411dad
mov byte [ebp - 4], 8
push ebx
push edi
lea ecx, [ebp - 0x278]
call fcn.00411dad
mov byte [ebp - 4], 7
push ebx
push edi
lea ecx, [ebp - 0x2cc]
call fcn.00411dad
mov byte [ebp - 4], 6
push ebx
push edi
lea ecx, [ebp - 0x294]
call fcn.00411dad
mov byte [ebp - 4], 5
push ebx
push edi
lea ecx, [ebp - 0x2b0]
call fcn.00411dad
push 0x40dd04
lea ecx, [esi + 0x2e0]
call fcn.00413ccf
xor eax, eax
push 0x208
mov word [ebp - 0x220], ax
lea eax, [ebp - 0x21e]
push ebx
push eax
call fcn.00443420
add esp, 0xc
push 0x104
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x40dd20
push 0x20a
lea eax, [ebp - 0x220]
push eax
call fcn.00421cb0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov byte [ebp - 4], 4
push ebx
push edi
lea ecx, [ebp - 0x23c]
call fcn.00411dad
mov byte [ebp - 4], 3
push ebx
push edi
lea ecx, [ebp - 0x258]
call fcn.00411dad
or dword [ebp - 4], 0xffffffff
mov eax, esi
call fcn.0045f566
ret 8
Function at 0x42197e
Capabilities:
Create process on windows

Disassembly:
push 0x1c
mov eax, 0x46db77
call fcn.0045f461
mov esi, ecx
call fcn.0041aac5
cmp eax, 1
lea eax, [esi + 0x2e0]
je 0x4219a2
lea eax, [esi + 0x2c4]
cmp dword [eax + 0x18], 8
jb 0x4219ad
mov ecx, dword [eax + 4]
jmp 0x4219b0
lea ecx, [eax + 4]
push 0
mov eax, 0x409384
push eax
push eax
push ecx
push 0x40dd58
push dword [esi + 4]
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
ja 0x421a16
lea eax, [esi + 0x2c4]
cmp dword [eax + 0x18], 8
jb 0x4219de
mov eax, dword [eax + 4]
jmp 0x4219e1
add eax, 4
push eax
push 0x122c
lea eax, [ebp - 0x28]
push eax
call fcn.0044be86
and dword [ebp - 4], 0
mov esi, dword [esi + 0x24]
lea ecx, [esi + 0x28]
mov edx, dword [ecx]
push 0
push eax
call dword [edx + 0xc]
or dword [ebp - 4], 0xffffffff
push 0
push 1
lea ecx, [ebp - 0x28]
call fcn.00411dad
xor al, al
jmp 0x421a18
mov al, 1
call fcn.0045f54d
ret

Function at 0x422a88
Capabilities:
Create process on windows

Disassembly:
push 0x2c
mov eax, 0x46d0c6
call fcn.0045f4d4
mov esi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
xor ebx, ebx
sub ecx, 0x100
mov dword [ebp - 0x30], ebx
je 0x422ad4
sub ecx, 0x11
je 0x422ac0
sub ecx, 0xf1
jne 0x422bf2
mov ecx, dword [eax + 0x2b4]
jmp 0x422ae8
mov ecx, esi
shr ecx, 0x10
cmp cx, 1
jne 0x422ad0
movzx ecx, si
jmp 0x422ae8
mov dword [edx], ebx
jmp 0x422aeb
cmp esi, 0xd
je 0x422ae2
cmp esi, 0x20
jne 0x422bf2
mov ecx, dword [eax + 0x2b0]
mov dword [ebp - 0x30], ecx
mov esi, dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov edi, 0x40de6c
cmp dword [ebp - 0x30], ebx
je 0x422bb0
mov ecx, dword [ebp - 0x30]
mov edx, dword [eax + 0x2e8]
add ecx, 0xfffffeb8
mov dword [ebp - 0x38], edx
cmp ecx, edx
jae 0x422bb0
mov edx, dword [ebp - 0x30]
add edx, 0xfffffeb8
js 0x422bb0
mov eax, dword [eax + 0x2e4]
mov eax, dword [eax]
mov dword [ebp - 0x34], ebx
cmp ecx, ebx
jbe 0x422b4b
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x38]
jae 0x422b49
inc dword [ebp - 0x34]
mov eax, dword [eax]
cmp dword [ebp - 0x34], ecx
jb 0x422b37
xor ebx, ebx
lea ecx, [ebp - 0x2c]
add eax, 8
push ecx
push eax
call fcn.00421d4c
mov dword [ebp - 4], ebx
push 0x409384
lea ecx, [ebp - 0x2c]
call fcn.0041504c
test eax, eax
je 0x422ba1
push 0x40de34
lea ecx, [ebp - 0x2c]
call fcn.0041504c
test eax, eax
jne 0x422b8c
push 1
push ebx
push 0x40de3c
push 0x40de54
jmp 0x422b9d
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x422b98
lea eax, [ebp - 0x28]
push 1
push ebx
push ebx
push eax
push edi
push ebx
call esi
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
cmp dword [ebp - 0x30], 0x26d
jne 0x422bf2
push 0x12cb
lea eax, [ebp - 0x2c]
push eax
call fcn.0044be4b
xor ecx, ecx
inc ecx
mov dword [ebp - 4], ecx
cmp dword [eax + 0x18], 8
jb 0x422bd8
mov eax, dword [eax + 4]
jmp 0x422bdb
add eax, 4
push ecx
push ebx
push ebx
push eax
push edi
push ebx
call esi
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
xor eax, eax
call fcn.0045f566
ret 8
Function at 0x42344c
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46d044
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
mov eax, dword [0x47c144]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [edi + 0x2c8]
mov ebx, dword [eax]
or dword [esp + 0x1c], 0xffffffff
cmp ebx, eax
je 0x4235dd
mov eax, 0x145
mov dword [esp + 0x18], eax
jmp 0x42349d
mov eax, dword [esp + 0x18]
lea ecx, [eax - 0x145]
cmp ecx, 3
jge 0x4235dd
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
add eax, 0xffffffdd
push eax
push dword [edi + 4]
call esi
push dword [esp + 0x18]
mov dword [esp + 0x14], eax
push dword [edi + 4]
call esi
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push dword [esp + 0x14]
mov dword [esp + 0x1c], eax
call esi
push 5
push dword [esp + 0x18]
call esi
sub esp, 0x1c
mov ecx, esp
mov dword [esp + 0x3c], esp
lea eax, [ebx + 8]
push ecx
push eax
call fcn.00422fc9
and dword [esp + 0x4c], 0
push edi
or dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x30]
call fcn.0042b140
push 0x64
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea esi, [ebx + 8]
push esi
call fcn.00422fc9
mov dword [esp + 0x50], 1
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0x54], 0xffffffff
mov edx, dword [esp + 0x34]
mov ecx, edi
call fcn.004238f2
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x3c], esp
push eax
push esi
call fcn.00423003
mov dword [esp + 0x4c], 2
push edi
or dword [esp + 0x50], 0xffffffff
mov esi, dword [esp + 0x34]
call fcn.0042b195
push 0x64
sub esp, 0x1c
mov eax, esp
mov dword [esp + 0x40], esp
push eax
lea eax, [ebx + 8]
push eax
call fcn.00423003
mov dword [esp + 0x50], 3
lea eax, [esp + 0x3c]
push eax
or dword [esp + 0x54], 0xffffffff
mov edx, esi
mov ecx, edi
call fcn.004238f2
cmp byte [ebx + 0x68], 0
push 0
je 0x42359e
push 1
jmp 0x4235a0
push 0
push 0xf1
push dword [esp + 0x1c]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp byte [ebx + 0x69], 0
jne 0x4235cb
mov esi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push dword [esp + 0x14]
call esi
push 0
push dword [esp + 0x18]
call esi
mov ebx, dword [ebx]
inc dword [esp + 0x18]
cmp ebx, dword [edi + 0x2c8]
jne 0x423499
mov eax, dword [ebp + 8]
mov dword [eax], 1
xor eax, eax
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x424037
Capabilities:
Get graphical window text

Disassembly:
push 0x440
mov eax, 0x46fd1e
call fcn.0045f4d4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x430], eax
xor eax, eax
mov ebx, 0x208
push ebx
mov word [ebp - 0x21c], ax
xor esi, esi
lea eax, [ebp - 0x21a]
push esi
push eax
call fcn.00443420
xor eax, eax
push ebx
mov word [ebp - 0x428], ax
lea eax, [ebp - 0x426]
push esi
push eax
call fcn.00443420
add esp, 0x18
push 0x13a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x105
lea ecx, [ebp - 0x21c]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004132cd
mov dword [ebp - 4], esi
lea edx, [ebp - 0x44c]
mov ecx, edi
call fcn.004242fe
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
or dword [ebp - 4], 0xffffffff
push esi
push 1
lea ecx, [ebp - 0x44c]
call fcn.00411dad
test bl, bl
je 0x424111
lea eax, [edi + 0x2c8]
cmp dword [eax + 0x18], 8
jb 0x4240f9
mov eax, dword [eax + 4]
jmp 0x4240fc
add eax, 4
push eax
lea eax, [ebp - 0x21c]
push 0x105
push eax
call fcn.0043e66e
add esp, 0xc
mov eax, dword [edi + 0x24]
lea ebx, [edi + 0x2e4]
mov dword [ebx + 0x54c], eax
lea eax, [ebp - 0x21c]
push eax
lea ecx, [ebx + 0x528]
call fcn.00413ccf
lea eax, [ebp - 0x21c]
push eax
lea esi, [ebx + 0x20]
call fcn.0042e98f
mov dword [ebx + 0x548], 0x6a
call dword [sym.imp.USER32.dll_GetActiveWindow]
push ebx
lea esi, [ebx + 8]
mov dword [ebp - 0x42c], eax
call fcn.0041f6fc
push dword [ebp - 0x42c]
mov ebx, dword [0x47ed8c]
call fcn.00429ff9
xor ebx, ebx
inc ebx
cmp eax, ebx
jne 0x424225
lea eax, [edi + 0x5e2]
push eax
lea eax, [ebp - 0x428]
push 0x105
push eax
call fcn.0043e66e
add esp, 0xc
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x44c]
call fcn.004132cd
mov dword [ebp - 4], ebx
lea edx, [ebp - 0x44c]
mov ecx, edi
call fcn.004242fe
mov esi, eax
or dword [ebp - 4], 0xffffffff
push 0
push ebx
lea ecx, [ebp - 0x44c]
call fcn.00411dad
test esi, esi
je 0x424225
lea eax, [ebp - 0x428]
lea esi, [edi + 0x2c8]
push eax
mov ecx, esi
call fcn.00413ccf
cmp dword [esi + 0x18], 8
jb 0x4241f0
mov esi, dword [esi + 4]
jmp 0x4241f3
add esi, 4
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x42c], esp
push esi
call fcn.004132cd
mov dword [ebp - 4], 2
push 0x13a
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push edi
or dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.0042b195
mov eax, dword [ebp - 0x430]
mov dword [eax], ebx
xor eax, eax
call fcn.0045f566
ret 4
Function at 0x42c529
Capabilities:
Create process on windows

Disassembly:
push 0x20
mov eax, 0x46ae52
call fcn.0045f4d4
mov esi, dword [ebp + 8]
xor ebx, ebx
xor eax, eax
sub ecx, 0x100
je 0x42c571
sub ecx, 0x11
je 0x42c55d
sub ecx, 0xf1
jne 0x42c5f4
mov eax, dword [esi + 0x2b4]
jmp 0x42c581
mov ecx, edi
shr ecx, 0x10
cmp cx, 1
jne 0x42c56d
movzx eax, di
jmp 0x42c581
mov dword [edx], ebx
jmp 0x42c581
cmp edi, 0xd
je 0x42c57b
cmp edi, 0x20
jne 0x42c5f4
mov eax, dword [esi + 0x2b0]
cmp eax, ebx
je 0x42c5f4
cmp eax, 0x26b
jne 0x42c5f4
lea ecx, [ebp - 0x2c]
call fcn.00411d68
mov dword [ebp - 4], ebx
mov ecx, dword [0x481204]
lea eax, [ebp - 0x2c]
push eax
push 8
pop eax
call fcn.0041bb12
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
jae 0x42c5b5
lea eax, [ebp - 0x28]
mov esi, dword [0x481200]
push eax
push 0x40e93c
call fcn.0042d7ea
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x28]
pop ecx
pop ecx
jae 0x42c5d4
lea eax, [ebp - 0x28]
push 1
push ebx
push ebx
push eax
push 0x40de6c
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
push ebx
push 1
lea ecx, [ebp - 0x2c]
call fcn.00411dad
xor eax, eax
call fcn.0045f566
ret 4
Function at 0x42c67a
Capabilities:
Create process on windows
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x26c
mov eax, dword [0x47c144]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x18], 8
lea ebx, [edi + 4]
jb 0x42c6a1
mov eax, dword [ebx]
jmp 0x42c6a3
mov eax, ebx
mov esi, dword [0x481200]
push eax
push 0x40e970
call fcn.0042d7ea
xor esi, esi
cmp dword [edi + 0x18], 8
pop ecx
pop ecx
mov dword [ebp - 0x210], esi
jb 0x42c6c6
mov ebx, dword [ebx]
lea eax, [ebp - 0x210]
push eax
push 1
push esi
push ebx
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42c6f5
mov ecx, dword [0x481200]
push 0x40e9c0
call fcn.0042d50a
jmp 0x42c7fc
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.00443420
add esp, 0xc
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push esi
push esi
push dword [ebp - 0x210]
mov dword [ebp - 0x218], 0x103
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42c75f
mov ecx, dword [0x481200]
push 0x40e9dc
call fcn.0042d50a
jmp 0x42c7f0
push 0x44
pop edi
push edi
lea eax, [ebp - 0x26c]
push esi
push eax
call fcn.00443420
mov dword [ebp - 0x26c], edi
xor eax, eax
lea edi, [ebp - 0x228]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x228]
push eax
lea eax, [ebp - 0x26c]
push eax
push esi
push esi
push 0x10
push 1
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
lea eax, [ebp - 0x20c]
push eax
je 0x42c7de
mov esi, dword [0x481200]
push 0x40ea00
call fcn.0042d7ea
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
pop ecx
push dword [ebp - 0x228]
call esi
push dword [ebp - 0x224]
call esi
jmp 0x42c7f0
mov ecx, dword [0x481200]
push 0x40ea50
call fcn.0042d856
pop ecx
pop ecx
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043e052
leave
ret
Function at 0x42d440
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x47c144]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [esi + 4], 0xffffffff
je 0x42d45f
mov al, 1
jmp 0x42d4f9
cmp dword [esi + 0x20], 8
jb 0x42d46a
mov eax, dword [esi + 0xc]
jmp 0x42d46d
lea eax, [esi + 0xc]
push ebx
xor ebx, ebx
push ebx
push 0x80000080
push 4
push ebx
push 3
push 0xc0000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 4], eax
cmp eax, 0xffffffff
jne 0x42d493
xor al, al
jmp 0x42d4f8
cmp dword [esi + 0x2c], ebx
jne 0x42d4d1
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42d4d1
push 6
pop eax
push ebx
lea ecx, [ebp - 0x10]
push ecx
push eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
push eax
push dword [esi + 4]
mov byte [ebp - 0xc], 0xff
mov byte [ebp - 0xb], 0xfe
mov byte [ebp - 0xa], 0xd
mov byte [ebp - 9], bl
mov byte [ebp - 8], 0xa
mov byte [ebp - 7], bl
call dword [sym.imp.KERNEL32.dll_WriteFile]
push 2
push ebx
push ebx
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push 0x40ece0
mov ecx, esi
call fcn.0042d50a
push 0x40ec90
mov ecx, esi
call fcn.0042d50a
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043e052
leave
ret

Function at 0x42d677
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea ebx, [edi + 0x30]
push ebx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [edi + 4], 0xffffffff
jne 0x42d6aa
mov esi, edi
call fcn.0042d440
cmp dword [edi + 4], 0xffffffff
jne 0x42d6aa
push ebx
jmp 0x42d73c
mov eax, dword [ebp + 0xc]
xor ebx, ebx
xor esi, esi
lea edx, [eax + 2]
cmp dword [edi + 0x2c], ebx
je 0x42d704
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x42d6b9
sub eax, edx
sar eax, 1
lea edi, [eax + eax + 2]
push edi
call fcn.0043e65e
push edi
mov esi, eax
push ebx
push esi
call fcn.00443420
add esp, 0x10
push ebx
push ebx
push edi
push esi
push 0xffffffffffffffff
push dword [ebp + 0xc]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov eax, esi
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x42d6f4
sub eax, edi
mov edi, dword [ebp + 8]
mov ecx, esi
jmp 0x42d717
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x42d704
mov ecx, dword [ebp + 0xc]
sub eax, edx
sar eax, 1
add eax, eax
cmp eax, ebx
je 0x42d72e
push ebx
lea edx, [ebp - 8]
push edx
push eax
push ecx
push dword [edi + 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
cmp esi, ebx
je 0x42d739
push esi
call fcn.0043e6e2
pop ecx
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x42dece
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46e4d1
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x47c144]
xor eax, esp
mov dword [esp + 0x48], eax
push ebx
push esi
push edi
mov eax, dword [0x47c144]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [0x47dfb0], ebx
je 0x42df39
cmp dword [0x47dfcc], ebx
je 0x42df39
mov al, 1
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x48]
xor ecx, esp
call fcn.0043e052
mov esp, ebp
pop ebp
ret
mov dword [esp + 0x14], ebx
mov dword [esp + 0x68], 1
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.SHELL32.dll_SHGetDesktopFolder]
test eax, eax
jge 0x42df67
or dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.004283cb
xor al, al
jmp 0x42df1b
mov edi, dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
mov esi, 0x8000
cmp dword [0x47dfb0], ebx
jne 0x42dfca
lea eax, [esp + 0x18]
push eax
push 0x11
push ebx
call edi
test eax, eax
jl 0x42df54
push 1
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push dword [esp + 0x20]
call fcn.0042de20
mov byte [esp + 0x68], 2
push 1
push esi
push 0x47df9c
lea ecx, [esp + 0x2c]
call fcn.0042e594
lea ecx, [esp + 0x20]
call fcn.0042e0af
mov byte [esp + 0x68], 1
lea eax, [esp + 0x20]
push eax
call fcn.0042e068
cmp dword [0x47dfcc], ebx
jne 0x42e05f
lea eax, [esp + 0x18]
push eax
push 0x12
push ebx
call edi
test eax, eax
jge 0x42dffa
or dword [esp + 0x68], 0xffffffff
lea eax, [esp + 0x14]
push eax
call fcn.004283cb
mov al, bl
jmp 0x42df1b
push 1
push ebx
push dword [esp + 0x20]
lea ecx, [esp + 0x2c]
push dword [esp + 0x20]
call fcn.0042de20
mov byte [esp + 0x68], 3
push 1
push esi
push 0x47dfb8
lea ecx, [esp + 0x2c]
call fcn.0042e594
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x24]
push eax
call fcn.0042e0f6
mov byte [esp + 0x68], 4
lea ecx, [esp + 0x20]
call fcn.0042e0af
mov byte [esp + 0x68], 3
lea eax, [esp + 0x1c]
push eax
call fcn.004283cb
mov byte [esp + 0x68], 1
lea eax, [esp + 0x20]
push eax
call fcn.0042e068
mov bl, 1
jmp 0x42dfe4