joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101656b0
Capabilities:
Terminate process

Disassembly:
cmp dword [str._AdobeIP0000539_], 0
jne 0x101656c1
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
jmp 0x101a8720
movss xmm5, dword [0x101ef754]
movss xmm4, dword [0x101ef75c]
movss xmm6, dword [0x101ef750]
movss xmm7, dword [0x101ef748]
movss xmm3, dword [0x101b35f8]
push esi
xor esi, esi
nop dword [eax + eax]
movd xmm0, esi
mov eax, esi
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
sub esp, 8
addsd xmm0, qword [eax*8 + 0x101f2780]
cvtpd2ps xmm2, xmm0
movaps xmm0, xmm4
movaps xmm1, xmm2
mulss xmm1, xmm5
subss xmm0, xmm1
cvtss2sd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, xmm6
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, xmm7
add ecx, eax
mov dword [esi*4 + 0x10214870], ecx
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
mov edx, eax
mulss xmm0, dword [0x101ef758]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x101ef740]
add eax, edx
mov dword [esi*4 + 0x10215070], eax
mulss xmm0, xmm3
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
mov ecx, eax
mulss xmm0, dword [0x101ef74c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
shl eax, 0x10
mulss xmm0, dword [0x101ef744]
add eax, ecx
mov dword [esi*4 + 0x10214c70], eax
mulss xmm0, xmm3
subss xmm0, xmm4
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
mov dword [esi*4 + 0x10215470], eax
mulss xmm0, dword [0x101ef764]
mov dword [esi*4 + 0x10215c70], edx
mov dword [esi*4 + 0x10215870], ecx
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
mov dword [esi*4 + 0x10216070], eax
mulss xmm0, dword [0x101ef768]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
movaps xmm0, xmm2
mov dword [esi*4 + 0x10216470], eax
mulss xmm0, dword [0x101ef76c]
cvtps2pd xmm0, xmm0
movsd qword [esp], xmm0
call fcn.101a88f0
mov dword [esi*4 + 0x10216870], eax
mulss xmm2, dword [0x101ef760]
cvtps2pd xmm0, xmm2
movsd qword [esp], xmm0
call fcn.101a88f0
mov dword [esi*4 + 0x10216c70], eax
add esp, 8
inc esi
cmp esi, 0x100
jb 0x101a8750
pop esi
ret
Function at 0x10188580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
test eax, eax
je 0x101885e0
movsd xmm1, qword [0x101b21f8]
push ebx
push esi
movzx esi, word [ebp + 0xc]
lea ebx, [ecx + 0x200208]
push edi
xor edi, edi
shl esi, 0x11
movsx eax, word [eax + edi*2]
inc edi
cdq
xor eax, edx
sub eax, edx
movd xmm0, eax
cvtdq2pd xmm0, xmm0
divsd xmm0, qword [ebx]
add ebx, 8
addsd xmm0, xmm1
cvttsd2si eax, xmm0
cwde
add eax, esi
add esi, 0x800
inc dword [ecx + eax*4 + 0x204]
mov eax, dword [ebp + 8]
cmp edi, 0x40
jl 0x101885a4
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x10197a80
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x78], 1
mov eax, dword [esi + 0x38]
mov ecx, dword [esi + 0x3c]
mov dword [esi + 0x50], eax
mov eax, dword [esi + 0x40]
mov dword [esi + 0x54], ecx
mov ecx, dword [esi + 0x44]
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x74], 0
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
jne 0x10197ae5
cmp dword [esi + 0x7c], 0
jne 0x10197ae5
mov eax, dword [esi + 0x60]
mov ecx, dword [esi + 0x64]
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], ecx
cmp dword [esi + 0x80], 1
jne 0x10197b03
cmp dword [esi + 0x84], 0
jne 0x10197b03
mov eax, dword [esi + 0x68]
mov ecx, dword [esi + 0x6c]
mov dword [esi + 0x58], eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0xd0], 0x1010101
xorps xmm0, xmm0
mov dword [esi + 0xd4], 0x1010101
mov byte [esi + 0xd8], 1
mov eax, dword [esi + 0x58]
movlpd qword [ebp - 8], xmm0
mov byte [esi + eax + 0xd0], 0
xor eax, eax
cmp dword [esi + 0x3c], eax
jb 0x10197b6d
ja 0x10197b3f
cmp dword [esi + 0x38], eax
jbe 0x10197b6d
mov edx, dword [ebp - 4]
lea ecx, [esi + 0x88]
mov edi, dword [ebp - 8]
nop dword [eax + eax]
mov dword [ecx], edi
lea ecx, [ecx + 8]
mov dword [ecx - 4], edx
add edi, dword [esi + 0x30]
adc edx, dword [esi + 0x34]
xor ebx, ebx
inc eax
cmp ebx, dword [esi + 0x3c]
jb 0x10197b50
ja 0x10197b6d
cmp eax, dword [esi + 0x38]
jb 0x10197b50
mov ecx, dword [esi + 0xf8]
xor eax, eax
cmp dword [esi + 0x5c], eax
jb 0x10197c27
ja 0x10197b89
cmp dword [esi + 0x58], eax
jbe 0x10197c27
lea edx, [esi + 0x104]
nop
mov dword [edx], ecx
lea edx, [edx + 4]
add ecx, dword [esi + 0x48]
inc eax
mov ebx, dword [esi + 0x5c]
mov edi, dword [esi + 0x58]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], ebx
jb 0x10197b90
ja 0x10197bb1
cmp eax, edi
jb 0x10197b90
mov edx, dword [esi + 0xfc]
xor eax, eax
test ebx, ebx
jb 0x10197c27
ja 0x10197bc3
test edi, edi
je 0x10197c27
lea ecx, [esi + 0x128]
nop dword [eax]
mov dword [ecx], edx
lea ecx, [ecx + 4]
add edx, dword [esi + 0x48]
inc eax
mov ebx, dword [esi + 0x5c]
mov edi, dword [esi + 0x58]
mov dword [ebp - 4], 0
cmp dword [ebp - 4], ebx
jb 0x10197bd0
ja 0x10197bf1
cmp eax, edi
jb 0x10197bd0
mov edx, dword [esi + 0x100]
xor eax, eax
test ebx, ebx
jb 0x10197c27
ja 0x10197c03
test edi, edi
je 0x10197c27
lea ecx, [esi + 0x14c]
nop dword [eax]
mov dword [ecx], edx
lea ecx, [ecx + 4]
add edx, dword [esi + 0x48]
xor edi, edi
inc eax
cmp edi, dword [esi + 0x5c]
jb 0x10197c10
ja 0x10197c27
cmp eax, dword [esi + 0x58]
jb 0x10197c10
push dword [esi + 0x2c]
mov dword [esi + 0xe0], 0
push dword [esi + 0x28]
mov dword [esi + 0xe4], 0
push dword [esi + 0x34]
mov dword [esi + 0xe8], 0
push dword [esi + 0x30]
mov dword [esi + 0xec], 0
call fcn.101a8d70
pop edi
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], edx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4464e0
Capabilities:
Encode data using xor

