joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406826
Capabilities:
Check http status code

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x15c
push esi
push edi
lea eax, [ebp - 0x15c]
push eax
push 0x90
push 4
push 0x4e7
push 0x41cc28
call fcn.00404e03
add esp, 0x14
xor esi, esi
xor eax, eax
mov word [ebp - 0xcc], ax
lea eax, [ebp - 0x15c]
push esi
push esi
push esi
push esi
push eax
call dword [0x41cb84]
mov edi, eax
xor eax, eax
mov dword [ebp - 8], edi
test edi, edi
je 0x406a46
mov word [ebp - 0x30], ax
xor ecx, ecx
lea eax, [ebp - 0x48]
mov dword [ebp - 0x48], 0x3c
push eax
push esi
push esi
push dword [ebp + 8]
inc ecx
mov dword [ebp - 0x44], esi
mov dword [ebp - 0x40], esi
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x34], ecx
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x28], esi
mov dword [ebp - 0x24], esi
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x10], esi
call dword [0x41cc10]
test eax, eax
jne 0x4068d2
push edi
call dword [0x41cac8]
xor eax, eax
jmp 0x406a46
mov ecx, dword [ebp - 0x38]
xor edx, edx
mov eax, dword [ebp - 0x34]
push ebx
push esi
mov word [ecx + eax*2], dx
push dword [ebp - 0x30]
push dword [ebp - 0x38]
push edi
call dword [0x41cbe0]
mov ebx, eax
mov dword [ebp - 0xc], ebx
test ebx, ebx
jne 0x4068f9
push edi
jmp 0x40695a
mov eax, dword [ebp - 0x1c]
cmp word [eax], si
jne 0x406907
push 0x2f
pop ecx
mov word [eax], cx
lea eax, [ebp - 0x54]
push eax
push 8
push 0xf
push 0x6e7
push 0x41cc28
call fcn.00404e03
add esp, 0x14
xor eax, eax
cmp dword [ebp - 0x3c], 2
mov ecx, 0x800000
mov word [ebp - 0x4c], ax
cmove eax, ecx
or eax, 0x100
push eax
push esi
push esi
push esi
push dword [ebp - 0x1c]
lea eax, [ebp - 0x54]
push eax
push ebx
call dword [0x41cc00]
mov ebx, eax
test ebx, ebx
jne 0x406967
push edi
call dword [0x41cac8]
push dword [ebp - 0xc]
call dword [0x41cac8]
xor eax, eax
jmp 0x406a45
lea eax, [ebp - 0xc8]
mov edi, esi
push eax
push 0x72
push 0xd
push 0x3cb
push 0x41cc28
call fcn.00404e03
add esp, 0x14
xor eax, eax
mov word [ebp - 0x56], ax
push esi
push dword [ebp + 0x10]
lea eax, [ebp - 0xc8]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push 0xffffffffffffffff
push eax
push ebx
call dword [0x41ca00]
test eax, eax
jne 0x4069d8
call fcn.00404588
cmp eax, 0x2f8f
jne 0x4069d4
push 4
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x13300
push eax
push 0x1f
push ebx
call dword [0x41ca70]
test eax, eax
push 1
pop eax
cmovne edi, eax
test edi, edi
jne 0x40698c
mov eax, dword [ebp + 0x18]
push esi
push ebx
mov dword [eax], esi
call dword [0x41cbcc]
mov edi, dword [ebp - 8]
test eax, eax
je 0x406a2c
push esi
lea eax, [ebp - 8]
mov dword [ebp - 4], esi
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push esi
push 0x20000013
push ebx
call dword [0x41cbf8]
mov ecx, dword [ebp + 0x18]
neg eax
sbb eax, eax
and eax, dword [ebp - 4]
mov dword [ecx], eax
cmp eax, 0xc8
jne 0x406a2c
push dword [ebp + 0x14]
push ebx
call fcn.0040673f
pop ecx
pop ecx
mov esi, eax
push edi
call dword [0x41cac8]
push dword [ebp - 0xc]
call dword [0x41cac8]
push ebx
call dword [0x41cac8]
mov eax, esi
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406f5d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push esi
mov esi, dword [ebp + 0x14]
test esi, esi
je 0x407001
push ebx
mov ebx, dword [ebp + 0x10]
Function at 0x407953
Capabilities:
Encode data using xor

