joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42935c
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x105c
call fcn.0042f167
mov eax, dword [0x4096f0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x105c], 0
push ebx
push esi
push edi
mov edi, ecx
lea ebx, [edi + 0xb0]
mov eax, dword [ebx]
push ebx
mov dword [ebp - 0x1058], edi
call dword [eax + 0xc]
add edi, 0xb0
mov esi, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
push eax
push esi
call fcn.00428bbf
test eax, eax
je 0x429515
push 0x1c9185
call fcn.00429d5a
mov eax, dword [ebx]
push ebx
call dword [eax + 0xc]
push 0x824
lea ecx, [ebp - 0x1050]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
test ebx, ebx
jne 0x429496
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x429515
mov esi, dword [edi]
push edi
call dword [esi + 0x18]
push eax
push edi
call dword [esi + 0xb8]
mov esi, eax
mov eax, dword [edi]
push edi
mov dword [ebp - 0x1054], esi
call dword [eax + 0x18]
push 0x5c
pop ecx
push ecx
push eax
push esi
call fcn.004346eb
mov esi, eax
test esi, esi
je 0x42948d
xor eax, eax
mov word [esi], ax
push 0x824
lea eax, [ebp - 0x1050]
push eax
push dword [ebp - 0x1054]
call dword [sym.imp.KERNEL32.dll_GetLongPathNameW]
mov ebx, eax
push 0x5c
pop eax
mov word [esi], ax
lea eax, [ebx - 1]
cmp eax, 0x823
ja 0x42948d
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov ecx, eax
mov eax, esi
sub eax, dword [ebp - 0x1054]
sar eax, 1
sub ecx, eax
lea eax, [ecx + ebx]
mov dword [ebp - 0x1054], eax
cmp eax, 0x824
ja 0x42948b
lea eax, [ecx*2 + 2]
push eax
lea eax, [ebp - 0x1050]
lea eax, [eax + ebx*2]
push esi
push eax
call sub.MSVCR100.dll_memcpy
mov eax, dword [ebp - 0x1054]
add esp, 0xc
mov ebx, eax
mov eax, dword [edi]
push edi
call dword [eax + 0xbc]
lea eax, [ebx - 1]
cmp eax, 0x823
ja 0x429515
mov esi, dword [ebp - 0x1058]
add esi, 0xb0
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push eax
lea eax, [ebp - 0x1050]
push eax
call fcn.00421a82
test eax, eax
je 0x429515
cmp ebx, 0x104
ja 0x429515
mov eax, dword [edi]
push ebx
lea ecx, [ebp - 0x1050]
push ecx
push edi
call dword [eax + 0x28]
test eax, eax
jne 0x4294e4
mov eax, 0x8007000e
jmp 0x42951b
mov eax, dword [esi]
push esi
call dword [eax + 0xc]
push dword [ebp + 8]
mov esi, eax
mov eax, dword [edi]
push edi
call dword [eax + 0x18]
mov ebx, dword [ebp - 0x1058]
push eax
push esi
mov ecx, ebx
call fcn.00428471
mov dword [ebp - 0x105c], eax
test eax, eax
js 0x42951b
mov ecx, ebx
call fcn.0042645b
mov eax, dword [ebp - 0x105c]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e34e
leave
ret 4
Function at 0x42af3f
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x240
mov eax, dword [0x4096f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
mov dword [ebp - 0x240], eax
mov esi, 0x104
lea eax, [ebp - 0x22c]
push esi
push eax
call fcn.0042db38
pop ecx
pop ecx
test eax, eax
jne 0x42af7c
or eax, 0xffffffff
jmp 0x42b122
push ebx
xor eax, eax
lea ebx, [ebp - 0x22c]
push edi
mov dword [ebp - 0x234], ebx
cmp word [ebp - 0x22c], ax
je 0x42afa3
add ebx, 2
cmp word [ebx], ax
jne 0x42af95
mov dword [ebp - 0x234], ebx
push 1
call fcn.0042dade
pop ecx
push dword [0x4467bc]
call fcn.004384b9
mov edi, eax
mov dword [ebp - 0x230], edi
cmp edi, 0x64
jbe 0x42afc6
xor edi, edi
inc edi
lea eax, [ebp - 0x22c]
sub ebx, eax
sar ebx, 1
push edi
push 0x402740
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.0042bf41
add esp, 0x10
test ebx, ebx
js 0x42b077
cmp ebx, esi
ja 0x42b077
lea ecx, [ebp - 0x23c]
mov eax, esi
sub eax, ebx
push ecx
push eax
call fcn.0042ccfd
pop ecx
pop ecx
push dword [ebp - 0x23c]
lea eax, [ebp - 0x24]
push dword [ebp - 0x234]
push eax
call fcn.00434eee
push 1
push 0
push 0x80
push 1
push 0
push 1
push 0xc0000000
lea eax, [ebp - 0x22c]
push eax
call fcn.004358c2
mov dword [ebp - 0x238], eax
cmp eax, 0xffffffff
jne 0x42b0da
cmp edi, 0x64
jb 0x42b052
xor edi, edi
inc edi
cmp edi, dword [ebp - 0x230]
jne 0x42afd0
push edi
push 0x402740
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.0042bf41
add esp, 0x10
test ebx, ebx
jns 0x42b07d
call dword [sym.imp.MSVCR100.dll__invalid_parameter_noinfo_noreturn]
cmp ebx, esi
ja 0x42b077
lea eax, [ebp - 0x230]
push eax
sub esi, ebx
push esi
call fcn.0042ccfd
pop ecx
pop ecx
push dword [ebp - 0x230]
lea eax, [ebp - 0x24]
push dword [ebp - 0x234]
push eax
call fcn.00434eee
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.004358c2
mov esi, eax
jmp 0x42b0e0
mov esi, dword [ebp - 0x238]
cmp edi, 0x64
jb 0x42b0e7
xor edi, edi
cmp byte [ebp + 0x10], 0
je 0x42b0fc
lea eax, [edi + 1]
push eax
push dword [0x4467bc]
call fcn.004384e1
call fcn.0042add3
mov eax, dword [ebp - 0x240]
pop edi
pop ebx
test eax, eax
je 0x42b120
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x22c]
push eax
call fcn.0042a14c
add esp, 0xc
mov eax, esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042e34e
leave
ret
Function at 0x42b1f4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [ebp + 8], 0xffffffff
jne 0x42b203
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.0042bf98
mov ebx, eax
push ebx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x42b327
push 0x477984
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
push 0
call fcn.0042a99c
pop ecx
test eax, eax
jne 0x42b248
xor esi, esi
jmp 0x42b311
cmp byte [0x477c47], 0
je 0x42b25b
push 0x72766c72
call fcn.00429d5a
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
mov byte [0x477c47], 1
call fcn.0042bf98
pop ecx
cmp eax, ebx
jne 0x42b27c
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 4]
je 0x42b2a8
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
lea eax, [ebp - 4]
push eax
call fcn.0042bf98
mov ebx, eax
push ebx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x42b2a8
push 0x72766c73
call fcn.00429d5a
xor esi, esi
cmp dword [ebp + 0x14], 0
jne 0x42b2b6
cmp ebx, 0xea60
ja 0x42b241
test esi, esi
je 0x42b2cc
push dword [ebp + 0xc]
push dword [ebp - 4]
push ebx
push edi
call fcn.0042c151
add esp, 0x10
mov esi, eax
mov byte [0x477c47], 0
test esi, esi
je 0x42b307
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 0x42b2f6
cmp dword [ebp - 8], ebx
jne 0x42b2f6
xor esi, esi
inc esi
jmp 0x42b2f8
xor esi, esi
push ebx
push edi
push dword [ebp + 0x10]
call fcn.0042c421
add esp, 0xc
jmp 0x42b311
push 0x74697970
call fcn.00429d5a
push 0x477984
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test edi, edi
je 0x42b327
push edi
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x42c421
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0
je 0x42c469
push esi
push 1
push 0
push 0x80
push 2
push 0
push 1
push 0xc0000000
push dword [ebp + 8]
call fcn.004358c2
mov esi, eax
cmp esi, 0xffffffff
je 0x42c468
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 0x42c46b
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x4096f0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
test dword [0x4779e4], 0x2000
je 0x42c497
call fcn.0042da63
jmp 0x42c52c
push ebx
mov ebx, 0x104
lea eax, [ebp - 0x20c]
push ebx
push eax
call fcn.0042db38
pop ecx
pop ecx
test eax, eax
je 0x42c52b
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x402750
call fcn.0043467c
call fcn.0042aefa
test al, al
je 0x42c529
push edi
call fcn.0042b12f
push 1
lea eax, [ebp - 0x414]
push ebx
push eax
call fcn.0042af3f
mov edi, eax
add esp, 0xc
cmp edi, 0xffffffff
je 0x42c528
push esi
lea eax, [ebp - 0x20c]
push eax
push 1
push edi
call fcn.0042b1f4
add esp, 0x10
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x414]
test esi, esi
jne 0x42c519
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x42c528
push ebx
push 0x477a34
push eax
call fcn.0042a14c
add esp, 0xc
pop edi
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042e34e
leave
ret
Function at 0x42cf89
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x4096f0]
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.0042d9ba
mov dword [ebp - 0x220], eax
cmp eax, 3
je 0x42d1a3
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0042cf5e
pop ecx
pop ecx
test eax, eax
je 0x42d1a3
xor eax, eax
inc eax
push eax
push ebx
push 0x80
push 3
push ebx
push eax
push 0x80000000
lea eax, [ebp - 0x20c]
push eax
call fcn.004358c2
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x210]
cmp ecx, 0xffffffff
jne 0x42d041
cmp eax, 0x20
jne 0x42d037
push 0x1c8016
call fcn.00429d5a
mov eax, ebx
mov byte [edi], al
jmp 0x42d1a3
cmp eax, 5
je 0x42d02e
xor eax, eax
inc eax
jmp 0x42d030
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
lea eax, [edi - 0x8c]
cmp eax, 0xf74
ja 0x42d18d
push edi
call fcn.0042a09c
mov esi, eax
test esi, esi
je 0x42d18d
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 0x42d18d
cmp edi, dword [ebp - 0x218]
jne 0x42d18d
push ebx
push edi
push esi
call fcn.0042ae1e
add esp, 0xc
test eax, eax
je 0x42d18d
cmp dword [esi + 0x78], ebx
jne 0x42d18d
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 0x42d18d
lea edi, [esi + 0x80]
test eax, eax
jle 0x42d161
cmp dword [edi], 0x2102
ja 0x42d107
je 0x42d127
cmp dword [edi], 0x10
je 0x42d127
cmp dword [edi], 0x195b
je 0x42d127
cmp dword [edi], 0x19df
jbe 0x42d137
cmp dword [edi], 0x19e2
jbe 0x42d127
jmp 0x42d137
cmp dword [edi], 0x24c8
jb 0x42d137
cmp dword [edi], 0x24cb
jbe 0x42d127
cmp dword [edi], 0x24cd
je 0x42d127
cmp dword [edi], 0x2696
jne 0x42d137
push dword [edi + 4]
push dword [edi]
call fcn.0042a25e
mov eax, dword [ebp - 0x214]
cmp dword [edi], 0x195b
je 0x42d14f
cmp dword [edi], 0x19e1
je 0x42d14f
cmp dword [edi], 0x24cd
jne 0x42d150
inc ebx
add edi, 0xc
dec eax
mov dword [ebp - 0x214], eax
jne 0x42d0de
cmp ebx, 3
je 0x42d16f
call fcn.00432e5d
test eax, eax
je 0x42d17a
cmp ebx, 2
jl 0x42d17a
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], 1
jmp 0x42d18d
xor eax, eax
inc eax
cmp dword [ebp - 0x220], eax
jne 0x42d18d
mov ecx, dword [ebp - 0x21c]
mov byte [ecx], al
push dword [ebp - 0x210]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
je 0x42d1a3
push esi
call fcn.0042a0ad
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e34e
leave
ret
Function at 0x42d33f
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov eax, dword [0x4096f0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
call fcn.0042df6f
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.0042a25e
push dword [ebp - 0x24]
push 0x12
call fcn.0042a25e
mov edi, 0x80000000
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 0x42d3c6
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 0x42d3c2
push 9
jmp 0x42d3cb
push 0
jmp 0x42d3cb
push 0xffff
push 0x2699
call fcn.0042a25e
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042e34e
leave
ret

Function at 0x42d7c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x4096f0]
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 sub.MSVCR100.dll_memset
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
push 1
push esi
push 0x4095d4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42d871
lea eax, [ebp - 0x12c]
push eax
lea eax, [ebp - 0x130]
push eax
lea eax, [ebp - 0x134]
push eax
push esi
push 0x409600
push dword [ebp - 0x128]
mov dword [ebp - 0x12c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x42d863
push dword [ebp - 0x130]
push 0x22df
call fcn.0042a25e
push dword [ebp - 0x128]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x42d87b
push 0x1c800b
call fcn.00429d5a
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
pop esi
test eax, eax
je 0x42d906
push dword [ebp - 0x114]
push 0x1a
call fcn.0042a25e
movzx ecx, word [ebp - 0xc]
movzx eax, word [ebp - 0xa]
shl ecx, 0x10
or ecx, eax
push ecx
push 0x43
call fcn.0042a25e
movzx eax, word [ebp - 8]
push eax
push 0x3a5
call fcn.0042a25e
push dword [ebp - 0x11c]
push 0x22e1
call fcn.0042a25e
push dword [ebp - 0x118]
push 0x22e2
call fcn.0042a25e
movzx eax, word [ebp - 0xc]
push eax
push 0x22e4
call fcn.0042a25e
movzx eax, word [ebp - 0xa]
push eax
push 0x22e5
call fcn.0042a25e
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 0x42d93f
push dword [ebp - 0x124]
push 0x1af7
call fcn.0042a25e
jmp 0x42d955
push 0xffffffffffffffff
push 0x1af7
call fcn.0042a25e
push 0x1c800c
call fcn.00429d5a
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e34e
leave
ret
Function at 0x42d96f
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x4096f0]
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.0042a25e
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0042e34e
leave
ret