Disassembly:
fld qword ss:[edi - 0x35eb2cee]
mov ah, 0xea
pop edi
jecxz 0x4464b1
insd dword es:[edi], dx
inc eax
mov byte [0xe205147b], al
xor esp, dword [eax - 0x7d]
or dword [edi - 1], 0xffffffb3
sar byte [ecx + 0x61a6882f], 0xc6
adc ah, bh
xor al, 0x6d
mov esi, fs
stosb byte es:[edi], al
adc al, 0x19
and al, 0xa6
cmp dword [ebx - 0x33], ebp
jns 0x4464fa
cmp dword [0x799f51bd], 3
xchg esp, eax
pop ds
sub bh, byte [esi + edx*2 - 0x2b9e854c]
test eax, 0x3445b6e0
insb byte es:[edi], dx
jg 0x446598
mov dword cs:[0x219eade2], eax
inc ebx
retf
jo 0x4465fd
and al, 0x99
scasb al, byte es:[edi]
insd dword es:[edi], dx
sub ch, ah
xor dl, byte [edx + 0x7f]
dec esi
and al, 0x8e
das
sbb bh, byte [edx - 0x1cabedf7]
xor edx, dword [eax - 0x5b]
out dx, al
movsd dword es:[edi], dword [esi]
mov ah, 0xb4
adc dword [0xc5e9cc75], ecx
sahf
sbb eax, 0xb7974eee
enter 0xfd5, 0xffffffffffffffcc
movsd dword es:[edi], dword [esi]
std
out dx, eax
invalid
xchg edx, eax
jno 0x44659d
adc dword [edi + 0xd], ebx
pop eax
invalid
mov esp, 0x9cba7c47
loopne 0x446620
out 0xe5, eax
movsb byte es:[edi], byte [esi]
jo 0x446604
add dword [esi + 0x7c], ecx
xlatb
invalid
and bl, byte [edi]
sbb bh, byte [edx]
mov dword [ebx + 0x2b], ebp
or eax, 0xcd4f0dfe
jg 0x4465ea
aas
ret
Function at 0x40240c
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 4], ecx
mov ebx, eax
cmp dword [ebp + 0x10], 0
je 0x40242c
mov eax, dword [ebp + 0x10]
mov byte [eax], 0
cmp dword [ebp + 0xc], 0
je 0x402438
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 0
test ebx, ebx
je 0x402441
cmp byte [ebx], 0
jne 0x402448
xor eax, eax
jmp 0x4024f9
xor ecx, ecx
mov dword [ebp - 8], ecx
xor esi, esi
jmp 0x4024a6
mov al, byte [ebx]
xor ecx, ecx
mov cl, al
inc ebx
cmp ecx, 0x3d
jne 0x40247a
cmp dword [ebp - 4], 0
je 0x40247a
cmp dword [ebp - 8], 0
jne 0x40247a
cmp dword [ebp + 0x10], 0
je 0x402475
mov eax, dword [ebp + 0x10]
mov byte [eax], 1
mov dword [ebp - 8], edx
jmp 0x4024a5
xor ecx, ecx
mov cl, al
cmp ecx, 0xd
je 0x402488
cmp ecx, 0xa
jne 0x402490
cmp ecx, 0xd
jne 0x4024ab
inc ebx
jmp 0x4024ab
mov byte [edx], al
inc edx
mov eax, dword [ebp + 8]
add eax, 0xfffffffe
cmp esi, eax
jle 0x4024a5
mov ecx, dword [ebp + 0xc]
mov byte [ecx], 1
jmp 0x4024ab
inc esi
cmp byte [ebx], 0
jne 0x402451
mov byte [edx], 0
cmp dword [ebp - 4], 0
je 0x4024f7
mov edx, dword [ebp - 4]
mov byte [edx], 0
cmp dword [ebp - 8], 0
je 0x4024f7
push 0x1000
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 8]
call sub.KERNEL32.DLL_ExpandEnvironmentStringsA
mov ecx, dword [ebp + 8]
dec ecx
lea edx, [ebp - 0x1008]
mov eax, dword [ebp - 4]
call fcn.0040f7a8
mov edx, dword [ebp - 4]
mov ecx, dword [ebp + 8]
mov byte [edx + ecx - 1], 0
mov eax, dword [ebp - 8]
mov byte [eax], 0
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x402778
Capabilities:
Delete file
Get common file path
Set current directory