Disassembly:
lea edi, [edi + 0x10]
mov ecx, dword [edi + 8]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + 0x419d60]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + 0x419d60]
and eax, ebx
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x419d60]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x419d60]
and eax, 0xff00
xor edx, eax
sal byte [ebx], 1
push edi
cld
sal byte [ebx], 1
push edi
cld
xor edx, dword [esi]
add esi, 4
mov dword [edi + 0xc], edx
mov eax, dword [edi]
xor eax, edx
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 4]
xor ecx, eax
mov dword [edi + 0x14], ecx
mov eax, dword [edi + 8]
xor eax, ecx
mov dword [edi + 0x18], eax
cmp esi, 0x41b588
jne 0x407906
push 0xa
pop eax
jmp 0x407c91
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x408274
Capabilities:
Encrypt data using curve25519

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x118
push 0x20
push dword [ebp + 0xc]
lea eax, [ebp - 0x20]
push eax
call fcn.00403c80
mov al, byte [ebp - 1]
push dword [ebp + 0x10]
and byte [ebp - 0x20], 0xf8
and al, 0x3f
or al, 0x40
mov byte [ebp - 1], al
lea eax, [ebp - 0x70]
push eax
call fcn.004085d0
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x118]
push eax
call fcn.00407c96
lea eax, [ebp - 0xc8]
push eax
lea eax, [ebp - 0x70]
push eax
call fcn.00407ea5
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp - 0xc8]
push eax
call fcn.00408aea
lea eax, [ebp - 0xc8]
push eax
push dword [ebp + 8]
call fcn.004082ff
add esp, 0x40
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4096a8
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 0xc]
neg ebx
push edi
mov edi, dword [ebp + 8]
sub edi, esi
mov dword [ebp + 0x14], 0xa
mov eax, dword [edi + esi]
mov ecx, dword [esi]
xor ecx, eax
and ecx, ebx
xor eax, ecx
cdq
mov dword [edi + esi], eax
mov dword [edi + esi + 4], edx
mov eax, dword [esi]
xor eax, ecx
sub dword [ebp + 0x14], 1
cdq
mov dword [esi], eax
lea esi, [esi + 8]
mov dword [esi - 4], edx
jne 0x4096c2
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x4096ed
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
cmp dword [ebp + 8], 0
push ebx
push esi
push edi
je 0x40981f
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
test ebx, ebx
jne 0x409715
test edi, edi
jne 0x40981f
mov esi, dword [ebp + 0x18]
mov eax, 0xc8
cmp esi, eax
jae 0x40981f
push eax
lea eax, [ebp - 0xcc]
push 0
push eax
call fcn.00403ca5
add esp, 0xc
cmp edi, esi
jb 0x409781
mov eax, ebx
lea ecx, [ebp - 0xcc]
sub eax, ecx
mov dword [ebp - 4], eax
xor edx, edx
test esi, esi
je 0x409766
mov edi, dword [ebp - 4]
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [edi + ecx]
xor byte [ecx], al
inc edx
cmp edx, esi
jb 0x409751
mov edi, dword [ebp + 0x14]
lea eax, [ebp - 0xcc]
push eax
call fcn.00409829
add dword [ebp - 4], esi
sub edi, esi
add ebx, esi
mov dword [ebp + 0x14], edi
pop ecx
cmp edi, esi
jae 0x409748
mov al, byte [ebp + 0x1c]
xor byte [ebp + edi - 0xcc], al
xor byte [ebp + esi - 0xcd], 0x80
test edi, edi
je 0x4097b3
lea eax, [ebp - 0xcc]
sub ebx, eax
xor edx, edx
lea ecx, [ebp - 0xcc]
add ecx, edx
mov al, byte [ebx + ecx]
xor byte [ecx], al
inc edx
cmp edx, edi
jb 0x4097a1
lea eax, [ebp - 0xcc]
push eax
call fcn.00409829
mov edi, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
pop ecx
cmp edi, esi
jb 0x4097f7
test esi, esi
je 0x4097df
push esi
lea ecx, [ebp - 0xcc]
push ecx
push eax
call fcn.00403c80
add esp, 0xc
lea eax, [ebp - 0xcc]
push eax
call fcn.00409829
mov eax, dword [ebp + 8]
add eax, esi
sub edi, esi
mov dword [ebp + 8], eax
jmp 0x4097c5
test edi, edi
je 0x40980c
push edi
lea edx, [ebp - 0xcc]
push edx
push eax
call fcn.00403c80
add esp, 0xc
xor al, al
lea edi, [ebp - 0xcc]
mov ecx, 0xc8
rep stosb byte es:[edi], al
xor eax, eax
jmp 0x409822
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40104a
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push 0x59a920
call fcn.0040245a
mov ecx, esi
push str.EBWebViewx86EmbeddedBrowserWebView.dll
call fcn.0040245a
mov ecx, esi
call fcn.00402544
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
pop esi
pop ebp
ret

