joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425033
Capabilities:
Read .ini file

Disassembly:
push 0x23c
mov eax, 0x59fca0
call fcn.005980e1
mov ebx, ecx
call fcn.00423871
lea edi, [ebx + 0xd4]
push eax
mov ecx, edi
call fcn.00401a50
mov esi, str.GoodZip.ini
push esi
call fcn.00452872
pop ecx
push eax
push esi
mov ecx, edi
call fcn.004024d0
push str.gdysgf
push 0x5a42e0
push str.GDsftinf
lea eax, [ebp - 0x230]
mov ecx, ebx
push eax
call fcn.00423ad3
lea esi, [ebx + 0xec]
push eax
mov ecx, esi
call fcn.004059a0
push 0
push 1
lea ecx, [ebp - 0x230]
call fcn.00401d10
push str.gdysgf
mov ecx, esi
call fcn.0042558c
test eax, eax
jne 0x425122
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00443040
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x4250d3
mov edi, dword [edi]
push edi
push 0x104
lea eax, [ebp - 0x218]
mov edi, str.gdysgf
push eax
push edi
push 0x5a42e0
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x425104
xor eax, eax
jmp 0x425111
lea eax, [ebp - 0x218]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401d80
jmp 0x425127
mov edi, str.gdysgf
push edi
mov ecx, esi
call fcn.0042558c
test eax, eax
jne 0x4251ea
push 0x208
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebx + 0x5c]
lea ecx, [ebp - 0x230]
push eax
call fcn.00402e90
and dword [ebp - 4], 0
push str.GoodZip.ini
call fcn.00452872
pop ecx
push eax
push str.GoodZip.ini
lea ecx, [ebp - 0x230]
call fcn.004024d0
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
cmovae eax, dword [ebp - 0x230]
push eax
push 0x104
lea eax, [ebp - 0x218]
push eax
push edi
push 0x5a42e0
push str.GDsftinf
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp word [ebp - 0x218], 0
jne 0x4251bb
xor eax, eax
jmp 0x4251c8
lea eax, [ebp - 0x218]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x218]
mov ecx, esi
push eax
call fcn.00401d80
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
push 0
push 1
call fcn.00401d10
push edi
mov ecx, esi
call fcn.0042558c
test eax, eax
jne 0x425226
push edi
push 0x5a42e0
push str.GDsftinf
lea eax, [ebp - 0x248]
mov ecx, ebx
push eax
call fcn.0042396c
push eax
mov ecx, esi
call fcn.004059a0
push 0
push 1
lea ecx, [ebp - 0x248]
call fcn.00401d10
call fcn.0059809c
ret
Function at 0x425ed5
Capabilities:
Enumerate processes