Disassembly:
add esp, 0xfffffbe0
push esp
push 0x400
call sub.KERNEL32.DLL_GetCurrentDirectoryA
cmp byte [0x414045], 0
jne 0x402801
mov eax, esp
call fcn.00405c40
mov ecx, 6
mov edx, dword [str.RarSFX]
call fcn.0040f844
test eax, eax
jne 0x402801
push 0x414203
call sub.KERNEL32.DLL_SetCurrentDirectoryA
mov eax, esp
call fcn.0040f718
mov byte [esp + eax + 1], 0
lea eax, [esp + 0x400]
mov ecx, 0x1e
xor edx, edx
call fcn.0040f698
mov dword [esp + 0x404], 3
mov word [esp + 0x410], 0x14
mov eax, esp
mov dword [esp + 0x408], eax
lea edx, [esp + 0x400]
push edx
call sub.SHELL32.DLL_SHFileOperationA
add esp, 0x420
ret

Function at 0x402969
Capabilities:
Query or enumerate registry value

Disassembly:
push ebx
add esp, 0xfffff7f4
mov ebx, eax
cmp byte [0x41405d], 0
je 0x4029e2
lea edx, [esp + 0xc]
mov eax, ebx
call fcn.004028b9
push esp
push 1
push 0
push str.SoftwareWinRAR_SFX
push 0x80000001
call sub.ADVAPI32.DLL_RegOpenKeyExA
test eax, eax
jne 0x4029e2
mov dword [esp + 4], 0x400
lea ecx, [esp + 4]
push ecx
lea eax, [esp + 0x410]
push eax
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push dword [esp + 0x14]
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
jne 0x4029da
lea edx, [esp + 0x40c]
mov eax, ebx
call fcn.0040f798
push dword [esp]
call sub.ADVAPI32.DLL_RegCloseKey
add esp, 0x80c
pop ebx
ret
Function at 0x402aa8
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x402ab2
Capabilities:
Get geographical location

Disassembly:
add esp, 0xffffff9c
push 0x64
lea eax, [esp + 4]
push eax
push 0xf
push 0x400
call sub.KERNEL32.DLL_GetLocaleInfoA
xor eax, eax
mov al, byte [esp]
add esp, 0x64
ret

Function at 0x402d20
Capabilities:
Get common file path

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov esi, edx
mov ebx, eax
push esp
call sub.SHELL32.DLL_SHGetMalloc
lea eax, [esp + 4]
push eax
push esi
push 0
call sub.SHELL32.DLL_SHGetSpecialFolderLocation
push ebx
push dword [esp + 8]
call sub.SHELL32.DLL_SHGetPathFromIDListA
push dword [esp + 4]
mov edx, dword [esp + 4]
push edx
mov ecx, dword [edx]
call dword [ecx + 0x14]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x402e84
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
add esp, 0xffffffc4
mov edi, edx
mov ebx, eax
push 0x67
push dword [0x4148bc]
call sub.USER32.DLL_GetDlgItem
mov esi, eax
cmp byte [0x414019], 0
jne 0x402ee0
mov eax, dword [0x415d78]
call fcn.0040435c
push 5
push esi
call sub.USER32.DLL_ShowWindow
push 0xffffffffffffffff
push 0
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
push 0x414099
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
mov byte [0x414019], 1
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
mov dword [esp], 0x3c
mov edx, esp
push edx
push 0
push 0x43a
push esi
call sub.USER32.DLL_SendMessageA
mov byte [esp + 0x19], 0
mov dword [esp + 4], 1
test bl, bl
je 0x402f3a
and dword [esp + 8], 0xbfffffff
or dword [esp + 8], 1
mov dword [esp + 0x14], 0xa0
or dword [esp + 4], 0x40000000
mov ecx, esp
push ecx
push 1
push 0x444
push esi
call sub.USER32.DLL_SendMessageA
push edi
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
push 0x5f5e100
push 0x5f5e100
push 0xb1
push esi
call sub.USER32.DLL_SendMessageA
test bl, bl
je 0x402f8e
or dword [esp + 8], 0x40000000
and dword [esp + 8], 0xfffffffe
mov eax, esp
push eax
push 1
push 0x444
push esi
call sub.USER32.DLL_SendMessageA
push 0x4140c0
push 0
push 0xc2
push esi
call sub.USER32.DLL_SendMessageA
add esp, 0x3c
pop edi
pop esi
pop ebx
ret

Function at 0x403b04
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov dword [0x4148d4], 1
mov ebx, dword [0x4148bc]
test ebx, ebx
je 0x403b2c
mov eax, 0x7d
call fcn.004029f0
push eax
push 1
push ebx
call sub.USER32.DLL_SetDlgItemTextA
xor edx, edx
mov dword [0x4148d8], edx
mov dword [0x4148dc], 1
mov eax, dword [0x4148bc]
test eax, eax
je 0x403b85
push 1
push eax
call sub.USER32.DLL_ShowWindow
cmp dword [0x414054], 0
jne 0x403b7c
cmp byte [0x414019], 0
jne 0x403b7c
push 0
push 1
push 0x111
push dword [0x4148bc]
call sub.USER32.DLL_SendMessageA
jmp 0x403b7c
call fcn.00402a6c
cmp dword [0x4148c4], 2
jne 0x403b77
cmp byte [0x414044], 0
je 0x403b93
call fcn.00402778
pop ebx
ret
Function at 0x404218
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
cmp byte [ebx + 0x14], 0
mov edi, edx
mov esi, ecx
jne 0x40423d
push 0
call sub.OLE32.DLL_OleInitialize
call sub.COMCTL32.DLL_InitCommonControls
mov byte [ebx + 0x14], 1
mov byte [ebx + 0x15], 0
push 0
push esi
call sub.USER32.DLL_ShowWindow
mov edx, edi
mov eax, ebx
call fcn.00404374
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
mov dword [ebx + 0x10], ecx
push eax
push esi
call sub.USER32.DLL_GetWindowRect
push 2
lea edx, [ebp - 0x10]
push edx
push esi
call sub.USER32.DLL_GetParent
push eax
push 0
call sub.USER32.DLL_MapWindowPoints
mov eax, dword [ebx + 4]
test eax, eax
je 0x404283

