joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43e0c2
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x14
mov eax, 0x461122
call fcn.0044542c
mov esi, dword [ebp + 8]
cmp esi, dword [0x49b858]
jne 0x43e0e0
xor eax, eax
jmp 0x43e245
and dword [ebp - 0x1c], 0
xor ecx, ecx
mov dword [ebp - 0x18], ecx
xor ebx, ebx
or edi, 0xffffffff
test ebx, ebx
jne 0x43e103
cmp dword [0x49b850], ebx
je 0x43e205
push 2
pop edi
jmp 0x43e11d
cmp ebx, 1
jne 0x43e205
mov eax, esi
call fcn.0043e05e
test al, al
je 0x43e205
xor edi, edi
and dword [ebp - 0x10], 0
lea ecx, [ebp + 0xb]
mov dword [ebp - 0x20], edi
call fcn.0043e080
xor eax, eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], eax
push eax
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, edi
jmp 0x43e1c8
mov eax, dword [ebp - 0x14]
test eax, eax
jne 0x43e151
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x18]
push ecx
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push dword [esi]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 0x18], 2
mov edi, eax
jae 0x43e17d
cmp dword [ebp - 0x1c], 1
je 0x43e17a
cmp dword [ebp - 0x1c], 2
jne 0x43e17d
push 2
pop edi
mov eax, edi
call fcn.0043d857
test eax, eax
je 0x43e1e5
push 0x1c0496
xor edi, edi
push edi
call fcn.0044013d
mov eax, dword [esi + 8]
movzx eax, word [eax + 6]
push dword [ebp - 0x10]
and eax, 0xf
imul eax, eax, 0xc
mov ecx, 0x49b860
mov dword [eax + 0x469528], edi
call fcn.0043cfec
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x20]
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
push edi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
push dword [esi + 8]
call fcn.0043d96e
mov edi, eax
test edi, edi
je 0x43e145
jmp 0x43e1f6
push dword [ebp - 0x10]
mov ecx, 0x49b860
call fcn.0043cf50
test edi, edi
je 0x43e211
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.0043e0a1
mov ecx, dword [ebp - 0x18]
inc ebx
cmp ebx, 2
jl 0x43e0eb
jmp 0x43e220
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xb]
call fcn.0043e0a1
mov ecx, dword [ebp - 0x18]
test edi, edi
jne 0x43e23b
cmp dword [ebp - 0x1c], 2
je 0x43e233
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x43e243
push ecx
call fcn.0043c938
jmp 0x43e241
push esi
call fcn.0043c5f0
mov ecx, eax
mov eax, ecx
call fcn.00445504
ret 4
Function at 0x441248
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
mov dword [ebp - 0x23c], eax
mov edi, 0x104
lea eax, [ebp - 0x22c]
push edi
push eax
call fcn.00443df0
pop ecx
pop ecx
test eax, eax
jne 0x441285
or eax, 0xffffffff
jmp 0x441401
push ebx
xor eax, eax
lea ebx, [ebp - 0x22c]
push esi
mov dword [ebp - 0x230], ebx
cmp word [ebp - 0x22c], ax
je 0x4412ac
add ebx, 2
cmp word [ebx], ax
jne 0x44129e
mov dword [ebp - 0x230], ebx
push 1
call fcn.00443d96
pop ecx
push dword [0x4695bc]
call fcn.0043c691
mov esi, eax
mov dword [ebp - 0x238], esi
cmp esi, 0x64
jbe 0x4412cf
xor esi, esi
inc esi
lea eax, [ebp - 0x22c]
sub ebx, eax
sar ebx, 1
push esi
push 0x409e50
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.00442223
add esp, 0x10
test ebx, ebx
js 0x441363
cmp ebx, edi
ja 0x441363
mov eax, edi
sub eax, ebx
cmp eax, 0x7fffffff
ja 0x441363
push eax
push dword [ebp - 0x230]
lea eax, [ebp - 0x24]
push eax
call fcn.004597c7
push 1
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x22c]
push eax
call fcn.0043c3f5
mov dword [ebp - 0x234], eax
cmp eax, 0xffffffff
jne 0x4413b9
cmp esi, 0x64
jb 0x441342
xor esi, esi
inc esi
cmp esi, dword [ebp - 0x238]
jne 0x4412d9
push esi
push 0x409e50
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.00442223
add esp, 0x10
test ebx, ebx
jns 0x441368
call fcn.0044670d
cmp ebx, edi
ja 0x441363
sub edi, ebx
cmp edi, 0x7fffffff
ja 0x441363
push edi
push dword [ebp - 0x230]
lea eax, [ebp - 0x24]
push eax
call fcn.004597c7
mov ebx, 0x80
push ebx
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 1
push 0
push ebx
push 2
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x22c]
push eax
call fcn.0043c3f5
mov edi, eax
jmp 0x4413bf
mov edi, dword [ebp - 0x234]
cmp esi, 0x64
jb 0x4413c6
xor esi, esi
cmp byte [ebp + 0x10], 0
je 0x4413db
lea eax, [esi + 1]
push eax
push dword [0x4695bc]
call fcn.0043c6b9
call fcn.004410dc
mov eax, dword [ebp - 0x23c]
pop esi
pop ebx
test eax, eax
je 0x4413ff
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.00440452
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.004453d2
leave
ret
Function at 0x4414d3
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x4414e2
xor eax, eax
leave
ret
and dword [ebp - 4], 0
push ebx
push esi
lea eax, [ebp - 4]
push edi
xor esi, esi
push eax
inc esi
call fcn.00442277
mov ebx, eax
push ebx
call fcn.004467f4
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x441606
push 0x49bbd4
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
call fcn.00440ca9
pop ecx
test eax, eax
jne 0x441527
xor esi, esi
jmp 0x4415f0
cmp byte [0x49be77], 0
je 0x44153a
push 0x72766c72
call fcn.004400e8
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov byte [0x49be77], 1
call fcn.00442277
pop ecx
cmp eax, ebx
jne 0x44155b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x441587
push edi
call fcn.004467ff
lea eax, [ebp - 4]
push eax
call fcn.00442277
mov ebx, eax
push ebx
call fcn.004467f4
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x441587
push 0x72766c73
call fcn.004400e8
xor esi, esi
cmp dword [ebp + 0x14], 0
jne 0x441595
cmp ebx, 0xea60
ja 0x441520
test esi, esi
je 0x4415ab
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
push edi
call fcn.00442430
add esp, 0x10
mov esi, eax
mov byte [0x49be77], 0
test esi, esi
je 0x4415e6
push 0
lea eax, [ebp - 8]
push eax
push ebx
push edi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4415d5
cmp dword [ebp - 8], ebx
jne 0x4415d5
xor esi, esi
inc esi
jmp 0x4415d7
xor esi, esi
push ebx
push edi
push dword [ebp + 0x10]
call fcn.00442700
add esp, 0xc
jmp 0x4415f0
push 0x74697970
call fcn.004400e8
push 0x49bbd4
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x441606
push edi
call fcn.004467ff
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x442700
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x442748
push esi
push 1
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call fcn.0043c3f5
mov esi, eax
cmp esi, 0xffffffff
je 0x442747
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
pop ebp
ret
Function at 0x44274a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test dword [0x49bc14], 0x2000
je 0x442776
call fcn.00443d1b
jmp 0x44280b
push ebx
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.00443df0
pop ecx
pop ecx
test eax, eax
je 0x44280a
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x409e60
call fcn.004596ef
call fcn.00441203
test al, al
je 0x442808
push edi
call fcn.0044140e
push 1
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.00441248
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x442807
push esi
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
call fcn.004414d3
add esp, 0x10
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
test esi, esi
jne 0x4427f8
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x442807
push ebx
push 0x49bc64
push eax
call fcn.00440452
add esp, 0xc
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret
Function at 0x44324b
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov byte [eax], bl
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], ebx
mov esi, ebx
mov byte [edi], 1
call fcn.00443c72
mov dword [ebp - 0x220], eax
cmp eax, 3
je 0x443465
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00443220
pop ecx
pop ecx
test eax, eax
je 0x443465
xor eax, eax
inc eax
push eax
push ebx
push 0x80
push 3
push ebx
push eax
push SysReAllocString
lea eax, [ebp - 0x20c]
push eax
call fcn.0043c3f5
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x210]
cmp ecx, 0xffffffff
jne 0x443303
cmp eax, 0x20
jne 0x4432f9
push 0x1c8016
call fcn.004400e8
mov eax, ebx
mov byte [edi], al
jmp 0x443465
cmp eax, 5
je 0x4432f0
xor eax, eax
inc eax
jmp 0x4432f2
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi - 0x8c]
cmp eax, 0xf74
ja 0x44344f
push edi
call fcn.0044007c
mov esi, eax
test esi, esi
je 0x44344f
push ebx
lea eax, [ebp - 0x218]
push eax
push edi
push esi
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x44344f
cmp edi, dword [ebp - 0x218]
jne 0x44344f
push ebx
push edi
push esi
call fcn.00441127
add esp, 0xc
test eax, eax
je 0x44344f
cmp dword [esi + 0x78], ebx
jne 0x44344f
mov eax, dword [esi + 0x7c]
push 0xc
xor edx, edx
pop ecx
div ecx
mov ecx, eax
imul ecx, ecx, 0xc
mov dword [ebp - 0x214], eax
cmp dword [esi + 0x7c], ecx
jne 0x44344f
lea edi, [esi + 0x80]
test eax, eax
jle 0x443423
cmp dword [edi], 0x2102
ja 0x4433c9
je 0x4433e9
cmp dword [edi], 0x10
je 0x4433e9
cmp dword [edi], 0x195b
je 0x4433e9
cmp dword [edi], 0x19df
jbe 0x4433f9
cmp dword [edi], 0x19e2
jbe 0x4433e9
jmp 0x4433f9
cmp dword [edi], 0x24c8
jb 0x4433f9
cmp dword [edi], 0x24cb
jbe 0x4433e9
cmp dword [edi], 0x24cd
je 0x4433e9
cmp dword [edi], 0x2696
jne 0x4433f9
push dword [edi + 4]
push dword [edi]
call fcn.0044056b
mov eax, dword [ebp - 0x214]
cmp dword [edi], 0x195b
je 0x443411
cmp dword [edi], 0x19e1
je 0x443411
cmp dword [edi], 0x24cd
jne 0x443412
inc ebx
add edi, 0xc
dec eax
mov dword [ebp - 0x214], eax
jne 0x4433a0
cmp ebx, 3
je 0x443431
call fcn.004575a8
test eax, eax
je 0x44343c
cmp ebx, 2
jl 0x44343c
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], 1
jmp 0x44344f
xor eax, eax
inc eax
cmp dword [ebp - 0x220], eax
jne 0x44344f
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], al
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x443465
push esi
call fcn.0044008c
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453d2
leave
ret
Function at 0x443601
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.0044421e
and dword [ebp - 0x38], 0
push 8
pop ecx
xor eax, eax
lea edi, [ebp - 0x34]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x38]
push eax
push 0x11
call fcn.0044056b
push dword [ebp - 0x24]
push 0x12
call fcn.0044056b
mov edi, SysReAllocString
xor ecx, ecx
mov eax, edi
cpuid
lea esi, [ebp - 0x14]
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
cmp dword [ebp - 0x14], edi
jbe 0x443688
xor ecx, ecx
lea eax, [edi + 1]
cpuid
mov dword [esi], eax
mov dword [esi + 4], ebx
mov dword [esi + 8], ecx
mov dword [esi + 0xc], edx
test dword [ebp - 8], 0x20000000
je 0x443684
push 9
jmp 0x44368d
push 0
jmp 0x44368d
push 0xffff
push 0x2699
call fcn.0044056b
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004453d2
leave
ret