Function at 0x42db38
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
call fcn.00436e68
test eax, eax
je 0x42db5b
push dword [ebp + 8]
push dword [ebp + 0xc]
call fcn.00436b70
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.0042dec1
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x42dbeb
push edi
call fcn.0042a124
cmp word [edi + eax*2 - 2], 0x5c
pop ecx
je 0x42db9d
push 0xffffffffffffffff
push 0x4173d8
push dword [ebp + 0xc]
push edi
call dword [sym.imp.MSVCR100.dll_wcsncat_s]
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x42dbeb
push 0xffffffffffffffff
push 0x409650
push dword [ebp + 0xc]
push edi
call dword [sym.imp.MSVCR100.dll_wcsncat_s]
xor ebx, ebx
add esp, 0x10
cmp eax, 0x50
setne bl
test ebx, ebx
je 0x42dbeb
push 0
push edi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x42dbeb
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax - 0xb7]
neg ebx
sbb ebx, ebx
inc ebx
jne 0x42dbeb
push 0x1cb247
call fcn.00429d5a
pop edi
mov eax, ebx
pop ebx
pop ebp
ret
Function at 0x42dd3e
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 0x42dd5e
push 0x1cb21e
call fcn.00429d5a
jmp 0x42debe
push edi
mov edi, dword [ebp + 0x10]
test edi, edi
jne 0x42dd75
push 0x1cb21f
call fcn.00429d5a
jmp 0x42debd
push ebx
mov ebx, dword [ebp + 8]
push 2
pop ecx
cmp ebx, ecx
je 0x42dd94
cmp ebx, 8
je 0x42dd94
cmp ebx, 3
je 0x42dd94
push 0x1cb220
jmp 0x42de90
cmp dword [eax], esi
je 0x42dda2
push 0x1cb221
call fcn.00429d5a
cmp dword [edi], esi
je 0x42ddb0
push 0x1cb222
call fcn.00429d5a
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 0x42de97
cmp eax, 0xea
jne 0x42de97
mov eax, dword [edi]
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call sub.MSVCR100.dll_void____cdecl_operator_new___unsigned_int_
mov esi, dword [ebp + 0xc]
pop ecx
mov ecx, eax
mov dword [esi], ecx
test ecx, ecx
jne 0x42ddff
push 0x1cb240
jmp 0x42de78
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 0x42de1a
push 0x1cb241
jmp 0x42de78
mov eax, dword [edi]
dec eax
cmp dword [ebp - 4], eax
je 0x42de2c
push 0x1cb242
call fcn.00429d5a
push 2
pop eax
cmp ebx, eax
jne 0x42de48
push dword [edi]
mov eax, dword [esi]
call fcn.0042dcda
pop ecx
test eax, eax
jne 0x42debc
push 0x1cb243
jmp 0x42de78
cmp ebx, 8
jne 0x42de86
cmp dword [esi], 0
jne 0x42de59
push 0x1cb21c
jmp 0x42de6e
push 0x40
push dword [esi]
call dword [sym.imp.MSVCR100.dll_wcschr]
pop ecx
pop ecx
test eax, eax
jne 0x42de7f
push 0x1cb21d
call fcn.00429d5a
push 0x1cb244
call fcn.00429d5a
jmp 0x42dea4
xor ecx, ecx
mov word [eax], cx
jmp 0x42debc
cmp ebx, 3
je 0x42debc
push 0x1cb245
call fcn.00429d5a
jmp 0x42debc
push 0x1cb223
call fcn.00429d5a
mov esi, dword [ebp + 0xc]
cmp dword [esi], 0
je 0x42deb4
push dword [esi]
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
and dword [esi], 0
pop ecx
cmp dword [edi], 0
je 0x42debc
and dword [edi], 0
pop ebx
pop edi
pop esi
leave
ret