Disassembly:
push 0x268
mov eax, 0x59fdc8
call fcn.005980e1
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x26c]
and dword [ebp - 0x270], 0
push 0x22c
push 0
push eax
call fcn.00443040
add esp, 0xc
lea ecx, [ebp - 0x40]
push esi
call fcn.00401b60
and dword [ebp - 4], 0
lea eax, [ebp - 0x40]
push eax
call fcn.00427991
pop ecx
call fcn.0042bd2a
test al, al
je 0x425f43
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0042bce5
test al, al
je 0x425f67
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x274], eax
cmp eax, 0xffffffff
jne 0x425f82
xor ebx, ebx
jmp 0x426072
lea ecx, [ebp - 0x26c]
mov dword [ebp - 0x26c], 0x22c
push ecx
push eax
call sub.KERNEL32.dll_Process32FirstW
jmp 0x426058
call fcn.0042bc16
test al, al
je 0x425fbe
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.0042b895
test al, al
je 0x425fe1
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
and dword [ebp - 0x18], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
cmp word [ebp - 0x248], ax
je 0x426008
lea eax, [ebp - 0x248]
push eax
call fcn.00452872
pop ecx
push eax
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x28]
call fcn.00401d80
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 1
push eax
call fcn.00427991
pop ecx
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x28]
call fcn.004035e0
lea ecx, [ebp - 0x28]
push 0
push 1
test eax, eax
je 0x426086
mov byte [ebp - 4], 0
call fcn.00401d10
lea eax, [ebp - 0x26c]
push eax
push dword [ebp - 0x274]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x425f9e
mov ebx, dword [ebp - 0x270]
push dword [ebp - 0x274]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0
push 1
lea ecx, [ebp - 0x40]
call fcn.00401d10
mov eax, ebx
call fcn.0059809c
ret
xor ebx, ebx
inc ebx
call fcn.00401d10
jmp 0x426066
Function at 0x426090
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.004305ae
mov edi, eax
pop ecx
test edi, edi
jg 0x4260ae
xor eax, eax
jmp 0x426150
call fcn.0042b9ee
test al, al
je 0x4260c9
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.0042be83
test al, al
je 0x4260e2
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
push edi
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov dword [ebp - 4], eax
test eax, eax
je 0x4260a7
push dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
call fcn.0042bc16
test al, al
je 0x426121
pop edx
pop ebx
pop esi
push edi
pop edi
push ecx
pop edx
push ebp
pop eax
pop ebp
push edx
push eax
push eax
pop edx
push edi
pop esp
pop eax
push ebx
pop edi
pop edx
push edx
pop eax
push esi
call fcn.0042b895
test al, al
je 0x426144
pop esp
push ebx
push eax
pop edi
pop ecx
pop edx
push ebp
push eax
pop ecx
push edi
pop eax
pop ebx
push edi
pop ecx
push ebx
pop edi
push eax
pop ecx
push edi
pop esp
push ebx
pop edi
push edx
pop edi
push edx
pop esi
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x429670
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
push 0
push 0x80
push 2
push 0
push 1
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 8], ebx
cmp ebx, 0xffffffff
je 0x42977e
call fcn.0042bd2a
test al, al
je 0x4296c9
push edi
push eax
push esp
pop edx
pop edx
pop edx
pop ebp
push ebp
pop ebp
push edx
pop ecx
push esp
push ebp
push ebp
push esi
pop esi
push ebx
push eax
pop ecx
pop esi
pop edx
push ebx
pop esp
pop esi
pop ebp
push ebp
pop esp
push ecx
pop edx
pop ebp
pop edi
call fcn.0042bce5
test al, al
je 0x4296f0
push ebx
pop ecx
push edi
pop ebx
push esi
pop ebx
pop ecx
push ecx
pop esi
pop edi
pop ecx
pop edx
push ebx
push esp
pop esi
pop esp
pop edx
push esp
pop ecx
pop edx
push ecx
push edi
push ecx
pop edx
push esi
pop esi
pop ebp
mov ebx, dword [ebp - 8]
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push 0
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_WriteFile]
push ebx
mov dword [ebp - 8], eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0042b9a9
test al, al
je 0x42972b
push ebx
push edx
pop edi
pop esp
push esp
pop eax
push edx
pop edi
pop ebp
push esi
push edi
push edi
push edi
push ebp
pop esi
pop ebp
pop esi
call fcn.0042be83
test al, al
je 0x429751
push edx
pop esi
push esp
pop ebx
pop eax
push edi
push ebp
push eax
pop ebx
pop esp
push edi
push esp
pop edx
pop edx
push edi
push edx
push esi
pop ecx
pop eax
pop ebx
pop eax
push esp
pop edi
push ecx
pop esp
pop ebp
pop esp
pop ebp
push esi
call fcn.0042bf0d
test al, al
je 0x42976b
pop edi
pop esi
push edx
push esp
pop eax
push esp
pop edx
push ebp
push edx
push edx
push edx
push edi
pop ebp
push esp
pop eax
pop esi
pop esp
cmp dword [ebp - 8], 0
je 0x42977e
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 4]
jne 0x42977e
xor eax, eax
inc eax
jmp 0x429780
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42c334
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00443040
push 0x61e334
lea eax, [ebp - 0x20c]
push str.C:log_s.log
push eax
call fcn.004012c0
add esp, 0x18
call fcn.0042be3e
test al, al
je 0x42c399
push edi
pop esp
push esp
pop edi
push esi
pop edx
push ecx
pop edx
push esi
pop edx
push esi
push eax
push esp
pop ebx
pop ebp
push ebx
pop ebx
push edx
push esp
pop ebp
push ebp
push edi
push ebp
pop esi
push ebx
pop ebx
call fcn.0042bd2a
test al, al
je 0x42c3b3
pop ebp
push esi
pop eax
pop esp
push ecx
pop ebp
push ebx
pop ebp
pop ecx
pop edi
push edi
pop ecx
push ecx
pop eax
pop ebx
push esp
pop edx
call fcn.0042ba33
test al, al
je 0x42c3ce
pop ecx
push esp
pop ebp
push esi
pop esp
pop eax
pop edi
push ebp
push esp
pop edi
push ecx
pop ecx
push edx
push ecx
pop ecx
push eax
push esp
push ecx
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
pop esi
neg eax
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret
Function at 0x42ce71
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
test esi, esi
je 0x42cef0
push ebx
push edi
xor edi, edi
push str.f2da34836ca34ce8b141b10b95246713
mov dword [ebp + 8], edi
call fcn.00452890
mov ebx, dword [ebp + 0xc]
mov edx, edi
pop ecx
test ebx, ebx
je 0x42cead
mov cl, byte [edi + str.f2da34836ca34ce8b141b10b95246713]
xor byte [edx + esi], cl
inc edi
xor ecx, ecx
cmp edi, eax
cmovge edi, ecx
inc edx
cmp edx, ebx
jb 0x42ce97
cmp ebx, 1
jle 0x42cee4
cmp byte [esi], 0x37
jne 0x42cee4
mov al, byte [esi + 1]
cmp al, 0x7a
je 0x42cec2
cmp al, 0x5a
jne 0x42cee4
lea eax, [ebp + 8]
push eax
push ebx
push esi
call fcn.0041a320
test eax, eax
je 0x42cee4
mov edx, dword [ebp + 8]
test edx, edx
je 0x42cee4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov dword [eax], edx
jmp 0x42ceee
mov eax, dword [ebp + 0x10]
mov dword [eax], esi
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x42d0f3
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
push dword [ebp + 8]
call fcn.00452872
mov dword [ebp - 8], eax
xor ecx, ecx
push 2
inc eax
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004201b8
push dword [ebp + 8]
mov dword [ebp - 4], eax
push eax
call fcn.00452850
add esp, 0x10
call fcn.0042bb02
test al, al
je 0x42d14a
push eax
pop edx
pop edi
pop edi
push ebp
pop ecx
push ecx
push edi
push esp
push edi
push esi
push ebp
pop esi
pop ecx
pop esp
push esi
pop esp
push ecx
push esp
push eax
pop ecx
pop ecx
call fcn.0042bbd1
test al, al
je 0x42d16f
pop ebx
push ecx
pop edx
push ebp
push edx
pop edi
pop edi
pop esp
push ebp
pop esi
pop edx
pop ebp
pop esi
pop edx
push edi
pop ebp
push ebp
push edi
push ebp
pop edx
push ebp
push esi
pop esi
pop esi
pop ebp
push edx
push ebp
pop esp
call fcn.0042bb02
test al, al
je 0x42d18f
pop esi
push ebp
pop edx
pop edx
push ebp
push edi
pop eax
push ebp
pop edx
pop ecx
pop esp
push esp
pop edi
push esp
pop edx
push ebp
push esi
push edi
push edi
pop ebx
pop ebp
pop ebx
push esp
mov edi, dword [ebp - 8]
xor esi, esi
xor ebx, ebx
inc esi
test edi, edi
js 0x42d204
mov esi, dword [ebp - 4]
cmp word [esi + ebx*2], 0x5c
jne 0x42d1fc
call fcn.0042ba33
test al, al
je 0x42d1d1
push edi
pop ecx
push esi
push ebx
push edi
push ebp
push ebp
push esp
pop eax
pop edi
pop ecx
pop ebp
pop ecx
pop esp
push esi
pop eax
pop ebp
push ebp
push ebp
push eax
pop edi
push edx
push eax
push eax
pop ebp
push ebx
pop edx
push ebp
pop esi
mov esi, dword [ebp - 4]
mov edi, dword [ebp - 8]
movzx eax, word [esi + ebx*2]
mov dword [ebp - 0xc], eax
xor eax, eax
push esi
mov word [esi + ebx*2], ax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d1f5
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x42d216
mov eax, dword [ebp - 0xc]
mov word [esi + ebx*2], ax
inc ebx
cmp ebx, edi
jle 0x42d19e
xor esi, esi
inc esi
push dword [ebp - 4]
call fcn.004201b3
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor esi, esi
jmp 0x42d204
Function at 0x42d21a
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x20c]
push ebx
push esi
mov dword [ebp - 0x218], eax
mov eax, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x214], eax
xor eax, eax
push eax
push 0x1a
push ecx
push eax
call fcn.0042e618
lea eax, [ebp - 0x20c]
push eax
call fcn.00452872
add esp, 0x14
mov dword [ebp - 0x210], eax
call fcn.0042bc16
test al, al
je 0x42d283
pop ebx
pop eax
pop ecx
push esp
pop edi
push esi
push edx
push edx
push ecx
pop edi
push ebx
push esi
push ebp
pop esi
pop esi
pop edi
push eax
call fcn.0042bb02
test al, al
je 0x42d2a6
push ecx
push esi
push eax
push ebp
pop ebp
push ebp
pop esi
pop edi
pop ebp
push ecx
push edi
pop esp
pop ecx
push ebp
pop edx
pop ebp
pop esp
push edx
pop ecx
push edx
pop esi
pop eax
pop ecx
pop edx
pop edx
pop eax
call fcn.0042bdf9
test al, al
je 0x42d2c4
push edx
pop esi
pop ebx
pop ebp
pop esi
push esi
push ebp
push esp
push eax
push ecx
push ecx
pop ebx
push ebx
pop eax
pop ebx
push esp
push ebp
push ebp
pop esp
push ecx
pop ebx
cmp dword [ebp - 0x210], 0
je 0x42d3df
mov esi, 0x61e2a0
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004527df
push dword [ebp - 0x214]
lea eax, [ebp - 0x20c]
push eax
call fcn.004527df
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.004527df
add esp, 0x18
call fcn.0042bec8
test al, al
je 0x42d32a
push edi
push edx
push ecx
pop esp
push eax
pop esp
push esi
push edx
push esp
pop esi
push ebp
pop ebx
push esp
pop esp
push eax
pop eax
pop ebp
push ebx
push esp
push esi
pop edx
push edi
push ebp
push edx
push esp
push ecx
pop ebx
push edi
call fcn.0042bca0
test al, al
je 0x42d353
pop ebp
push esi
push esi
push edx
push ebx
push eax
pop esi
pop esi
push ebp
push eax
push edx
push esi
push esi
push ebx
pop ebx
pop ebx
push edx
pop esi
pop ebx
push esi
pop ecx
pop ebp
push edi
pop edi
push ecx
pop edx
pop ecx
pop edi
push edi
push ecx
pop ecx
pop ebx
call fcn.0042be83
test al, al
je 0x42d375
pop ebx
push ecx
pop esi
push ecx
push edi
pop edx
pop esp
push edx
pop eax
pop ecx
push ebx
push ebx
push ebx
push eax
push ecx
push ebx
pop esi
push edi
pop ebp
push ecx
pop ecx
pop ebx
pop esp
push ecx
push esp
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42d393
lea eax, [ebp - 0x20c]
push eax
call fcn.0042d0f3
pop ecx
call fcn.0042be3e
test al, al
je 0x42d3b1
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
cmp word [ebp - 0x20c], 0
jne 0x42d3bf
xor eax, eax
jmp 0x42d3cc
lea eax, [ebp - 0x20c]
push eax
call fcn.00452872
pop ecx
mov ecx, dword [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
call fcn.00401d80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret
Function at 0x42e00a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x62d7d8], 0
push ebx
push esi
push edi
je 0x42e050
call fcn.0042be3e
test al, al
je 0x42e123
pop edx
pop eax
pop eax
push ebp
push edx
pop ebx
push esi
pop ecx
push esp
push eax
push esp
pop ebp
push ebx
pop ebp
pop ecx
pop ebp
push eax
pop edx
push ebx
pop ebp
push ebp
jmp 0x42e123
call fcn.0042b9ee
test al, al
je 0x42e073
pop edx
pop edx
push esi
pop esp
pop edi
pop eax
pop ebx
push eax
pop edx
push eax
push eax
push eax
pop ebp
push esi
push edi
push esp
push ecx
push ebx
pop edx
push ebx
push esp
push edx
push ebx
pop edi
push esp
push ebx
call fcn.0042bc5b
test al, al
je 0x42e095
pop edi
pop esi
push ecx
pop ecx
pop edi
push ebx
pop ebx
push esp
pop esi
pop ebx
pop edx
push esp
pop ebx
pop edx
pop ebp
pop esp
pop edx
push esi
push esi
push ecx
pop ebx
push eax
pop edi
push edx
push edx
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x20c]
push 1
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x42e105
lea eax, [ebp - 0x20c]
push eax
call fcn.00452cce
lea eax, [ebp - 0x20c]
mov dword [esp], 0x5a4b4c
push eax
call fcn.00441d4d
pop ecx
pop ecx
test eax, eax
jne 0x42e0fe
lea eax, [ebp - 0x20c]
push str.documents_and_settingslocalservice
push eax
call fcn.00441d4d
pop ecx
pop ecx
test eax, eax
je 0x42e105
mov byte [0x62d7d8], 1
call fcn.0042b9a9
test al, al
je 0x42e123
push ecx
push ecx
push esi
pop ebp
pop ebx
push esp
push ebx
push ecx
pop eax
pop ebp
pop ebp
pop ecx
pop edx
pop edi
push edi
push esi
push esp
push ebp
push eax
pop eax
pop edx
mov ecx, dword [ebp - 4]
mov al, byte [0x62d7d8]
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret

Function at 0x42e139
Capabilities:
Get common file path

Disassembly:
push pe_nt_image_headers32
mov eax, 0x5a0791
call fcn.005980e1
mov al, byte [0x62d7d9]
test al, al
jne 0x42e202
push 0x104
xor esi, esi
lea eax, [ebp - 0x114]
push esi
push eax
call fcn.00443040
add esp, 0xc
lea eax, [ebp - 0x114]
xor edi, edi
inc edi
push edi
push 0x1a
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
test eax, eax
je 0x42e1fd
push str.config_systemprofile
lea ecx, [ebp - 0x12c]
call fcn.00401cb0
lea eax, [ebp - 0x114]
mov dword [ebp - 4], esi
push eax
lea ecx, [ebp - 0x144]
call fcn.00401cb0
push dword [ebp - 0x11c]
cmp dword [ebp - 0x118], 0x10
lea eax, [ebp - 0x12c]
push esi
cmovae eax, dword [ebp - 0x12c]
lea ecx, [ebp - 0x144]
push eax
call fcn.00409610
movzx ecx, byte [0x62d7d9]
cmp eax, 0xffffffff
push esi
cmovne ecx, edi
mov byte [0x62d7d9], cl
lea ecx, [ebp - 0x144]
push edi
call fcn.00402010
push esi
push edi
lea ecx, [ebp - 0x12c]
call fcn.00402010
mov al, byte [0x62d7d9]
call fcn.0059809c
ret
Function at 0x42ef68
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x6280b8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x148]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov esi, 0x11c
lea eax, [ebp - 0x120]
push esi
push 0
push eax
call fcn.00443040
add esp, 0xc
mov dword [ebp - 0x120], esi
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
call fcn.0042b9ee
test al, al
je 0x42efd9
pop eax
push edx
push edi
push esp
push ebp
pop ebp
pop eax
push eax
pop esi
push esi
pop eax
pop esp
push esi
push esi
push eax
push esp
push eax
push eax
pop ecx
push edx
pop esi
push edx
pop esp
pop eax
push esi
push ebp
push edx
call fcn.0042bd2a
test al, al
je 0x42effa
pop esp
push ebx
pop esp
pop esp
pop esp
pop edi
pop eax
pop eax
push esi
push esi
pop eax
push esi
push ebx
push eax
push ebp
push ebp
push ebp
push edi
pop edi
pop ebp
pop esp
push ebx
push ebp
pop ebx
mov eax, dword [ebp - 0x11c]
mov edi, dword [ebp - 0x118]
mov dword [ebp - 0x124], eax
call fcn.0042b9ee
test al, al
je 0x42f027
pop eax
push edx
push edi
pop esi
push edx
push esi
push edi
push esi
push eax
push eax
pop esp
pop ebp
push edi
pop ecx
push esp
pop esp
pop esi
push ebx
call fcn.0042be83
test al, al
je 0x42f040
push ebx
pop esi
pop esi
push ebp
pop edx
push ecx
pop ebx
pop eax
pop ecx
pop esp
pop esi
pop ecx
pop edx
push ebp
pop edx
push edi
cmp dword [ebp - 0x124], 5
jg 0x42f053
cmp edi, 2
jg 0x42f053
xor eax, eax
inc eax
jmp 0x42f055
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0041feb9
mov esp, ebp
pop ebp
ret

Function at 0x42f0b1
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
call fcn.0042bb02
test al, al
je 0x42f0d9
pop esi
pop ecx
pop edi
push ebx
pop ecx
push edi
push eax
pop edi
push ebp
push edi
push eax
pop eax
push esp
push edx
push ebx
pop eax
pop edi
push ebp
pop ebp
push ecx
pop edx
call fcn.0042bf52
test al, al
je 0x42f0f5
push esp
pop esp
push edi
pop ecx
pop ebp
push esp
push esp
pop eax
push esi
push esi
push ebp
pop esp
pop ebx
pop ebx
push edi
pop esp
push esp
pop edi
push edx
call fcn.0042bc5b
test al, al
je 0x42f11c
push edx
push edi
pop eax
pop esp
push edi
pop ebx
pop esi
pop ebp
push esi
pop edi
push esp
push ecx
pop eax
push eax
push ecx
push ebp
push ecx
push ebp
pop esp
push esp
pop edx
pop esp
pop ebp
pop eax
pop esp
pop ebx
pop esi
push edi
push edi
pop ebp
push dword [ebp + 8]
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, dword [ebp - 4]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
pop edi
sbb eax, eax
inc eax
mov dword [esi + 4], eax
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4