Function at 0x443a8b
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
push 0x118
lea eax, [ebp - 0x11c]
push esi
push eax
mov dword [ebp - 0x124], esi
mov dword [ebp - 0x120], esi
call fcn.00445cad
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 1
push esi
push 0x410cb0
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x443b33
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
push eax
push esi
push 0x410cdc
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x443b25
push dword [ebp - 0x130]
push 0x22df
call fcn.0044056b
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x443b3d
push 0x1c800b
call fcn.004400e8
lea eax, [ebp - 0x120]
push eax
call fcn.0045781b
pop ecx
pop esi
test al, al
je 0x443bbe
push dword [ebp - 0x114]
push 0x1a
call fcn.0044056b
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x43
call fcn.0044056b
movzx eax, word [ebp - 8]
push eax
push 0x3a5
call fcn.0044056b
push dword [ebp - 0x11c]
push 0x22e1
call fcn.0044056b
push dword [ebp - 0x118]
push 0x22e2
call fcn.0044056b
movzx eax, word [ebp - 0xc]
push eax
push 0x22e4
call fcn.0044056b
movzx eax, word [ebp - 0xa]
push eax
push 0x22e5
call fcn.0044056b
lea eax, [ebp - 0x124]
push eax
movzx eax, word [ebp - 0xa]
push eax
movzx eax, word [ebp - 0xc]
push eax
push dword [ebp - 0x118]
push dword [ebp - 0x11c]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
test eax, eax
je 0x443bf7
push dword [ebp - 0x124]
push 0x1af7
call fcn.0044056b
jmp 0x443c0d
push 0xffffffffffffffff
push 0x1af7
call fcn.0044056b
push 0x1c800c
call fcn.004400e8
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453d2
leave
ret
Function at 0x443c27
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x44], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add ecx, 0x80000
adc eax, 0
shrd ecx, eax, 0x14
push ecx
push 0xc
shr eax, 0x14
call fcn.0044056b
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004453d2
leave
ret

