joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426360
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x54c03c]
mov esi, ecx
mov ebx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 4]
cmp dword [eax], ebx
jne 0x42638a
cmp eax, ecx
je 0x42647b
cmp ebx, ecx
je 0x426477
nop word cs:[eax + eax]
nop dword [eax]
mov eax, dword [ebx]
movzx ecx, byte [ebx + 9]
mov edi, dword [esi + 0xc]
mov dword [ebp - 0x1c], eax
movzx eax, byte [ebx + 8]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + 0xa]
xor ecx, eax
imul eax, ecx, 0x1000193
movzx ecx, byte [ebx + 0xb]
xor ecx, eax
mov eax, esi
imul ecx, ecx, 0x1000193
and ecx, dword [esi + 0x18]
lea edx, [ecx + ecx]
lea esi, [edi + ecx*8]
mov dword [ebp - 0x18], esi
cmp dword [edi + edx*4 + 4], ebx
mov esi, dword [edi + ecx*8]
je 0x426410
mov ecx, dword [ebp - 0x1c]
mov edi, dword [ebp + 0x10]
mov edx, dword [ebp - 0x18]
cmp esi, ebx
mov esi, eax
jne 0x426440
jmp 0x42643e
cmp esi, ebx
je 0x426422
lea edx, [edi + edx*4 + 4]
mov ecx, dword [ebx + 4]
mov edi, dword [ebp + 0x10]
mov esi, eax
jmp 0x42643e
mov edx, dword [eax + 4]
mov edi, dword [ebp - 0x18]
mov esi, eax
mov dword [edi], edx
lea edx, [ecx + ecx + 1]
mov edi, dword [ebp + 0x10]
shl edx, 2
mov ecx, dword [esi + 4]
add edx, dword [esi + 0xc]
mov edx, edx
mov dword [edx], ecx
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [ecx], eax
mov eax, dword [ebx]
mov ecx, dword [ebx + 4]
mov dword [eax + 4], ecx
dec dword [esi + 8]
sub esp, 8
mov dword [esp], ebx
mov dword [esp + 4], 0xc
call fcn.004d4589
add esp, 8
mov eax, dword [ebp - 0x1c]
cmp eax, edi
mov ebx, eax
jne 0x4263a0
jmp 0x4264e4
mov eax, ebx
jmp 0x4264e4
mov dword [ecx], ecx
mov eax, dword [esi + 4]
mov dword [eax + 4], eax
mov dword [esi + 8], 0
cmp dword [esi + 4], ebx
je 0x4264a4
nop
mov eax, ebx
mov ebx, dword [ebx]
push 0xc
push eax
call fcn.004d4589
add esp, 8
cmp ebx, dword [esi + 4]
jne 0x426490
mov eax, dword [esi + 0x14]
lea edi, [esi + 0xc]
sub eax, dword [esi + 0xc]
sar eax, 2
cmp eax, 0xf
ja 0x4264c1
mov ecx, edi
push 0x10
call fcn.0041b4f0
mov ebx, dword [esi + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], ebx
mov ecx, edi
push eax
push 0x10
call fcn.0041b190
mov dword [esi + 0x18], 7
mov dword [esi + 0x1c], 8
mov eax, dword [esi + 4]
mov eax, dword [eax]
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret 0xc
Function at 0x426960
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [esi]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [ecx + 0xc]
and eax, dword [ecx + 0x18]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
jmp 0x4269c2
mov ecx, dword [ecx]
cmp ebx, eax
mov edi, ebx
je 0x4269d0
mov edi, dword [ebp - 0x14]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, ecx
je 0x4269e8
cmp dword [ecx + 8], esi
jne 0x4269c0
cmp ecx, eax
je 0x4269e8
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x426a4e
mov edi, dword [eax]
mov ebx, dword [edi + 4]
push 0x24
call fcn.004d4554
add esp, 4
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [eax], ecx
mov ecx, ebx
cmove ecx, eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x20], 0xf
mov dword [eax + 0x1c], 0
mov byte [eax + 0xc], 0
mov edx, dword [ecx + 8]
cmp edx, 0x71c71c6
je 0x426a58
inc edx
mov dword [ecx + 8], edx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.00426a70
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.list_T__too_long
call fcn.004d542b
int3
Function at 0x426ce0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x10], ecx
movzx eax, byte [esi]
movzx edx, byte [esi + 1]
xor eax, 0x811c9dc5
imul eax, eax, 0x1000193
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 2]
xor edx, eax
imul eax, edx, 0x1000193
movzx edx, byte [esi + 3]
mov esi, dword [esi]
xor edx, eax
imul eax, edx, 0x1000193
mov edx, dword [ecx + 0xc]
and eax, dword [ecx + 0x18]
mov ebx, dword [edx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x14], eax
mov eax, dword [ecx + 4]
mov ecx, ebx
jmp 0x426d42
mov ecx, dword [ecx]
cmp ebx, eax
mov edi, ebx
je 0x426d50
mov edi, dword [ebp - 0x14]
mov edi, dword [edx + edi*4]
mov edi, dword [edi]
cmp edi, ecx
je 0x426d68
cmp dword [ecx + 8], esi
jne 0x426d40
cmp ecx, eax
je 0x426d68
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x426dd8
mov edi, dword [eax]
mov ebx, dword [edi + 4]
push 0x1c
call fcn.004d4554
add esp, 4
test edi, edi
mov ecx, edi
cmove ecx, eax
mov dword [eax], ecx
mov ecx, ebx
cmove ecx, eax
mov dword [eax + 4], ecx
mov ecx, dword [ebp + 0xc]
mov ecx, dword [ecx]
mov dword [eax + 8], ecx
mov ecx, dword [ebp - 0x10]
mov dword [eax + 0x10], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x14], 0
mov edx, dword [ecx + 8]
cmp edx, 0x9249248
je 0x426de2
inc edx
mov dword [ecx + 8], edx
mov dword [edi + 4], eax
mov dword [ebx], eax
mov eax, dword [ecx + 4]
mov eax, dword [eax]
push eax
add eax, 8
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.00426df0
mov eax, esi
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret 8
push str.list_T__too_long
call fcn.004d542b
int3
Function at 0x427040
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, dword [ebp + 0xc]
mov eax, dword [esi + 0x10]
cmp dword [esi + 0x14], 0xf
mov dword [ebp - 0x10], eax
jbe 0x42705a
mov esi, dword [esi]
cmp dword [ebp - 0x10], 0
mov eax, 0x811c9dc5
mov dword [ebp - 0x14], esi
je 0x42707f
mov edx, dword [ebp - 0x10]
nop dword [eax + eax]
movzx edi, byte [esi]
inc esi
xor edi, eax
imul eax, edi, 0x1000193
dec edx
jne 0x427070
and eax, dword [ecx + 0x18]
mov esi, dword [ecx + 4]
mov ecx, dword [ecx + 0xc]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ecx + eax*8]
lea eax, [eax + eax + 1]
mov dword [ebp - 0x1c], eax
mov edi, ecx
mov dword [ebp - 0x18], ecx
cmp ecx, esi
jne 0x4270a6
jmp 0x4270c0
mov edi, dword [edi]
cmp ecx, esi
je 0x4270c0
mov eax, dword [ebp - 0x20]
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + edx*4]
mov eax, dword [eax]
cmp eax, edi
jne 0x4270c6
jmp 0x42710c
mov eax, esi
cmp eax, edi
je 0x42710c
mov eax, dword [ebp - 0x10]
cmp dword [edi + 0x18], eax
jne 0x4270a0
cmp dword [edi + 0x1c], 0xf
jbe 0x4270e0
mov ebx, dword [edi + 8]
jmp 0x4270e3
lea ebx, [edi + 8]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push ebx
call fcn.004d836d
add esp, 0xc
mov ecx, dword [ebp - 0x18]
test eax, eax
jne 0x4270a0
push dword [ebp - 0x10]
push ebx
push dword [ebp - 0x14]
call fcn.004d836d
add esp, 0xc
test eax, eax
je 0x42711b
mov eax, dword [ebp + 8]
mov dword [eax], esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 8
mov eax, dword [ebp + 8]
mov dword [eax], edi
jmp 0x427111
Function at 0x429570
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x10
mov edx, dword [0x54c03c]
mov eax, dword [ebp + 8]
lea esi, [ebp - 0x18]
lea edi, [ebp - 0x10]
xor edx, ebp
mov dword [ebp - 0xc], edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x10], 4
mov dword [ebp - 0x14], 4
mov dword [ebp - 0x18], 0
push edx
push esi
push edi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test eax, eax
jne 0x4295d8
mov eax, dword [ebp - 0x10]
mov esi, 0x3f4
add eax, 0xfffffffd
cmp eax, 1
ja 0x4295d8
cmp dword [ebp - 0x14], 4
jne 0x4295d8
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x18]
xor esi, esi
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d45c8
mov eax, esi
add esp, 0x10
pop esi
pop edi
pop ebp
ret 8