Function at 0x42dec1
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x4096f0]
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 0x42df3c
push dword [ebp + 8]
push edi
push 0x409614
call fcn.0043467c
inc esi
cmp dword [ebp + 0xc], 0
je 0x42df3c
push edi
call fcn.00436bf1
test eax, eax
jne 0x42df3c
mov esi, 0x104
push esi
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0042a14c
add esp, 0xc
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x40963c
call fcn.00436a8d
lea eax, [ebp - 0x20c]
push eax
call fcn.00436c10
mov esi, eax
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0042e34e
leave
ret
Function at 0x42e097
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4096f0]
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 0x42e0e0
xor eax, eax
jmp 0x42e25a
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.00437353
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 0x42e147
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 0x42e1f4
test eax, eax
je 0x42e1f4
and dword [ebp - 0x418], 0
push edi
lea eax, [ebp - 0x414]
push eax
push ecx
call fcn.004371da
test eax, eax
je 0x42e1d6
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.0043730e
mov ecx, dword [ebp - 0x418]
cmp ecx, 5
jne 0x42e1dc
cmp dword [ebp - 0x41c], 0
jne 0x42e1dc
mov eax, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x40c]
mov dword [ebp - 0x41c], edi
jmp 0x42e121
mov ecx, dword [ebp - 0x418]
cmp dword [esi], 0
je 0x42e1f4
xor eax, eax
cmp ecx, 0xb7
setne al
mov dword [ebp - 0x408], eax
jmp 0x42e1fa
mov eax, dword [ebp - 0x408]
cmp dword [esi], 0
je 0x42e204
cmp dword [esi], 0xffffffff
jne 0x42e224
cmp dword [ebp - 0x410], 0
je 0x42e217
push 0x6b633230
call fcn.00429d5a
and dword [esi], 0
xor eax, eax
mov dword [ebp - 0x408], eax
xor edi, edi
mov ecx, dword [ebp - 0x420]
test ecx, ecx
je 0x42e24a
test ebx, ebx
jne 0x42e237
mov ebx, 0x408d4d
push dword [ebp + 0x14]
push ecx
push ebx
call fcn.0042e040
mov eax, dword [ebp - 0x408]
add esp, 0xc
mov ecx, dword [ebp - 0x424]
test ecx, ecx
je 0x42e256
mov dword [ecx], eax
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0042e34e
leave
ret 0x1c