Function at 0x443df0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
call fcn.00457393
test eax, eax
je 0x443e13
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.0043c47a
pop ecx
pop ecx
xor ecx, ecx
cmp ecx, eax
sbb eax, eax
neg eax
pop ebp
ret
push ebx
push edi
mov edi, dword [ebp + 8]
push 1
push dword [ebp + 0xc]
call fcn.00444173
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x443ea1
push edi
call fcn.0044042a
cmp word [edi + eax*2 - 2], 0x5c
pop ecx
je 0x443e54
push 0xffffffffffffffff
push 0x4029e4
push dword [ebp + 0xc]
push edi
call fcn.00447ea2
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x443ea1
push 0xffffffffffffffff
push 0x410d2c
push dword [ebp + 0xc]
push edi
call fcn.00447ea2
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x443ea1
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x443ea1
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax - 0xb7]
neg ebx
sbb ebx, ebx
inc ebx
jne 0x443ea1
push 0x1cb247
call fcn.004400e8
pop edi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x443ff1
Capabilities:
Get session user name

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0xc]
push esi
xor esi, esi
mov dword [ebp - 4], esi
test eax, eax
jne 0x444011
push 0x1cb21e
call fcn.004400e8
jmp 0x444170
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x444028
push 0x1cb21f
call fcn.004400e8
jmp 0x44416f
push ebx
mov ebx, dword [ebp + 8]
push 2
pop ecx
cmp ebx, ecx
je 0x444047
cmp ebx, 8
je 0x444047
cmp ebx, 3
je 0x444047
push 0x1cb220
jmp 0x444142
cmp dword [eax], esi
je 0x444055
push 0x1cb221
call fcn.004400e8
cmp dword [edi], esi
je 0x444063
push 0x1cb222
call fcn.004400e8
push edi
push esi
push ebx
mov dword [edi], esi
call sub.Secur32.dll_GetUserNameExW
movzx esi, al
call dword [sym.imp.KERNEL32.dll_GetLastError]
test esi, esi
jne 0x444149
cmp eax, 0xea
jne 0x444149
mov eax, dword [edi]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004467f4
mov esi, dword [ebp + 0xc]
pop ecx
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
jne 0x4440b2
push 0x1cb240
jmp 0x44412a
mov eax, dword [edi]
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push ecx
push ebx
call sub.Secur32.dll_GetUserNameExW
test al, al
jne 0x4440cd
push 0x1cb241
jmp 0x44412a
mov eax, dword [edi]
dec eax
cmp dword [ebp - 4], eax
je 0x4440df
push 0x1cb242
call fcn.004400e8
push 2
pop eax
cmp ebx, eax
jne 0x4440fb
push dword [edi]
mov eax, dword [esi]
call fcn.00443f8f
pop ecx
test eax, eax
jne 0x44416e
push 0x1cb243
jmp 0x44412a
cmp ebx, 8
jne 0x444138
cmp dword [esi], 0
jne 0x44410c
push 0x1cb21c
jmp 0x444120
push 0x40
push dword [esi]
call fcn.004484ae
pop ecx
pop ecx
test eax, eax
jne 0x444131
push 0x1cb21d
call fcn.004400e8
push 0x1cb244
call fcn.004400e8
jmp 0x444156
xor ecx, ecx
mov word [eax], cx
jmp 0x44416e
cmp ebx, 3
je 0x44416e
push 0x1cb245
call fcn.004400e8
jmp 0x44416e
push 0x1cb223
call fcn.004400e8
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0
je 0x444166
push dword [esi]
call fcn.004467ff
and dword [esi], 0
pop ecx
cmp dword [edi], 0
je 0x44416e
and dword [edi], 0
pop ebx
pop edi
pop esi
leave
ret