Function at 0x4295f0
Capabilities:
Query environment variable
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1010
call fcn.004d4a10
mov edx, dword [0x54c03c]
mov eax, dword [ebp + 8]
lea ebx, [ebp - 0x810]
lea esi, [ebp - 0x1018]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea edx, [ebp - 0x101c]
mov dword [ebp - 0x1018], 1
mov dword [ebp - 0x101c], 0x800
push edx
push ebx
push esi
push 0
push eax
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
test eax, eax
jne 0x429723
mov eax, dword [ebp - 0x1018]
mov esi, dword [ebp + 0xc]
cmp eax, 2
je 0x42968d
mov edi, 0x3f4
cmp eax, 1
jne 0x429723
push ebx
call fcn.004eaf34
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
cmp eax, edi
jae 0x4296ec
sub esp, 0xc
mov al, byte [ebp - 0x1010]
mov byte [esp + 4], al
mov dword [esp + 8], ebx
jmp 0x4296e0
lea eax, [ebp - 0x1010]
push 0x400
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov dword [ebp - 0x101c], eax
dec eax
mov edi, 0xea
cmp eax, 0x3ff
ja 0x429723
lea eax, [ebp - 0x1010]
mov ebx, eax
push eax
call fcn.004eaf34
add esp, 4
mov edi, eax
mov eax, dword [esi + 0x14]
mov ecx, ebx
cmp eax, edi
jae 0x429700
sub esp, 0xc
mov al, byte [ebp - 0x1014]
mov byte [esp + 4], al
mov dword [esp + 8], ecx
mov ecx, esi
mov dword [esp], edi
call fcn.0040184a
jmp 0x429721
cmp eax, 8
mov eax, esi
jb 0x4296f5
mov esi, dword [eax]
mov ecx, edi
mov dword [eax + 0x10], edi
add ecx, edi
push ecx
push ebx
jmp 0x429712
cmp eax, 8
mov eax, esi
jb 0x429709
mov esi, dword [eax]
mov edx, edi
mov dword [eax + 0x10], edi
add edx, edi
push edx
push ecx
push esi
call fcn.004da510
add esp, 0xc
mov word [esi + edi*2], 0
xor edi, edi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, edi
add esp, 0x1010
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x429740
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
mov esi, ecx
push ebx
call fcn.004eaf34
add esp, 4
lea eax, [eax + eax + 2]
push eax
push ebx
push 1
push 0
push edi
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x42aa30
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x38
mov eax, dword [0x54c03c]
xorpd xmm0, xmm0
xor eax, ebp
mov dword [esp + 0x30], eax
movsd xmm1, qword [0x54d920]
ucomisd xmm1, xmm0
jne 0x42abae
jp 0x42abae
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call edi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
mov dword [esp + 0xc], eax
call edi
push 2
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [0x54d930]
mov ecx, dword [0x54fa0c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42abd3
mov eax, dword [0x54d940]
mov ecx, dword [0x54fa0c]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42ac0d
rdtsc
lea esi, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
mov dword [esp + 8], eax
mov dword [esp + 4], edx
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push esi
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
sub edi, dword [0x54d938]
movsd xmm2, qword [0x4ff2a0]
sbb ebx, dword [0x54d93c]
movd xmm1, edi
fild qword [esp + 0x28]
fstp qword [esp + 0x20]
movd xmm0, ebx
punpckldq xmm1, xmm0
punpckldq xmm1, xmmword [0x4fe3b0]
subpd xmm1, xmmword [0x4fe3c0]
pshufd xmm0, xmm1, 0x4e
addpd xmm0, xmm1
xorpd xmm1, xmm1
divsd xmm0, qword [esp + 0x20]
ucomisd xmm2, xmm0
ja 0x42abae
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
sub eax, dword [0x54d928]
sbb ecx, dword [0x54d92c]
movd xmm2, eax
movd xmm1, ecx
punpckldq xmm2, xmm1
punpckldq xmm2, xmmword [0x4fe3b0]
subpd xmm2, xmmword [0x4fe3c0]
pshufd xmm1, xmm2, 0x4e
addpd xmm1, xmm2
divsd xmm1, xmm0
movsd qword [0x54d920], xmm1
movsd qword [esp + 0x18], xmm1
fld qword [esp + 0x18]
fstp xword [esp + 0xc]
mov ecx, dword [esp + 0x30]
xor ecx, ebp
call fcn.004d45c8
fld xword [esp + 0xc]
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x54d930
call fcn.004d4600
add esp, 4
mov eax, dword [0x54d930]
cmp eax, 0xffffffff
jne 0x42aaa2
rdtsc
mov dword [0x54d92c], edx
mov dword [0x54d928], eax
push 0x54d930
call fcn.004d4652
add esp, 4
jmp 0x42aaa2
push 0x54d940
call fcn.004d4600
add esp, 4
mov eax, dword [0x54d940]
cmp eax, 0xffffffff
jne 0x42aac3
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 0
mov dword [esp + 0x28], 0
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
movsd xmm0, qword [esp + 0x28]
movsd qword [0x54d938], xmm0
push 0x54d940
call fcn.004d4652
add esp, 4
jmp 0x42aac3
Function at 0x42fb90
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
cmp eax, 3
je 0x42fb9f
test eax, eax
jne 0x42fbcf
cmp byte [0x54d96c], 1
jne 0x42fbcf
push dword [0x54d970]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x42fbcf
push eax
call fcn.00407ff0
add esp, 4
push 0
push dword [0x54d970]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
pop ebp
ret 0xc
Function at 0x43b650
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, ebp
je 0x43b6c6
sar edx, 2
xor esi, esi
mov ebx, edx
nop word cs:[eax + eax]
nop
mov edi, dword [ebp + esi*4]
inc esi
mov eax, edi
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x502c04]
mov eax, edi
shr eax, 8
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x502c04]
mov eax, edi
shr edi, 0x18
shr eax, 0x10
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x502c04]
movzx eax, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x502c04]
cmp esi, edx
jb 0x43b670
jmp 0x43b6c8
xor ebx, ebx
cmp ebx, dword [ecx + 0xc]
sete al
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x43b6e0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
push ebx
push edi
push esi
mov ebp, dword [ecx]
mov edx, dword [ecx + 4]
sub edx, ebp
je 0x43b756
sar edx, 2
xor esi, esi
mov ebx, edx
nop word cs:[eax + eax]
nop
mov edi, dword [ebp + esi*4]
inc esi
mov eax, edi
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x502c04]
mov eax, edi
shr eax, 8
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x502c04]
mov eax, edi
shr edi, 0x18
shr eax, 0x10
xor eax, ebx
shr ebx, 8
movzx eax, al
xor ebx, dword [eax*4 + 0x502c04]
movzx eax, bl
shr ebx, 8
xor edi, eax
xor ebx, dword [edi*4 + 0x502c04]
cmp esi, edx
jb 0x43b700
jmp 0x43b758
xor ebx, ebx
mov dword [ecx + 0xc], ebx
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43ca70
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
push eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
cmp dword [edi + 0x14], 7
mov eax, edi
jbe 0x43ca87
mov eax, dword [edi]
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x43ca91
mov ecx, dword [esi]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
mov bl, 1
test eax, eax
jne 0x43caf8
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412b80
add esp, 4
cmp dword [esi + 0x14], 7
mov dword [ebp - 0x10], eax
jbe 0x43cab9
mov esi, dword [esi]
cmp dword [edi + 0x14], 7
jbe 0x43cac1
mov edi, dword [edi]
push 0
push 0
push 2
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_ReplaceFileW]
test eax, eax
jne 0x43caf8
mov esi, dword [ebp + 0x10]
test esi, esi
je 0x43caf6
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00412b80
add esp, 4
mov ecx, dword [ebp - 0x10]
cmp eax, 0xfffffffc
cmovne ecx, eax
mov dword [esi], ecx
xor ebx, ebx
mov eax, ebx
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x43cb1e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x43cb3e
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne cl
and eax, 0x10
shr eax, 4
and al, cl
pop ebp
ret