Function at 0x401125
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov esi, dword [ebp + 0xc]
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov ecx, esi
push 0x104
call fcn.00402312
mov ecx, esi
push dword [ebp + 8]
call fcn.0040238a
mov ecx, esi
call fcn.00402544
mov edi, eax
mov ecx, esi
call fcn.00402530
cmp eax, 3
jb 0x40119b
movzx eax, word [edi + 2]
cmp ax, 0x3a
jne 0x40118b
cmp word [edi + 4], 0x5c
jne 0x40119b
movzx eax, word [edi]
and eax, 0xffffffdf
add eax, 0xffffffbf
cmp ax, 0x1a
jae 0x40119b
jmp 0x401229
cmp word [edi], 0x5c
jne 0x40119b
cmp ax, 0x5c
je 0x401229
xor eax, eax
dec eax
lea edi, [ebp - 0x1c]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004022a0
push edi
push 0
call fcn.00401080
add esp, 8
test eax, eax
js 0x401261
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.00402530
mov ebx, eax
mov ecx, edi
call fcn.00402544
mov ecx, esi
push ebx
push eax
call fcn.004023b4
mov ecx, edi
call fcn.00402544
push 0x5c
push eax
call fcn.0056a11c
add esp, 8
test eax, eax
je 0x401270
mov ebx, eax
lea edi, [ebp - 0x1c]
mov ecx, edi
call fcn.00402544
sub ebx, eax
add ebx, 2
sar ebx, 1
mov ecx, edi
call fcn.00402544
mov ecx, esi
push ebx
push eax
call fcn.004023b4
mov ecx, esi
push dword [ebp + 8]
call fcn.0040245a
mov ecx, edi
call fcn.004022b2
xor edi, edi
push esi
call fcn.0040104a
add esp, 4
test al, al
jne 0x40127d
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
push str.WebView2:_Failed_to_find_the_WebView2_client_dll_at:
call edi
mov ecx, esi
call fcn.00402544
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x59a986
call edi
mov edi, 0x80070002
jmp 0x40127d
mov edi, eax
push str.WebView2:_Failed_to_find_the_app_exe_path._n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x401275
mov edi, 0x80004005
lea ecx, [ebp - 0x1c]
call fcn.004022b2
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, edi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x401f31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x230
mov edi, edx
mov esi, ecx
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [esp + 0x228], eax
lea eax, [esp + 0x20]
push 0x208
push 0xff
push eax
call fcn.005683c0
add esp, 0xc
mov dword [esp + 0xc], 0x104
lea eax, [esp + 8]
mov dword [eax], 0xffffffff
mov ecx, 0x80000002
sub ecx, edi
push eax
push 0x20219
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
xor ebx, ebx
test eax, eax
jne 0x40202e
lea eax, [esp + 0xc]
push eax
lea edi, [esp + 0x24]
push edi
push ebx
push ebx
push str.EBWebView
push dword [esp + 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
push dword [esp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
jne 0x40202c
cmp dword [esp + 0xc], 3
mov ebx, 0
jb 0x40202e
mov esi, dword [ebp + 0xc]
mov ecx, esi
push edi
call fcn.0040238a
mov ecx, esi
call fcn.00402544
push 0x5c
push eax
call fcn.0056a11c
add esp, 8
test eax, eax
je 0x40202c
mov edi, eax
add edi, 2
pcmpeqd xmm0, xmm0
lea edx, [esp + 0x10]
movdqa xmmword [edx], xmm0
mov ecx, edi
call fcn.00401dde
test al, al
je 0x40202c
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x40201d
push edi
call fcn.0040238a
lea ecx, [esp + 0x10]
mov edx, esi
call fcn.00402046
mov ebx, eax
jmp 0x40202e
xor ebx, ebx
mov ecx, dword [esp + 0x228]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x402046
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
mov esi, edx
xor eax, eax
mov edx, dword [eax + 0x59ace8]
cmp dword [ecx + eax], edx
ja 0x402064
jb 0x40206f
add eax, 4
cmp eax, 0x10
jne 0x40204f
push esi
call fcn.0040104a
add esp, 4
jmp 0x40208f
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Loader_skipped_an_incompatible_version:
call edi
mov ecx, esi
call fcn.00402544
push eax
call edi
push 0x59ad4a
call edi
xor eax, eax
pop esi
pop edi
pop ebp
ret
Function at 0x402a72
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov esi, edx
mov edi, ecx
mov ebx, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov dword [ebp - 0x20], eax
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ebx, ebx
je 0x402aed
mov dword [ebp - 0x1c], ecx
xor eax, eax
lea ecx, [ebp - 0x14]
mov dword [ecx], eax
lea edx, [ebp - 0x18]
mov dword [edx], 4
push edx
push ecx
push eax
push 0x10
push esi
push eax
push edi
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
test eax, eax
je 0x402b07
mov ecx, edi
mov edx, esi
push dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
push esi
call fcn.00402b31
add esp, 8
test al, al
je 0x402b17
mov eax, dword [esi]
test eax, eax
je 0x402b2d
push 0xa
push 0
push eax
call fcn.0056e62b
add esp, 0xc
cmp eax, 1
jmp 0x402b0b
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov ecx, edi
mov edx, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
jmp fcn.00402b31
cmp dword [ebp - 0x14], 1
sete al
movzx eax, al
mov dword [ebx], eax
mov bl, 1
jmp 0x402b19
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret
xor eax, eax
jmp 0x402b0e

Function at 0x402b31
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x214
mov edi, edx
mov dword [ebp - 0x220], ecx
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor ebx, ebx
lea esi, [ebp - 0x218]
push 0x208
push ebx
push esi
call fcn.005683c0
add esp, 0xc
lea eax, [ebp - 0x21c]
mov dword [eax], 0x104
push eax
push esi
push ebx
push 2
push edi
push ebx
push dword [ebp - 0x220]
call dword [sym.imp.ADVAPI32.dll_RegGetValueW]
mov esi, eax
test eax, eax
jne 0x402ba8
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov ecx, edi
lea eax, [ebp - 0x218]
push eax
call fcn.0040238a
mov ecx, edi
call fcn.00402544
mov dword [ebx], eax
test esi, esi
sete bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
add esp, 0x214
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x402c50
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x402cae
mov edi, eax
push str.CreateWebViewEnvironmentWithOptionsInternal
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402d20
mov ecx, eax
mov esi, dword [ebp + 0x1c]
mov bl, byte [ebp + 0xc]
call dword [0x5983d0]
movzx eax, bl
push esi
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
call ecx
mov esi, eax
mov dword [ebp - 0x14], eax
jmp 0x402d8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea ebx, [ebp - 0x14]
mov dword [ebx], esi
xor eax, eax
dec eax
lea edi, [ebp - 0x20]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.004022a0
push edi
push 1
push 4
push ebx
call fcn.00402bc4
add esp, 0x10
mov ebx, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_LoadLibrary:_hr0x
call ebx
mov ecx, edi
call fcn.00402544
push eax
call ebx
push str._path
call ebx
push dword [ebp + 8]
call ebx
push 0x59ad4a
call ebx
mov ecx, edi
call fcn.004022b2
jmp 0x402da2
call dword [sym.imp.KERNEL32.dll_GetLastError]
movzx esi, ax
or esi, 0x80070000
test eax, eax
cmovle esi, eax
lea eax, [ebp - 0x14]
mov dword [eax], esi
xor eax, eax
dec eax
lea ebx, [ebp - 0x20]
mov dword [ebx], eax
mov dword [ebx + 4], eax
mov dword [ebx + 8], eax
mov ecx, ebx
call fcn.004022a0
push ebx
push 1
push 4
lea eax, [ebp - 0x14]
push eax
call fcn.00402bc4
add esp, 0x10
push str.WebView2:_CoreWebView2Environment_failed_when_trying_to_call_into_EmbeddedBrowserWebView.dll._hr0x
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, ebx
call fcn.00402544
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push 0x59ad4a
call eax
mov ecx, ebx
call fcn.004022b2
push str.DllCanUnloadNow
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x402da2
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x403830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [ebp + 8]
cmp dword [ecx], ebx
je 0x403864
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, esi
call fcn.00405300
lea eax, [ebx + 1]
cmp eax, 2
jb 0x40385d
mov dword [esi], ebx
call fcn.00409170
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop esi
pop edi
pop ebx
pop ebp
ret 4
Function at 0x405c60
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x128]
push 0x118
push 0
push eax
call fcn.005683c0
add esp, 0xc
mov dword [ebp - 0x12c], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 0x130], 0
lea eax, [ebp - 0x130]
push eax
push 0
push 0
push dword [ebp - 0x124]
push dword [ebp - 0x128]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x78
call fcn.0056607a
add esp, 4
mov esi, eax
mov ebx, dword [ebp - 0x130]
mov eax, dword [0x5f273c]
mov ecx, dword [0x5f3980]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 8]
jg 0x405d1e
mov ecx, esi
push ebx
push 0x5f2718
push edi
call fcn.00405dd0
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x5f273c
call fcn.00566696
add esp, 4
cmp dword [0x5f273c], 0xffffffff
jne 0x405cf9
xorps xmm0, xmm0
movups xmmword [0x5f2728], xmm0
movups xmmword [0x5f2718], xmm0
mov dword [0x5f2738], 0
push 0x5f2718
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x5f273c
call fcn.0056664c
add esp, 4
jmp 0x405cf9
Function at 0x40a9e2
Capabilities:
Contain obfuscated stackstrings
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
add ecx, 0x58
mov eax, dword [esi + 0x58]
push dword [eax + 4]
push ecx
call fcn.0040c728
push 0x30
push dword [esi + 0x58]
call fcn.005660aa
add esp, 8
mov eax, dword [esi + 0x50]
test eax, eax
je 0x40a906
push eax
call fcn.005667c1
add esp, 4
mov edi, dword [esi + 0x40]
test edi, edi
je 0x40a95f
mov ebx, dword [esi + 0x44]
cmp edi, ebx
je 0x40a925
mov ecx, edi
call fcn.00413190
add edi, 0xc
cmp edi, ebx
jne 0x40a914
mov edi, dword [esi + 0x40]
mov eax, dword [esi + 0x48]
sub eax, edi
cmp eax, 0x1000
jb 0x40a947
mov ecx, dword [edi - 4]
sub edi, ecx
add edi, 0xfffffffc
cmp edi, 0x20
jae 0x40a9dd
add eax, 0x23
mov edi, ecx
push eax
push edi
call fcn.005660aa
add esp, 8
xorps xmm0, xmm0
movlps qword [esi + 0x40], xmm0
mov dword [esi + 0x48], 0
mov edi, dword [esi + 0x34]
test edi, edi
je 0x40a9b4
mov ebx, dword [esi + 0x38]
cmp edi, ebx
je 0x40a97e
mov ecx, edi
call fcn.00413190
add edi, 0xc
cmp edi, ebx
jne 0x40a96d
mov edi, dword [esi + 0x34]
mov eax, dword [esi + 0x3c]
sub eax, edi
cmp eax, 0x1000
jb 0x40a99c
mov ecx, dword [edi - 4]
sub edi, ecx
add edi, 0xfffffffc
cmp edi, 0x20
jae 0x40a9dd
add eax, 0x23
mov edi, ecx
push eax
push edi
call fcn.005660aa
add esp, 8
xorps xmm0, xmm0
movlps qword [esi + 0x34], xmm0
mov dword [esi + 0x3c], 0
cmp byte [esi + 0x20], 0
je 0x40a9c6
lea ecx, [esi + 0x24]
call fcn.00413190
mov byte [esi + 0x20], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x40a9d8
add esi, 4
mov ecx, esi
push eax
call fcn.0040d950
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0056cec6
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xd0
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [esp + 0xc8], eax
mov esi, dword [ecx + 4]
test esi, esi
je 0x40aa17
cmp dword [esi + 0x14], 0x10
jb 0x40c5d4
mov esi, dword [esi]
jmp 0x40c5d4
pcmpeqd xmm0, xmm0
lea esi, [esp + 0x50]
movdqu xmmword [esi + 0xc], xmm0
movdqa xmmword [esi], xmm0
mov edi, ecx
mov ecx, esi
push 6
call fcn.00422e10
movss xmm0, dword [edi + 8]
orpd xmm0, xmmword [0x5b63e0]
subsd xmm0, qword [0x5b63f0]
sub esp, 8
movsd qword [esp], xmm0
lea ebx, [esp + 0xa8]
mov ecx, ebx
call fcn.00422fc0
mov ecx, esi
push ebx
push 9
push str.processId
call fcn.00423750
mov ecx, ebx
call fcn.00424a80
mov dword [esp], edi
mov eax, dword [edi + 0xc]
jmp dword [eax*4 + 0x5b68d0]
mov ecx, dword [esp + 0xc8]
xor ecx, ebp
call fcn.00565e42
mov eax, esi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x4128c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov edi, dword [ebp + 8]
cmp dword [ecx + 8], 0
mov eax, dword [ecx]
jne 0x4128ec
test eax, eax
jne 0x4128ec
xor eax, eax
cmp dword [esi + 0xc], 0
jne 0x4128ec
xor eax, eax
cmp dword [esi + 4], 0
mov edx, 0
je 0x41293c
lea ecx, [eax + 1]
cmp ecx, 2
jb 0x41290b
call fcn.00409170
push dword [esi]
call fcn.00415bb0
add esp, 4
mov dword [esi], 0
xor eax, eax
mov ecx, dword [esi + 4]
lea edx, [ecx + 1]
cmp edx, 2
jb 0x412931
call fcn.00409170
push dword [esi + 4]
call fcn.00415bb0
add esp, 4
mov dword [esi + 4], 0
mov eax, dword [esi]
xor ecx, ecx
mov edx, eax
xorps xmm0, xmm0
movlps qword [esi + 8], xmm0
mov eax, ecx
mov ebx, dword [edi]
cmp edx, ebx
je 0x412983
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jb 0x412967
call fcn.00409170
push dword [esi]
call fcn.00415bb0
add esp, 4
mov dword [esi], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x412976
mov dword [esi], ebx
call fcn.00409170
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [esi + 4]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp eax, ebx
je 0x4129cc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jb 0x4129b2
call fcn.00409170
push dword [esi + 4]
call fcn.00415bb0
add esp, 4
mov dword [esi + 4], 0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x4129c2
mov dword [esi + 4], ebx
call fcn.00409170
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
pop esi
pop edi
pop ebx
pop ebp
ret 4

Function at 0x412ae0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [0x5ef0d4]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
je 0x412b70
mov edi, ecx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x14], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
call esi
mov ebx, eax
call esi
lea ecx, [ebp - 0x14]
push 2
push 0
push 0
push ecx
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_DuplicateHandle]
mov edi, eax
test eax, eax
je 0x412b74
mov ebx, dword [ebp - 0x14]
mov esi, dword [ebp - 0x1c]
cmp dword [esi], ebx
je 0x412b81
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esi]
inc ecx
cmp ecx, 2
jb 0x412b5b
mov dword [ebp - 0x18], eax
call fcn.00409170
push dword [esi]
call fcn.00415bb0
mov eax, dword [ebp - 0x18]
add esp, 4
mov dword [esi], 0
lea ecx, [ebx + 1]
cmp ecx, 2
jb 0x412b7a
mov dword [esi], ebx
mov esi, eax
call fcn.00409170
mov eax, esi
jmp 0x412b7a
mov bl, 1
jmp 0x412b86
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
test edi, edi
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00565e42
mov eax, ebx
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret