joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001a5e0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ebx, edx
cmp dword [edi + 0x5a58], 0
lea esi, [edi + 0x5a5c]
je 0x1001a662
mov ecx, dword [esi + 4]
test ecx, ecx
jns 0x1001a61c
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
add eax, ecx
xor ecx, ecx
test eax, eax
cmovg ecx, eax
push ecx
mov ecx, esi
call fcn.100260d0
push dword [ebp + 8]
mov ecx, esi
mov dword [esi], 0
push ebx
call fcn.100042b0
mov edx, dword [esi]
mov ecx, 0x10103260
push dword [edi + 0x5a58]
lea eax, [edx - 1]
neg edx
sbb edx, edx
and edx, eax
mov eax, dword [edi + 0x5a64]
test eax, eax
push edx
cmovne ecx, eax
push 1
push ecx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push dword [ebp + 8]
mov ecx, esi
push ebx
call fcn.100042b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1001aeb0
Capabilities:
Hash data with crc32

Disassembly:
push ebx
mov bl, byte [ecx]
or eax, 0xffffffff
push esi
lea esi, [ecx + 1]
push edi
mov edi, dword [0x10103264]
test bl, bl
je 0x1001aef6
or edi, 0xffffffff
cmp bl, 0x23
jne 0x1001aed7
cmp byte [esi], bl
jne 0x1001aed7
cmp byte [esi + 1], bl
cmove eax, edi
movzx edx, al
movzx ecx, bl
mov bl, byte [esi]
xor edx, ecx
shr eax, 8
inc esi
xor eax, dword [edx*4 + 0x1009e240]
test bl, bl
jne 0x1001aec8
mov edi, dword [0x10103264]
mov esi, dword [edi + 0x5a00]
xor ecx, ecx
not eax
test esi, esi
jle 0x1001af1c
mov edi, dword [edi + 0x5a08]
lea edx, [edi + 4]
nop dword [eax]
cmp dword [edx], eax
je 0x1001af22
inc ecx
add edx, 0x24
cmp ecx, esi
jl 0x1001af10
pop edi
pop esi
xor eax, eax
pop ebx
ret
lea eax, [ecx + ecx*8]
lea eax, [edi + eax*4]
pop edi
pop esi
pop ebx
ret
Function at 0x10056e50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x10056e8a
mov eax, dword [0x10103264]
mov dword [esi + 4], 0
mov dword [esi], 0
test eax, eax
je 0x10056e7d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 8], 0
mov ecx, dword [esi + 0x14]
test ecx, ecx
je 0x10056ebb
mov eax, dword [0x10103264]
mov dword [esi + 0x10], 0
mov dword [esi + 0xc], 0
test eax, eax
je 0x10056eae
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x14], 0
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x10056eec
mov eax, dword [0x10103264]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x18], 0
test eax, eax
je 0x10056edf
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov ecx, dword [esi + 0x44]
test ecx, ecx
je 0x10056f39
mov eax, dword [0x10103264]
mov dword [esi + 0x40], 0
mov dword [esi + 0x3c], 0
test eax, eax
je 0x10056f2c
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x44], 0
mov ecx, dword [esi + 0x50]
test ecx, ecx
je 0x10056f6a
mov eax, dword [0x10103264]
mov dword [esi + 0x4c], 0
mov dword [esi + 0x48], 0
test eax, eax
je 0x10056f5d
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x50], 0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x10056f9b
mov eax, dword [0x10103264]
mov dword [esi + 0x58], 0
mov dword [esi + 0x54], 0
test eax, eax
je 0x10056f8e
dec dword [eax + 0xb0]
push ecx
call edi
add esp, 4
mov dword [esi + 0x5c], 0
pop edi
lea ecx, [esi + 0x78]
pop esi
jmp fcn.1005a490
Function at 0x1007c6d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
or eax, 2
mov dword [ebp + 8], eax
pop ebp
jmp fcn.1007c7e0
Function at 0x10082080
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x100b4040]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [0x10103264]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp + 0xc]
mov dword [ebp - 8], ecx
mov eax, dword [esi + 0x3e28]
mov ecx, dword [ebp + 8]
push edi
mov byte [eax + 0xa8], 1
mov eax, dword [esi + 0x3e28]
mov dword [ebp - 0xc], eax
cmp byte [eax + 0xab], 0
je 0x100820d7
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10098200
mov esp, ebp
pop ebp
ret
mov edi, dword [esi + 0x5be4]
mov ebx, dword [esi + 0x5bec]
push edx
push ecx
push ecx
mov edx, edi
mov ecx, ebx
call fcn.100012a0
add esp, 0xc
test ebx, ebx
je 0x10082106
cmp eax, 0xffffffff
je 0x100820ff
cmp eax, edi
jl 0x10082102
lea eax, [edi - 1]
mov byte [eax + ebx], 0
mov ecx, dword [esi + 0x5bec]
lea edx, [ebp - 8]
mov ebx, dword [ebp - 0xc]
add eax, ecx
mov edi, dword [ebp - 8]
mov esi, 4
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
mov eax, dword [ebx + 0xe0]
mov ebx, dword [ebx + 0xe8]
mov dword [ebp - 8], edi
mov ebx, dword [ebx + eax*4 - 4]
not ebx
movzx eax, byte [edx]
lea edx, [edx + 1]
movzx ecx, bl
xor ecx, eax
shr ebx, 8
xor ebx, dword [ecx*4 + 0x1009e240]
sub esi, 1
jne 0x10082137
mov eax, dword [0x10103264]
not ebx
cmp dword [eax + 0x3e5c], ebx
jne 0x1008216f
push ecx
push edi
lea edx, [esi + 0xc]
mov ecx, ebx
call fcn.10024b90
add esp, 8
push dword [ebp - 0x10]
mov edx, dword [ebp - 0x18]
mov ecx, ebx
push dword [ebp - 0x14]
call fcn.100821a0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.10098200
mov esp, ebp
pop ebp
ret
Function at 0x10085010
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [0x10103264]
xorps xmm5, xmm5
or edx, 0xffffffff
mov esi, 0x1009c35d
movss xmm4, dword [edi + 0x37d8]
movss xmm1, dword [edi + 0x384c]
mov eax, dword [edi + 0x47a4]
subss xmm1, xmm4
movss xmm0, dword [edi + 0x3848]
addss xmm4, xmm4
mov ebx, dword [eax]
mov al, 0x23
maxss xmm1, xmm5
mov dword [ebp - 4], ebx
addss xmm4, dword [edi + 0x3bb4]
movss dword [edi + 0x4730], xmm0
or ebx, 0xffffffff
movss dword [edi + 0x4734], xmm1
cmp al, 0x23
jne 0x10085084
cmp byte [esi], al
jne 0x10085084
cmp byte [esi + 1], al
cmove edx, ebx
movzx ecx, dl
movzx eax, al
xor ecx, eax
shr edx, 8
mov al, byte [esi]
inc esi
xor edx, dword [ecx*4 + 0x1009e240]
test al, al
jne 0x10085076
not edx
mov ecx, edx
call fcn.1000b490
mov ebx, dword [ebp - 4]
test eax, eax
je 0x100850bb
cmp word [eax + 0xb2], 0
jne 0x10085160
test ebx, ebx
jne 0x100850c7
mov eax, dword [edi + 0x47a4]
mov ebx, dword [eax]
movss xmm1, dword [ebx + 0x8c]
movss xmm0, dword [ebx + 0xc]
movaps xmm3, xmm1
addss xmm3, dword [ebx + 4]
movss xmm2, dword [ebx + 0x90]
subss xmm0, xmm1
addss xmm2, dword [ebx + 8]
addss xmm0, dword [ebx + 0x94]
or dword [edi + 0x46d8], 3
movss dword [edi + 0x46e8], xmm3
movss dword [edi + 0x46ec], xmm2
mov dword [edi + 0x46f0], 0
maxss xmm5, xmm0
mov dword [edi + 0x46f4], 0
mov dword [edi + 0x46dc], 1
movss dword [edi + 0x46fc], xmm4
mov dword [edi + 0x46e0], 1
addss xmm5, xmm3
subss xmm5, xmm3
movss dword [edi + 0x46f8], xmm5
addss xmm4, dword [ebx + 0x90]
movss dword [ebx + 0x90], xmm4
movss xmm0, dword [edi + 0x37a8]
lea eax, [ebp - 0x10]
push eax
lea ecx, [edi + 0x4744]
mov dword [ebp - 0x10], 3
movss dword [ebp - 0xc], xmm0
call fcn.100259b0
mov esi, dword [0x10103264]
lea eax, [ebp - 0x10]
mov dword [edi + 0x37a8], 0
push eax
mov dword [ebp - 0x10], 5
movss xmm1, dword [esi + 0x37b0]
lea ecx, [esi + 0x4744]
movss xmm0, dword [esi + 0x37b4]
movss dword [ebp - 0xc], xmm1
movss dword [ebp - 8], xmm0
call fcn.100259b0
push 0x50f
xor edx, edx
mov dword [esi + 0x37b0], 0
mov ecx, str.MainMenuBar
mov dword [esi + 0x37b4], 0
call fcn.1000d920
add esp, 4
mov ecx, 2
mov bl, al
call fcn.100055c0
mov dword [edi + 0x4730], 0
mov dword [edi + 0x4734], 0
test bl, bl
je 0x1008521d
call fcn.10084b20
mov al, bl
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10010450
pop edi
pop esi
mov al, bl
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x100877d0
Capabilities:
Hash data with crc32

Disassembly:
push ecx
test dword [ecx + 0xc], 0x100000
push ebx
push esi
push edi
mov edi, edx
je 0x10087842
mov cl, byte [edi]
lea esi, [edi + 1]
or eax, 0xffffffff
test cl, cl
je 0x10087818
or edi, 0xffffffff
nop
cmp cl, 0x23
jne 0x100877ff
cmp byte [esi], cl
jne 0x100877ff
cmp byte [esi + 1], cl
cmove eax, edi
movzx edx, al
movzx ecx, cl
xor edx, ecx
shr eax, 8
mov cl, byte [esi]
inc esi
xor eax, dword [edx*4 + 0x1009e240]
test cl, cl
jne 0x100877f0
mov ecx, dword [0x10103264]
not eax
cmp dword [ecx + 0x3e74], eax
jne 0x1008782e
mov dword [ecx + 0x3e78], eax
cmp dword [ecx + 0x3e9c], eax
jne 0x10087887
mov byte [ecx + 0x3ea0], 1
pop edi
pop esi
pop ebx
pop ecx
ret
mov esi, dword [0x10103264]
xor edx, edx
mov eax, dword [esi + 0x3e28]
mov ecx, dword [eax + 0xe0]
mov eax, dword [eax + 0xe8]
push dword [eax + ecx*4 - 4]
mov ecx, edi
call fcn.10003600
mov ebx, eax
add esp, 4
cmp dword [esi + 0x3e5c], ebx
jne 0x10087885
push ecx
push edi
mov edx, 0xb
mov ecx, ebx
call fcn.10024b90
add esp, 8
mov eax, ebx
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x10095760
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.10095910
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1009582d
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x100957aa
mov eax, dword [ebp - 4]
cmp eax, dword [0x100b4004]
ja 0x100957aa
mov ecx, dword [ebp - 4]
sub ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x1009577a
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100957d0
jmp 0x1009582d
cmp dword [ebp - 0x14], 0x10000
jne 0x10095813
cmp dword [ebp - 0x18], 0x10000
jb 0x10095813
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x10095806
mov eax, dword [ebp - 8]
jmp 0x1009582f
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10095828
mov ecx, dword [ebp - 0x20]
sub ecx, 0x10000
push ecx
call fcn.10095910
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1009577a
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10095840
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.10095940
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x10095905
mov edx, dword [ebp - 4]
cmp edx, dword [section..data]
jb 0x10095885
mov eax, dword [ebp - 4]
cmp eax, dword [0x100b4004]
ja 0x10095885
mov ecx, dword [ebp - 4]
add ecx, 0x8000000
mov dword [ebp - 4], ecx
jmp 0x10095855
push 0x1c
push 0
lea edx, [ebp - 0x24]
push edx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x100958ab
jmp 0x10095905
cmp dword [ebp - 0x14], 0x10000
jne 0x100958ee
cmp dword [ebp - 0x18], 0x10000
jb 0x100958ee
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x100958e1
mov eax, dword [ebp - 8]
jmp 0x10095907
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x10095900
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x18]
push ecx
call fcn.10095940
add esp, 4
mov dword [ebp - 4], eax
jmp 0x10095855
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x10095970
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10095d60
add esp, 0xc
mov dword [ebp - 4], 0
cmp dword [0x10102e64], 0
jne 0x100959ad
cmp dword [0x10102e60], 0
je 0x100959ad
mov eax, dword [0x10102e60]
mov dword [0x10102e64], eax
cmp dword [0x10102e64], 0
je 0x10095a2a
mov ecx, dword [0x10102e64]
cmp dword [ecx + 8], 0
je 0x10095a2a
mov edx, dword [0x10102e64]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0x10]
jb 0x10095a2a
mov ecx, dword [0x10102e64]
mov edx, dword [ecx + 8]
cmp edx, dword [ebp - 0xc]
ja 0x10095a2a
mov eax, dword [0x10102e64]
mov ecx, dword [eax + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0x10]
jb 0x100959f9
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x10095a00
xor eax, eax
jmp 0x10095b49
mov ecx, dword [0x10102e64]
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x40]
mov dword [ecx + 8], eax
push 0x48
push 0xcc
mov ecx, dword [ebp - 4]
push ecx
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
mov eax, dword [ebp - 4]
jmp 0x10095b49
mov edx, dword [0x10102e60]
mov dword [0x10102e64], edx
jmp 0x10095a46
mov eax, dword [0x10102e64]
mov ecx, dword [eax + 4]
mov dword [0x10102e64], ecx
cmp dword [0x10102e64], 0
je 0x10095a86
cmp dword [0x10102e64], 0
je 0x10095a84
mov edx, dword [0x10102e64]
cmp dword [edx + 8], 0
je 0x10095a84
mov eax, dword [0x10102e64]
mov ecx, dword [eax + 8]
cmp ecx, dword [ebp - 0x10]
jb 0x10095a84
mov edx, dword [0x10102e64]
mov eax, dword [edx + 8]
cmp eax, dword [ebp - 0xc]
ja 0x10095a84
jmp 0x100959de
jmp 0x10095a38
mov ecx, dword [ebp + 8]
and ecx, 0xffff
mov edx, dword [ebp + 8]
sub edx, ecx
mov dword [ebp + 8], edx
mov eax, dword [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.10095b50
add esp, 0xc
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x10095b47
mov eax, dword [ebp - 0x18]
mov dword [0x10102e64], eax
mov ecx, dword [0x10102e64]
mov dword [ecx], 0x52727464
mov edx, dword [0x10102e64]
mov dword [edx + 8], 0
mov eax, dword [0x10102e64]
mov ecx, dword [0x10102e60]
mov dword [eax + 4], ecx
mov edx, dword [0x10102e64]
mov dword [0x10102e60], edx
mov dword [ebp - 0x14], 0
mov eax, dword [0x10102e64]
add eax, 0x48
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0x38c
jmp 0x10095b17
mov ecx, dword [ebp - 8]
sub ecx, 1
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 1
jle 0x10095b37
imul edx, dword [ebp - 8], 0x48
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x14]
mov dword [eax + edx + 0x40], ecx
imul edx, dword [ebp - 8], 0x48
add edx, dword [ebp - 4]
mov dword [ebp - 0x14], edx
jmp 0x10095b0e
mov eax, dword [0x10102e64]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 8], ecx
jmp 0x100959de
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x406270
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
push edi
mov edi, dword [esp + 0x10]
mov esi, ecx
cmp edi, 0x53
ja 0x40630f
je 0x406300
cmp edi, 5
je 0x4062de
cmp edi, 0x46
je 0x4062b0
cmp edi, 0x4e
jne 0x40632e
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x30]
push ecx
push edx
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
ret 0xc
cmp byte [esi + 0x18], 0
je 0x4062d6
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0x18], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
pop edi
pop esi
xor al, al
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov edx, dword [esi]
mov edx, dword [edx + 0x1c]
mov ecx, eax
shr ecx, 0x10
push ecx
mov ecx, dword [esp + 0x18]
movzx eax, ax
push eax
push ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
ret 0xc
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
call edx
pop edi
pop esi
mov al, 1
pop ebx
ret 0xc
mov eax, edi
sub eax, 0x110
je 0x406410
sub eax, 1
je 0x4063f7
sub eax, 2
je 0x4063de
mov ebx, dword [sym.imp.USER32.dll_PeekMessageW]
push ebp
mov ebp, dword [esp + 0x1c]
cmp edi, dword [esi + 8]
jne 0x40638c
mov eax, dword [esi + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ebx, [ebx]
mov eax, dword [esi + 4]
push 0
push 0
push 0
push eax
push 0
call ebx
test eax, eax
jne 0x406350
mov eax, dword [esi + 4]
movzx ecx, word [esp + 0x18]
mov edx, dword [0x43ee44]
push ebp
push 0x406180
push eax
push ecx
push edx
call dword [sym.imp.USER32.dll_DialogBoxParamW]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
cmp edi, dword [esi + 0x10]
jne 0x4063d5
mov ecx, dword [esi + 4]
push 5
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [ecx]
mov eax, dword [esi + 4]
push 0
push 0
push 0
push eax
push 0
call ebx
test eax, eax
jne 0x4063a0
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 4]
mov eax, dword [esi + 4]
push edx
mov edx, dword [ebp]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [esi + 0xc], eax
mov eax, dword [esi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop ebp
pop edi
pop esi
xor al, al
pop ebx
ret 0xc
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
push eax
push ecx
mov ecx, esi
call edx
pop edi
pop esi
pop ebx
ret 0xc
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
mov edx, dword [esp + 0x14]
mov eax, dword [eax + 0x18]
push ecx
push edx
mov ecx, esi
call eax
pop edi
pop esi
pop ebx
ret 0xc
mov edx, dword [esi]
mov eax, dword [edx + 0x10]
call eax
mov ecx, dword [esi + 0x1c]
push ecx
mov bl, al
call dword [sym.imp.KERNEL32.dll_SetEvent]
pop edi
pop esi
mov al, bl
pop ebx
ret 0xc
Function at 0x406650
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, eax
mov eax, dword [esi + 8]
cmp eax, 0x105
push edi
jg 0x40666f
cmp eax, 0x106
je 0x40666f
push 0x106
call fcn.00404e70
mov eax, dword [esi]
push 0x105
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov edi, dword [esi]
xor ecx, ecx
cmp word [edi], cx
je 0x406692
mov edx, edi
add edx, 2
inc ecx
cmp word [edx], 0
jne 0x406688
xor edx, edx
mov word [edi + ecx*2], dx
mov dword [esi + 4], ecx
dec eax
mov ecx, 0x103
cmp ecx, eax
sbb eax, eax
pop edi
inc eax
pop esi
ret

Function at 0x4067a0
Capabilities:
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4302a8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push edi
push ebx
call ebp
test eax, eax
je 0x4067eb
mov al, 1
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
xor eax, eax
push 4
lea esi, [esp + 0x14]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
call fcn.00404e70
mov eax, esi
push eax
push ebx
mov dword [esp + 0x2c], 0
call fcn.00407f50
test al, al
je 0x406858
cmp dword [esp + 0x14], 0
setne al
test al, al
je 0x406858
mov esi, dword [esp + 0x10]
push edi
push esi
call ebp
test eax, eax
push esi
setne bl
mov dword [esp + 0x28], 0xffffffff
call fcn.00421bde
add esp, 4
mov al, bl
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret
mov dword [esp + 0x24], 0xffffffff
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00421bde
add esp, 4
xor al, al
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x406890
Capabilities:
Delete directory

Disassembly:
push 0xffffffffffffffff
push 0x42ff18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
push ebp
call edi
test eax, eax
je 0x4068cc
mov al, 1
jmp 0x406939
xor ebx, ebx
push 4
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00404e70
mov eax, esi
push eax
push ebp
mov dword [esp + 0x30], ebx
call fcn.00407f50
test al, al
je 0x406922
cmp dword [esp + 0x18], ebx
setne al
cmp al, bl
je 0x406922
mov esi, dword [esp + 0x14]
push esi
call edi
cmp eax, ebx
push esi
setne bl
mov dword [esp + 0x2c], 0xffffffff
call fcn.00421bde
add esp, 4
mov al, bl
jmp 0x406939
mov dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421bde
add esp, 4
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
Function at 0x406950
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x42ff18
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x43c024]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x30]
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
xor ebx, ebx
push ebx
push ebp
call edi
test eax, eax
je 0x40698f
mov al, 1
jmp 0x406a08
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x406a06
push 4
lea esi, [esp + 0x18]
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
call fcn.00404e70
mov eax, esi
push eax
push ebp
mov dword [esp + 0x30], ebx
call fcn.00407f50
test al, al
je 0x4069f1
cmp dword [esp + 0x18], ebx
setne al
cmp al, bl
je 0x4069f1
mov esi, dword [esp + 0x14]
push ebx
push esi
call edi
cmp eax, ebx
push esi
setne bl
mov dword [esp + 0x2c], 0xffffffff
call fcn.00421bde
add esp, 4
mov al, bl
jmp 0x406a08
mov dword [esp + 0x28], 0xffffffff
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00421bde
add esp, 4
xor al, al
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4