Function at 0x4056ec
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov ecx, dword [ebp - 4]
lea eax, [ecx + eax - 0x1d]
push eax
lea eax, [ebp - 0x394]
push eax
call fcn.0040427d
add esp, 0xc
and dword [ebp - 0x700], 0
jmp 0x405719
invalid
test dword [eax], eax
stc

Function at 0x408aa4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov edi, 0x416188
push ebp
mov ebp, edx
cmp dword [edi + 4], 0
mov esi, ecx
mov ebx, eax
jne 0x408abe
call fcn.00408a6c
mov eax, ebp
jmp 0x408ad6
mov edx, ebx
xor ecx, ecx
xor dl, byte [eax]
dec esi
mov cl, dl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
inc eax
mov ebx, edx
test esi, esi
jbe 0x408ade
test al, 7
jne 0x408ac2
cmp esi, 8
jb 0x408b67
xor ebx, dword [eax]
xor ecx, ecx
mov cl, bl
sub esi, 8
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
xor ebx, dword [eax + 4]
add eax, 8
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
xor ecx, ecx
mov ebx, edx
mov cl, bl
shr ebx, 8
mov edx, dword [edi + ecx*4]
xor edx, ebx
cmp esi, 8
mov ebx, edx
jae 0x408ae7
xor edx, edx
jmp 0x408b81
mov ecx, ebx
xor cl, byte [eax + edx]
and ecx, 0xff
shr ebx, 8
mov ecx, dword [edi + ecx*4]
xor ecx, ebx
mov ebx, ecx
inc edx
cmp esi, edx
ja 0x408b6b
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x409214
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
test ebx, ebx
je 0x40922b
test esi, esi
jg 0x409232
xor eax, eax
jmp 0x4092d6
mov edx, dword [ebp - 4]
add edx, 4
lea eax, [ebp - 0x28]
mov ecx, 0x10
call fcn.0040f6ac
test esi, esi
jns 0x40924c
add esi, 0xf
sar esi, 4
mov dword [ebp - 8], esi
mov esi, dword [ebp - 8]
test esi, esi
jle 0x4092bd
lea ecx, [ebp - 0x18]
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00409588
mov eax, dword [ebp - 0x28]
xor dword [ebp - 0x18], eax
mov edx, dword [ebp - 0x24]
xor dword [ebp - 0x14], edx
mov ecx, dword [ebp - 0x20]
xor dword [ebp - 0x10], ecx
mov eax, dword [ebp - 0x1c]
xor dword [ebp - 0xc], eax
mov eax, ebx
mov edx, dword [eax]
mov dword [ebp - 0x28], edx
mov ecx, dword [eax + 4]
mov dword [ebp - 0x24], ecx
mov edx, dword [eax + 8]
mov dword [ebp - 0x20], edx
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
mov ecx, dword [ebp - 0x14]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [ebp - 0xc]
mov dword [eax + 0xc], ecx
add ebx, 0x10
add dword [ebp + 8], 0x10
dec esi
test esi, esi
jg 0x409259
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
add eax, 4
mov ecx, 0x10
call fcn.0040f6ac
mov eax, dword [ebp - 8]
shl eax, 4
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x40264d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, ecx
push edi
push dword [ebp + 8]
lea edi, [esi + 0x68]
lea ecx, [edi + 0xc]
call fcn.004037d2
push 0
push 0x61
mov ecx, edi
call fcn.004061f9
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
call fcn.00418a70
mov edx, 0xce4
lea ecx, [ebp - 0xc]
call fcn.004026ae
push dword [eax]
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [ebp - 0xc]
call fcn.00403204
pop ecx
push 1
push dword [esi + 0x6c]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
xor eax, eax
pop esi
leave
ret 8