Function at 0x43cb60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x240
mov eax, dword [0x54c03c]
lea esi, [ebp - 0x21a]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
dec eax
xor ebx, ebx
cmp eax, 0x102
ja 0x43cbe4
cmp word [ebp - 0x21a], 0
je 0x43cbae
xor ebx, ebx
nop
cmp word [ebp + ebx*2 - 0x218], 0
lea ebx, [ebx + 1]
jne 0x43cba0
lea edi, [ebp - 0x24c]
mov ecx, edi
push ebx
push esi
call fcn.0040fe40
lea ebx, [ebp - 0x234]
mov ecx, edi
push ebx
call fcn.00411f80
mov ecx, dword [ebp + 8]
push ebx
call fcn.0040ffd0
mov ecx, ebx
call fcn.0040fef0
mov ecx, edi
call fcn.0040fef0
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
add esp, 0x240
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43cc00
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x224
mov eax, dword [0x54c03c]
mov esi, dword [ebp + 8]
lea edi, [ebp - 0x214]
xor eax, ebp
mov dword [ebp - 0xc], eax
push edi
push 0
push 0
push 0x28
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x43cc59
movzx eax, word [ebp - 0x214]
test ax, ax
je 0x43cc59
xor eax, eax
nop
cmp word [ebp + eax*2 - 0x212], 0
lea eax, [eax + 1]
jne 0x43cc40
mov ecx, esi
push eax
push edi
call fcn.0040fe40
jmp 0x43cc94
lea edi, [ebp - 0x22c]
mov ecx, edi
call fcn.0040fd00
push edi
call fcn.0043cb60
add esp, 4
mov ecx, esi
test al, al
je 0x43cc7d
push edi
call fcn.0040fdf0
jmp 0x43cc89
push 3
push 0x50310a
call fcn.0040fe40
lea ecx, [ebp - 0x22c]
call fcn.0040fef0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.004d45c8
mov eax, esi
add esp, 0x224
pop esi
pop edi
pop ebp
ret
Function at 0x43d560
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20
mov eax, dword [0x54c03c]
mov esi, dword [ebp + 8]
xor eax, ebp
mov ebx, esi
mov dword [ebp - 0x10], eax
cmp dword [esi + 0x14], 7
jbe 0x43d580
mov ebx, dword [esi]
mov edi, dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x43d5aa
mov bl, 1
test al, 0x10
jne 0x43d668
test edi, edi
je 0x43d5a3
mov dword [edi], 0xfffffff7
xor ebx, ebx
jmp 0x43d668
lea eax, [ebp - 0x28]
mov dword [ebp - 0x2c], ebx
mov ecx, esi
push eax
call fcn.00410ab0
mov eax, dword [esi + 0x10]
cmp dword [ebp - 0x18], eax
jne 0x43d5fe
test eax, eax
je 0x43d5ef
cmp dword [esi + 0x14], 7
mov ecx, esi
jbe 0x43d5ce
mov ecx, dword [esi]
cmp dword [ebp - 0x14], 7
lea edx, [ebp - 0x28]
jbe 0x43d5da
mov edx, dword [ebp - 0x28]
xor edi, edi
nop dword [eax]
movzx ebx, word [edx + edi*2]
cmp bx, word [ecx + edi*2]
jne 0x43d5fe
inc edi
cmp eax, edi
jne 0x43d5e0
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x43d65e
mov dword [eax], 0xfffffffc
jmp 0x43d65e
mov edi, dword [ebp + 0xc]
push edi
lea eax, [ebp - 0x28]
push eax
call fcn.0043d560
add esp, 8
test al, al
je 0x43d65e
push 0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov bl, 1
test eax, eax
jne 0x43d660
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
cmp eax, 0xb7
jne 0x43d64f
cmp dword [esi + 0x14], 7
jbe 0x43d63a
mov esi, dword [esi]
push esi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, esi
cmp eax, 0xffffffff
je 0x43d64f
and eax, 0x10
jne 0x43d660
test edi, edi
je 0x43d65e
push ecx
call fcn.00412b80
add esp, 4
mov dword [edi], eax
xor ebx, ebx
lea ecx, [ebp - 0x28]
call fcn.0040fef0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
add esp, 0x20
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x43d740
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x254
mov eax, dword [0x54c03c]
lea edi, [ebp - 0x218]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov word [ebp - 0x218], 0
push edi
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
dec eax
cmp eax, 0x103
jbe 0x43d780
xor ebx, ebx
jmp 0x43d885
mov dword [ebp - 0x21c], 7
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], 0
push edi
call fcn.004eaf34
add esp, 4
mov esi, eax
cmp eax, 7
jbe 0x43d7ce
sub esp, 0xc
mov al, byte [ebp - 0x248]
lea ecx, [ebp - 0x230]
mov byte [esp + 4], al
mov dword [esp + 8], edi
mov dword [esp], esi
call fcn.0040184a
jmp 0x43d7f3
mov eax, esi
mov dword [ebp - 0x220], esi
lea ecx, [ebp - 0x230]
add eax, esi
push eax
push edi
push ecx
call fcn.004d9f90
add esp, 0xc
mov word [ebp + esi*2 - 0x230], 0
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x220]
cmp dword [ebp - 0x21c], 7
jbe 0x43d80d
mov edx, dword [ebp - 0x230]
jmp 0x43d813
lea edx, [ebp - 0x230]
lea edi, [ebp - 0x260]
mov ecx, edi
push eax
push edx
call fcn.0040fe40
lea ebx, [ebp - 0x248]
mov ecx, edi
push ebx
call fcn.00411f80
mov ecx, esi
push ebx
call fcn.0040ffd0
mov ecx, ebx
call fcn.0040fef0
mov ecx, edi
call fcn.0040fef0
mov ecx, dword [ebp - 0x21c]
cmp ecx, 8
jb 0x43d883
mov eax, dword [ebp - 0x230]
lea edx, [ecx + ecx + 2]
cmp edx, 0x1000
jb 0x43d879
mov edx, eax
mov eax, dword [eax - 4]
add edx, 0xfffffffc
sub edx, eax
cmp edx, 0x20
jae 0x43d89c
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.004d4589
add esp, 8
mov bl, 1
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004d45c8
mov eax, ebx
add esp, 0x254
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.004e40e0
int3