joyce8/EMBER2024-capa huggingface dataset:
Function at 0x562050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x56207d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x56207d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x5a26e6
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x68
lea eax, [esp + 0x10]
push ebx
push esi
push eax
push dword [esp + 0x78]
xor esi, esi
mov ebx, esi
call dword [0x14c45f0]
test eax, eax
je 0x5a287d
push dword [esp + 0x28]
call fcn.004cfea3
test eax, eax
je 0x5a2726
push dword [esp + 0x24]
mov ebx, dword [esp + 0x2c]
call dword [0x14c46bc]
jmp 0x5a287d
push edi
push esi
call dword [0x14c46cc]
mov edi, eax
test edi, edi
je 0x5a286a
push ebp
mov ebp, dword [0x14c4700]
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x38]
call ebp
cmp eax, 0x18
jne 0x5a2862
push 0x2c
lea eax, [esp + 0x50]
push esi
push eax
call fcn.0046cb30
mov eax, dword [esp + 0x44]
add esp, 0xc
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x54], eax
xor eax, eax
push 0x20
inc eax
mov dword [esp + 0x50], 0x28
mov word [esp + 0x5c], ax
pop eax
push esi
push esi
mov word [esp + 0x62], ax
lea eax, [esp + 0x1c]
push eax
push esi
lea eax, [esp + 0x5c]
mov dword [esp + 0x6c], esi
push eax
push edi
call dword [0x14c472c]
mov ebx, eax
mov dword [esp + 0x1c], ebx
test ebx, ebx
je 0x5a2862
mov esi, dword [0x14c46b4]
push ebx
push edi
call esi
push 2
xor eax, eax
push eax
push eax
push dword [esp + 0x48]
push dword [esp + 0x48]
push dword [esp + 0x90]
push eax
push eax
push edi
call dword [0x14c4690]
push dword [esp + 0x2c]
push edi
call esi
lea eax, [esp + 0x34]
push eax
push 0x18
push dword [esp + 0x38]
call ebp
cmp eax, 0x18
jne 0x5a2862
mov ebp, dword [esp + 0x38]
xor esi, esi
mov edx, dword [esp + 0x3c]
mov eax, ebp
shl eax, 2
mov dword [esp + 0x10], eax
test edx, edx
jle 0x5a2862
mov eax, dword [0x14c46c8]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
mov ecx, edx
sub ecx, esi
add eax, 3
dec ecx
xor ebx, ebx
imul ecx, dword [esp + 0x10]
add eax, ecx
mov dword [esp + 0x7c], eax
test ebp, ebp
jle 0x5a2859
push esi
push ebx
push edi
call dword [esp + 0x24]
mov ecx, dword [esp + 0x7c]
test eax, eax
setne al
dec al
mov byte [ecx], al
add ecx, 4
mov ebp, dword [esp + 0x38]
inc ebx
mov dword [esp + 0x7c], ecx
cmp ebx, ebp
jl 0x5a2831
mov edx, dword [esp + 0x3c]
inc esi
cmp esi, edx
jl 0x5a2814
mov ebx, dword [esp + 0x1c]
push edi
call dword [0x14c46b8]
pop ebp
push dword [esp + 0x28]
mov esi, dword [0x14c46bc]
call esi
push dword [esp + 0x2c]
call esi
pop edi
pop esi
mov eax, ebx
pop ebx
add esp, 0x68
ret 4
Function at 0x43b653
Capabilities:
Encode data using xor

Disassembly:
mov ebx, 0x43b3c1
sub edx, 1
call fcn.0043b689
and eax, edx
inc eax
xor dword [ecx], ebx
sub eax, 1
inc ecx
add eax, 0xc5d14ff
cmp ecx, edi
jne fcn.0043b653
dec edx
sub edx, 0xc2d36796
and edx, eax
ret