Function at 0x402a4c
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x419666
call fcn.00418d80
push ecx
push esi
mov esi, ecx
xor eax, eax
mov dword [ebp - 0x10], esi
mov dword [esi], eax
mov dword [esi + 4], eax
mov dword [esi + 8], eax
mov dword [ebp - 4], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
lea ecx, [esi + 0x24]
mov byte [ebp - 4], 1
mov dword [esi + 0x1c], eax
mov byte [esi + 0x20], al
mov byte [esi + 0x21], al
call fcn.0040368d
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00402aa6
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x402af8
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, 0x4196b1
call fcn.00418d80
push ecx
push esi
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 3
call fcn.0040a8e3
lea ecx, [esi + 0x30]
mov byte [ebp - 4], 2
call fcn.00402b4e
push dword [esi + 0x24]
call fcn.00403204
and byte [ebp - 4], 0
pop ecx
lea ecx, [esi + 0xc]
call fcn.00410da8
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00402ef9
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret

Function at 0x404462
Capabilities:
Set file attributes

Disassembly:
push edx
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
setne al
ret

Function at 0x4045cd
Capabilities:
Create directory

Disassembly:
mov eax, 0x4198f4
call fcn.00418d80
sub esp, 0x38
push ebx
push esi
xor ebx, ebx
mov esi, ecx
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x4045f0
mov al, 1
jmp 0x404635
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x404601
xor al, al
jmp 0x404635
lea ecx, [ebp - 0x44]
call fcn.00404d7d
lea ecx, [ebp - 0x1c]
call fcn.0040368d
push esi
lea ecx, [ebp - 0x44]
mov dword [ebp - 4], ebx
call fcn.00404daf
test al, al
je 0x40462a
mov ebx, dword [ebp - 0x24]
shr ebx, 4
and bl, 1
push dword [ebp - 0x1c]
call fcn.00403204
pop ecx
mov al, bl
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x404da0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x404dae
or eax, eax
ret
Function at 0x4052b8
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
lea eax, [ebp - 4]
push esi
push eax
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4052de
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4052de
xor al, al
jmp 0x4052fe
push 1
push 0
push 0
push dword [ebp - 4]
call fcn.004190a0
mov ecx, eax
xor eax, eax
add ecx, esi
adc edx, eax
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov dword [eax + 4], edx
mov al, 1
pop esi
leave
ret 4
Function at 0x4143e0
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x3e4
push ebp
lea eax, [esp + 4]
push esi
push eax
mov dword [esp + 0xc], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41440e
cmp dword [esp + 0xc], 6
jne 0x41440e
mov eax, dword [esp + 0x10]
test eax, eax
je 0x414438
push str.SetDefaultDllDirectories
push 0x41b784
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x414438
push 0xc00
call eax
test eax, eax
jne 0x4144ee
lea ecx, [esp + 0x11c]
push 0x106
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x4144ee
cmp eax, 0x104
ja 0x4144ee
lea edx, [esp + 0x11c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ebp, eax
cmp word [esp + ebp*2 + 0x11a], 0x5c
je 0x414484
mov word [esp + ebp*2 + 0x11c], 0x5c
inc ebp
mov esi, dword [str.UXTHEME]
cmp byte [esi], 0
je 0x4144ee
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcatW]
mov al, byte [esi]
xor cx, cx
inc esi
mov cl, al
test al, al
mov word [esp + ebp*2 + 0x124], cx
je 0x4144ca
lea ecx, [esp + ebp*2 + 0x126]
mov al, byte [esi]
xor dx, dx
mov dl, al
inc esi
mov word [ecx], dx
add ecx, 2
test al, al
jne 0x4144b8
lea eax, [esp + 0x124]
push str..dll
push eax
call edi
lea ecx, [esp + 0x124]
push 8
push 0
push ecx
call ebx
cmp byte [esi], 0
jne 0x41449d
pop edi
pop ebx
pop esi
pop ebp
add esp, 0x3e4
ret