Function at 0x444173
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 1
push 0x1c
push edi
xor esi, esi
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x4441ee
push dword [ebp + 8]
push edi
push 0x410cf0
call fcn.004596ef
inc esi
cmp dword [ebp + 0xc], 0
je 0x4441ee
push edi
call fcn.0045a338
test eax, eax
jne 0x4441ee
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.00440452
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x410d18
call fcn.0045a277
lea eax, [ebp - 0x20c]
push eax
call fcn.0045a357
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret
Function at 0x444345
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x424], eax
mov eax, dword [ebp + 0x1c]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x414], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x40c], eax
test esi, esi
jne 0x44438e
xor eax, eax
jmp 0x444508
and dword [esi], 0
push ebx
push edi
xor edi, edi
inc edi
push edi
push eax
push ecx
push 0x400
lea eax, [ebp - 0x404]
push eax
call fcn.0045880a
mov ecx, dword [ebp - 0x40c]
and dword [ebp - 0x408], 0
and dword [ebp - 0x41c], 0
mov ebx, eax
mov eax, ecx
shr eax, 0x1a
not eax
and eax, edi
mov dword [ebp - 0x410], eax
test ebx, ebx
je 0x4443f5
mov eax, ecx
shr eax, 0x17
push ebx
and eax, edi
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov ecx, dword [ebp - 0x40c]
mov dword [esi], eax
mov eax, dword [ebp - 0x410]
cmp dword [esi], 0
jne 0x4444a2
test eax, eax
je 0x4444a2
and dword [ebp - 0x418], 0
push edi
lea eax, [ebp - 0x414]
push eax
push ecx
call fcn.00458691
test eax, eax
je 0x444484
mov eax, dword [ebp - 0x40c]
shr eax, 0x19
push ebx
and eax, edi
push eax
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x418], eax
push edi
lea eax, [ebp - 0x414]
push eax
push dword [ebp - 0x40c]
call fcn.004587c5
mov ecx, dword [ebp - 0x418]
cmp ecx, 5
jne 0x44448a
cmp dword [ebp - 0x41c], 0
jne 0x44448a
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x41c], edi
jmp 0x4443cf
mov ecx, dword [ebp - 0x418]
cmp dword [esi], 0
je 0x4444a2
xor eax, eax
cmp ecx, 0xb7
setne al
mov dword [ebp - 0x408], eax
jmp 0x4444a8
mov eax, dword [ebp - 0x408]
cmp dword [esi], 0
je 0x4444b2
cmp dword [esi], 0xffffffff
jne 0x4444d2
cmp dword [ebp - 0x410], 0
je 0x4444c5
push 0x6b633230
call fcn.004400e8
and dword [esi], 0
xor eax, eax
mov dword [ebp - 0x408], eax
xor edi, edi
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x4444f8
test ebx, ebx
jne 0x4444e5
mov ebx, 0x410a6d
push dword [ebp + 0x14]
push ecx
push ebx
call fcn.004442ef
mov eax, dword [ebp - 0x408]
add esp, 0xc
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x444504
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004453d2
leave
ret 0x1c
Function at 0x4445b5
Capabilities:
Get thread local storage value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2a4
mov eax, dword [0x499c0c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x29c], eax
mov eax, dword [0x499be8]
push ebx
mov ebx, dword [ebp + 8]
cmp eax, 0xffffffff
je 0x444790
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
mov dword [ebp - 0x2a0], edi
test edi, edi
je 0x44478f
push esi
xor esi, esi
cmp dword [edi], esi
jne 0x44478e
mov dword [edi], 1
cmp ebx, 0x7e
ja 0x44478c
mov ebx, dword [edi + ebx*4 + 4]
mov dword [ebp - 0x2a4], ebx
test ebx, ebx
je 0x44478c
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.00445cad
mov eax, dword [ebp + 0x14]
and eax, 3
add esp, 0xc
mov dword [ebp - 0x290], esi
mov dword [ebp - 0x298], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
push ebx
mov dword [ebp - 0x294], eax
call fcn.004448b8
cmp eax, dword [ebx + 0x24]
jg 0x4446b1
mov ecx, dword [ebx + 0x48]
cmp ecx, dword [ebx + 0x44]
jae 0x4446b1
test byte [ebx + 4], 1
jne 0x4446b1
test dword [ebx + 4], 0x400
jne 0x4446b1
test byte [ebp + 0x14], 0x10
jne 0x4446b1
cmp dword [0x49c128], esi
je 0x4446b1
push esi
lea eax, [ebp - 0x28c]
push eax
push 0x20
push 1
call dword [sym.imp.KERNEL32.dll_RtlCaptureStackBackTrace]
movzx eax, ax
mov dword [ebp - 0x290], eax
jmp 0x4446b3
mov eax, esi
mov edi, dword [ebp - 0x298]
mov esi, ebx
mov ebx, dword [ebp - 0x29c]
push ebx
push eax
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x294]
push dword [ebp + 0xc]
push edi
call fcn.004449ad
test byte [esi + 4], 2
jne 0x4446f2
mov esi, dword [esi]
mov eax, dword [ebp - 0x290]
test esi, esi
jne 0x4446c1
mov ebx, dword [ebp - 0x2a4]
test edi, edi
mov edi, dword [ebp - 0x2a0]
jne 0x444739
test byte [0x49bbc0], 2
je 0x444739
push dword [ebp - 0x29c]
push dword [ebp - 0x294]
push dword [ebp + 0xc]
push dword [ebx + 8]
push dword [ebx + 0x38]
push dword [ebx + 0x34]
push 0x4050c0
push dword [0x49b80c]
push dword [0x49b808]
call fcn.0044479f
mov esi, dword [ebx + 0xc]
cmp esi, 0xffffffff
je 0x444787
mov esi, dword [edi + esi*4 + 4]
test esi, esi
je 0x444787
mov edi, dword [ebp - 0x298]
mov ebx, dword [ebp - 0x290]
push 0
push ebx
lea eax, [ebp - 0x28c]
push eax
lea eax, [ebp - 0x20c]
push eax
push dword [ebp - 0x294]
push dword [ebp + 0xc]
push edi
call fcn.004449ad
test byte [esi + 4], 2
jne 0x444781
mov esi, dword [esi]
test esi, esi
jne 0x444755
mov edi, dword [ebp - 0x2a0]
and dword [edi], 0
jmp 0x44478e
mov dword [edi], esi
pop esi
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.004453d2
leave
ret 0x10

Function at 0x4453d2
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x499c0c]
jne fcn.00446479
repz ret