Function at 0x417470
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.sect_1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x417492
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x417499
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x417488
mov eax, 1
add ebx, ebx
jne 0x4174ab
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4174bc
jne 0x4174cc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4174cc
dec eax
add ebx, ebx
jne 0x4174c8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4174a0
xor ecx, ecx
sub eax, 3
jb 0x4174e4
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x417556
sar eax, 1
mov ebp, eax
jmp 0x4174ef
add ebx, ebx
jne 0x4174ef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4174fc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x417520
inc ecx
add ebx, ebx
jne 0x41750c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x417501
jne 0x41751d
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x417501
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x417540
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x417531
jmp 0x41748e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x417540
add edi, ecx
jmp 0x41748e
pop esi
mov edi, esi
mov ecx, 0xe
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41755e
cmp byte [edi], 3
jne 0x41755e
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov eax, ebx
loop 0x417563
lea edi, [esi + 0x15000]
mov eax, dword [edi]
or eax, eax
je 0x4175db
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1c978]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1c9b4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x417590
mov ecx, edi
jns 0x4175bf
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1c9b8]
or eax, eax
je 0x4175d5
mov dword [ebx], eax
add ebx, 4
jmp 0x4175ad
call dword [esi + 0x1c9bc]
popal
jmp 0x4011a0
Function at 0x40271c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov esi, edx
mov ebx, eax
test ebx, ebx
jne 0x40274b
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.004034ec
jmp 0x402769
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, esi
mov eax, edi
call fcn.004026b0
mov edi, eax
test ebx, ebx
je 0x402769
cmp dword [esi], 0
je 0x402769
dec ebx
jmp 0x402752
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x402938
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x424038], 0x8088405
inc edx
mov dword [0x424038], edx
mul edx
mov eax, edx
ret

Function at 0x402950
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x424038], 0x8088405
inc edx
mov dword [0x424038], edx
fld qword [0x423020]
push 0
push edx
fild qword [esp]
add esp, 8
fscale
fstp st(1)
ret

Function at 0x402ac4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x402b5c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402b3c
xor eax, eax
push ebp
push 0x402b35
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x402b78
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402b3c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x4042f4
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404490
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4043a4
xor eax, eax
push ebp
push 0x40439d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x404386
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x4044b0
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4043a4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404485
cmp byte [ebp - 0xd], 0
jne 0x4043e6
cmp byte [ebp - 0x12], 0
je 0x404485
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x4043ff
dec ebx
cmp byte [ebx], 0x2e
je 0x40440e
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x4043fe
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404485
inc ebx
cmp byte [ebp - 0x12], 0
je 0x40443b
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404485
cmp byte [ebp - 0xd], 0
je 0x404485
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x404485
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406a5c
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406a95
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004034ec
jmp 0x406a9e
mov eax, ebx
mov edx, esi
call fcn.004034a0
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x406aa8
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x406ac9
mov al, byte [esp]
jmp 0x406acb
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40cadc
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov word [ebp - 0x12], dx
mov dword [ebp - 0x10], eax
mov word [ebp - 2], 0
mov word [ebp - 4], 0
movzx eax, word [ebp - 0x12]
mov dword [ebp - 0x18], eax
mov ax, word [ebp - 0x18]
test ax, ax
jbe 0x40cb59
mov word [ebp - 0x1a], ax
mov word [ebp - 6], 1
movzx eax, word [ebp - 6]
mov edx, dword [ebp - 0x10]
mov al, byte [edx + eax - 1]
mov byte [ebp - 7], al
push ax
push bx
push cx
push dx
mov dx, word [ebp - 2]
mov bx, word [ebp - 4]
mov cx, word [ebp - 6]
xor ax, ax
mov al, byte [ebp - 7]
xor dx, ax
mul cl
add bx, ax
mov word [ebp - 2], dx
mov word [ebp - 4], bx
pop dx
pop cx
pop bx
pop ax
inc word [ebp - 6]
dec word [ebp - 0x1a]
jne 0x40cb0f
mov ax, word [ebp - 4]
mov word [ebp - 0xc], ax
mov ax, word [ebp - 2]
mov word [ebp - 0xa], ax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret

Function at 0x40cdd4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
mov word [ebp - 4], ax
cmp dword [0x4245f0], 0
jle 0x40cdf7
call sub.kernel32.dll_GetTickCount
sub eax, dword [0x4245e8]
cmp eax, 0xc8
jle 0x40ce1a
xor eax, eax
call fcn.0040cd24
movzx eax, ax
mov dword [0x4245ec], eax
call sub.kernel32.dll_GetTickCount
mov dword [0x4245e8], eax
mov dword [0x4245f0], 5
dec dword [0x4245f0]
mov ax, word [0x4245ec]
mov word [ebp - 2], ax
mov ax, word [ebp - 2]
pop ecx
pop ebp
ret

Function at 0x40e108
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e199
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.0040dc50
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00403848
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x40e183
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x4238f0]
call fcn.00404610
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40dac0]
call fcn.00407408
call fcn.00402f20
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e1a0
lea eax, [ebp - 0x10]
call fcn.00403408
ret
Function at 0x40e1ac
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40e247
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00403848
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x40e221
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x423948]
call fcn.00404610
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x40dac0]
call fcn.00407408
call fcn.00402f20
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0040dc80
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e24e
lea eax, [ebp - 0x10]
call fcn.00403408
ret

Function at 0x40f5f8
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x40f5fe
ret

Function at 0x411720
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x411771
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x411758
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jne 0x411748
jmp 0x411771
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jne 0x411759
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x417ab0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffce8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x318], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x417ce5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x11c]
mov ecx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
xor ecx, ecx
mov cl, byte [ebp - 0x11c]
lea edx, [ebp - 0x11b]
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 4]
add eax, 0x10
lea edx, [ebp - 0x11c]
call fcn.00403628
mov eax, dword [ebp - 4]
lea edx, [eax + 0x14]
mov ecx, 1
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
lea edx, [ebp - 0x18]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 8]
call fcn.0040b920
add eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x311]
push eax
push 0x1f4
call sub.kernel32.dll_GetTempPathA
lea edx, [ebp - 0x14]
lea eax, [ebp - 0x311]
call fcn.00406504
cmp dword [ebp - 0x14], 0
je 0x417b8d
mov eax, dword [ebp - 0x14]
call fcn.00403684
mov edx, dword [ebp - 0x14]
cmp byte [edx + eax - 1], 0x5c
je 0x417b8d
lea eax, [ebp - 0x14]
mov edx, 0x417cfc
call fcn.0040368c
xor eax, eax
push ebp
push 0x417c5c
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x318]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x10]
call fcn.0040634c
mov ecx, dword [ebp - 0x318]
lea eax, [ebp - 0xc]
mov edx, dword [ebp - 0x14]
call fcn.004036d0
mov eax, dword [ebp - 0xc]
call fcn.004062e4
xor eax, eax
push ebp
push 0x417bf3
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xffff
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x409508]
call fcn.0040bb6c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x417c29
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.0040ba6c
mov eax, ebx
call fcn.00402c10
mov eax, dword [ebp - 4]
mov byte [eax + 0xc], 1
mov eax, dword [ebp - 4]
add eax, 0x10
mov edx, dword [ebp - 0xc]
call fcn.0040345c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x417c73
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x18]
call fcn.0040a2dc
lea edx, [ebp - 0x10]
mov ecx, 4
mov eax, dword [ebp - 8]
mov ebx, dword [eax]
call dword [ebx + 4]
mov eax, dword [ebp - 0x10]
mov ebx, eax
dec ebx
test ebx, ebx
jl 0x417cbc
inc ebx
mov dword [ebp - 0x10], 0
push 0
xor ecx, ecx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.00417d00
mov edx, dword [ebp - 8]
call fcn.00417870
inc dword [ebp - 0x10]
dec ebx
jne 0x417ca0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x417cec
lea eax, [ebp - 0x318]
call fcn.00403408
lea eax, [ebp - 0x14]
call fcn.00403408
lea eax, [ebp - 0xc]
call fcn.00403408
ret
Function at 0x41e790
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc0
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403838
xor eax, eax
push ebp
push 0x41e819
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [0x423858], 1
mov dword [ebp - 0x40], 0x3c
mov dword [ebp - 0x3c], 0x40
xor eax, eax
mov dword [ebp - 0x38], eax
mov eax, 0x41e824
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 4]
call fcn.00403848
mov dword [ebp - 0x30], eax
mov eax, 0x41e82c
mov dword [ebp - 0x2c], eax
mov eax, 0x41e82c
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x24], 5
lea eax, [ebp - 0x40]
push eax
call sub.shell32.dll_ShellExecuteExA
mov byte [0x423858], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41e820
lea eax, [ebp - 4]
call fcn.00403408
ret
Function at 0x42101c
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
xor eax, eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x42111e
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, 0x104
call fcn.00403910
push 0x104
mov eax, dword [ebp - 4]
call fcn.00403848
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 4]
xchg edx, eax
call fcn.00403910
mov eax, dword [ebp - 4]
call fcn.00403684
test eax, eax
jle 0x421091
mov eax, dword [ebp - 4]
call fcn.00403684
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x421091
lea eax, [ebp - 4]
mov edx, 0x421134
call fcn.0040368c
lea eax, [ebp - 8]
mov ecx, 0x421140
mov edx, dword [ebp - 4]
call fcn.004036d0
mov eax, dword [ebp - 8]
call fcn.00403848
push eax
call sub.kernel32.dll_LoadLibraryA
mov ebx, eax
test ebx, ebx
je 0x421103
push 0x421148
push ebx
call sub.kernel32.dll_GetProcAddress
mov esi, eax
test esi, esi
je 0x4210fd
push 0
push 0
lea edx, [ebp - 8]
mov eax, 2
call fcn.0040271c
mov edx, dword [ebp - 8]
lea eax, [ebp - 0x108]
mov ecx, 0xff
call fcn.00403660
lea eax, [ebp - 0x108]
call fcn.0040cc90
push eax
push 0x42115c
call esi
push ebx
call sub.kernel32.dll_FreeLibrary_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421125
lea eax, [ebp - 8]
mov edx, 2
call fcn.0040342c
ret
Function at 0x421164
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4212fb
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
cmp byte [0x42386c], 0
jne 0x4212e0
cmp byte [0x423874], 0
je 0x4211a0
mov bl, 1
jmp 0x4212e0
xor edx, edx
push ebp
push 0x4212be
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [0x42386c], 1
mov dl, 1
mov eax, dword [0x40db14]
call fcn.0040dca8
mov esi, eax
mov edx, 0x80000001
mov eax, esi
call fcn.0040dd3c
xor ecx, ecx
mov edx, 0x421314
mov eax, esi
call fcn.0040de98
test al, al
je 0x4212b2
mov edx, 0x421334
mov eax, esi
call fcn.0040e0d8
test eax, eax
je 0x4212ae
push 0xffffffffffffffff
call sub.user32.dll_ShowCursor
lea eax, [ebp - 8]
mov edx, 0x104
call fcn.00403910
push 0x104
mov eax, dword [ebp - 8]
call fcn.00403848
push eax
call sub.kernel32.dll_GetSystemDirectoryA
lea edx, [ebp - 8]
xchg edx, eax
call fcn.00403910
mov eax, dword [ebp - 8]
call fcn.00403684
test eax, eax
jle 0x421254
mov eax, dword [ebp - 8]
call fcn.00403684
mov edx, dword [ebp - 8]
cmp byte [edx + eax - 1], 0x5c
je 0x421254
lea eax, [ebp - 8]
mov edx, 0x421354
call fcn.0040368c
lea eax, [ebp - 0xc]
mov ecx, 0x421360
mov edx, dword [ebp - 8]
call fcn.004036d0
mov eax, dword [ebp - 0xc]
call fcn.00403848
push eax
call sub.kernel32.dll_LoadLibraryA
mov esi, eax
test esi, esi
jne 0x42127c
mov bl, 1
jmp 0x42129b
push 0x421370
push esi
call sub.kernel32.dll_GetProcAddress
mov edi, eax
mov eax, dword [ebp - 4]
push eax
call edi
test al, al
je 0x421295
mov bl, 1
push esi
call sub.kernel32.dll_FreeLibrary_1
mov dword [0x423854], 4
push 0
call sub.user32.dll_ShowCursor
jmp 0x4212b4
mov bl, 1
jmp 0x4212b4
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4212ca
mov byte [0x42386c], 0
mov byte [0x423874], bl
mov eax, dword [0x42385c]
mov byte [eax + 5], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x421302
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.0040342c
ret