joyce8/EMBER2024-capa huggingface dataset:
Function at 0x421360
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x50
mov edi, dword [ebp + 8]
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [esp + 0x48], eax
xor eax, eax
dec eax
lea esi, [esp + 0x10]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
mov ebx, esp
push 0x209
push str....._base_files_file_util_win.cc
push str.PathExists
push ebx
call fcn.0044a380
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.0044e1c0
cmp byte [edi + 0xb], 0
jns 0x4213c5
mov edi, dword [edi]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
dec ecx
cmp eax, ecx
setne bl
mov ecx, esi
call fcn.0044e240
mov ecx, dword [esp + 0x48]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4213f0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x228
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea ebx, [ebp - 0x21a]
push 0x20a
push 0xff
push ebx
call fcn.00466490
add esp, 0xc
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov esi, eax
dec esi
cmp esi, 0x102
ja 0x421473
push ebx
call fcn.0047a8f1
add esp, 4
lea edi, [ebp - 0x234]
mov ecx, edi
push eax
push ebx
call fcn.0044a5b0
lea ebx, [ebp - 0x228]
mov ecx, edi
push ebx
call fcn.00424ac0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0044a6d0
mov ecx, ebx
call fcn.0044a6b0
mov ecx, edi
call fcn.0044a6b0
cmp esi, 0x103
setb bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
add esp, 0x228
pop esi
pop edi
pop ebx
pop ebp
ret

Function at 0x4214a0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
sub esp, 0x218
mov esi, dword [ebp + 8]
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [ebp - 0xc], eax
lea edi, [ebp - 0x214]
push 0x208
push 0xff
push edi
call fcn.00466490
sub esp, 8
mov dword [esp + 0x10], edi
movaps xmm0, xmmword [0x4c1930]
movups xmmword [esp], xmm0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42151c
cmp word [ebp - 0x214], 0
je 0x42151c
push edi
call fcn.0047a8f1
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0044a5b0
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.00462e56
mov eax, esi
add esp, 0x218
pop esi
pop edi
pop ebp
ret
xor eax, eax
dec eax
lea edi, [ebp - 0x220]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, edi
call fcn.0044a560
push edi
call fcn.004213f0
add esp, 4
mov ecx, esi
test al, al
jne 0x421551
push 3
push 0x4c1982
call fcn.0044a5b0
jmp 0x421557
push edi
call fcn.0044a580
lea ecx, [ebp - 0x220]
call fcn.0044a6b0
jmp 0x421506
Function at 0x4216c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0x260
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [esp + 0x258], eax
xor eax, eax
dec eax
lea esi, [esp + 0x220]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea ebx, [esp + 0x18]
push 0x41c
push str....._base_files_file_util_win.cc
push 0x4c1993
push ebx
call fcn.0044a380
add esp, 0x10
mov ecx, esi
push 0
push ebx
call fcn.0044e1c0
lea esi, [esp + 0x1a]
push 0x206
push 0xff
push esi
call fcn.00466490
add esp, 0xc
mov word [esi - 2], 0
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov esi, eax
dec esi
cmp esi, 0x103
ja 0x421790
push ebx
call fcn.0047a8f1
add esp, 4
mov edi, esp
mov ecx, edi
push eax
push ebx
call fcn.0044a5b0
lea ebx, [esp + 0xc]
mov ecx, edi
push ebx
call fcn.00424ac0
mov ecx, dword [ebp + 8]
push ebx
call fcn.0044a6d0
mov ecx, ebx
call fcn.0044a6b0
mov ecx, edi
call fcn.0044a6b0
cmp esi, 0x104
setb bl
lea ecx, [esp + 0x220]
call fcn.0044e240
mov ecx, dword [esp + 0x258]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x422190
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff0
sub esp, 0xb0
mov dword [esp + 0xc], edx
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [esp + 0xa8], eax
xor ebx, ebx
test ecx, ecx
je 0x42230e
push ebx
push ebx
push ecx
mov dword [esp + 0x1c], ecx
call fcn.00477f17
add esp, 0xc
xor eax, eax
dec eax
lea esi, [esp + 0x70]
mov dword [esi + 0x34], eax
mov dword [esi + 0x30], eax
pcmpeqd xmm0, xmm0
movdqa xmmword [esi + 0x20], xmm0
movdqa xmmword [esi + 0x10], xmm0
movdqa xmmword [esi], xmm0
lea edi, [esp + 0x30]
push 0x48
push str....._base_files_file_util.cc
push str.ReadStreamToSpanWithMaxSize
push edi
call fcn.0044a380
add esp, 0x10
mov ecx, esi
push ebx
push edi
call fcn.0044e1c0
mov dword [edi + 0x30], ebx
pxor xmm0, xmm0
movdqa xmmword [edi + 0x20], xmm0
movdqa xmmword [edi + 0x10], xmm0
movdqa xmmword [edi], xmm0
push dword [esp + 0x10]
call fcn.00472126
add esp, 4
push eax
call fcn.0047217a
add esp, 4
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetFileInformationByHandle]
test eax, eax
je 0x422326
mov eax, dword [esp + 0x54]
xor ecx, ecx
mov edx, eax
neg edx
sbb ecx, dword [esp + 0x50]
mov edi, 0xffff
cmovl edi, eax
mov eax, dword [esp + 0xc]
cmp edi, eax
cmovae edi, eax
inc edi
lea ebx, [esp + 0x28]
xor eax, eax
dec eax
mov dword [ebx], eax
mov dword [ebx + 4], eax
lea ecx, [ebp + 8]
mov eax, dword [ecx]
mov ecx, dword [ecx + 4]
mov dword [esp + 0x14], eax
mov dword [esp + 0x20], eax
call dword [section..00cfg]
mov eax, dword [esp + 0x20]
push edi
push eax
push ebx
mov dword [esp + 0x24], ecx
call ecx
add esp, 0xc
xor esi, esi
mov eax, dword [ebx + 4]
add eax, esi
push dword [esp + 0x10]
push edi
push 1
push eax
call fcn.00477c27
add esp, 0x10
test eax, eax
je 0x4222d2
mov ebx, eax
mov eax, dword [esp + 0xc]
sub eax, esi
cmp eax, ebx
jb 0x422330
add ebx, esi
push dword [esp + 0x10]
call fcn.0047759d
add esp, 4
test eax, eax
je 0x422338
mov esi, ebx
push dword [esp + 0x10]
call fcn.004775c9
add esp, 4
test eax, eax
sete bl
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x18]
call dword [section..00cfg]
mov eax, dword [esp + 0x6c]
lea edx, [esp + 0x20]
push esi
push eax
push edx
call ecx
add esp, 0xc
lea ecx, [esp + 0x70]
call fcn.0044e240
mov ecx, dword [esp + 0xa8]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
mov edi, 0xffff
jmp 0x42225b
xor ebx, ebx
mov esi, dword [esp + 0xc]
jmp 0x4222e3
test esi, esi
mov eax, 0x10000
cmove edi, eax
lea eax, [ebx + edi]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x6c], eax
mov ecx, dword [esp + 0x18]
call dword [section..00cfg]
mov eax, dword [esp + 0x6c]
lea esi, [esp + 0x20]
push dword [esp + 0x1c]
push eax
push esi
call ecx
add esp, 0xc
mov ecx, dword [esi]
mov eax, dword [esi + 4]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x28], ecx
mov esi, ebx
jmp 0x42229c
Function at 0x423370
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
call fcn.00423410
mov eax, dword [esi]
mov dword [0x4d1d28], eax
test al, 1
jne 0x42338c
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [0x4e0ba0]
test eax, eax
jne 0x4233a1
mov ecx, dword [0x4e0b8c]
test ecx, ecx
je 0x4233c3
jmp 0x4233df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4e0ba0], 0
mov ecx, dword [0x4e0b8c]
test ecx, ecx
jne 0x4233df
and byte [0x4d1d28], 0xfe
push 0xc
call fcn.004625e7
add esp, 4
mov ecx, eax
xor eax, eax
mov dword [ecx + 4], eax
mov dword [ecx], eax
mov dword [ecx + 8], eax
mov dword [0x4e0b8c], ecx
push dword [esi + 4]
call fcn.004240c0
cmp dword [esi + 0xc], 0
jne 0x423401
mov eax, dword [0x4e0b8c]
cmp byte [eax + 0xb], 0
jns 0x4233fa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
jmp fcn.004a4de0
Function at 0x425130
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x4e0be4]
test ebx, ebx
jne 0x4251b2
push 0x28
call fcn.004625e7
add esp, 4
mov esi, eax
xor edi, edi
mov dword [eax], edi
mov dword [eax + 4], edi
mov byte [eax + 8], 0
push 0xc
call fcn.004625e7
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x4251bc
mov dword [eax + 4], edi
mov dword [eax], edi
mov dword [eax + 8], edi
mov dword [esi + 0x10], ecx
mov eax, esi
add eax, 0x1c
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x18], eax
mov dword [esi + 0x24], 1
mov dword [0x4e0be4], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x4251cf
mov edi, eax
push eax
call fcn.0047a8f1
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.004251f0
test ebx, ebx
sete al
pop esi
pop edi
pop ebx
pop ebp
ret
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
jmp 0x4251e3
push str.null_pointer_passed_to_non_null_argument_of_char_traits_..._::length
push str.__s___nullptr
push 0x109
push str....._third_partylibc_srcinclude_string_view
push str._s:_d:_assertion__s_failed:__s_n
call fcn.0048cb70
int3
Function at 0x4251f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x24
mov edi, ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov edx, dword [0x4ce008]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.004206a0
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x425350
mov esi, dword [ebp - 0x20]
mov dword [edi], esi
mov dword [edi + 4], eax
xor eax, eax
mov dword [ebp - 0x14], eax
push 0x800
mov dword [ebp - 0x24], 0
push eax
push 0x4c1bbc
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
je 0x425364
push 0x4c1c0c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42527c
mov ecx, eax
call dword [section..00cfg]
lea eax, [ebp - 0x14]
push eax
push esi
call ecx
mov dword [ebp - 0x24], eax
mov ebx, dword [ebp - 0x14]
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov edi, 0
mov dword [ebp - 0x28], 0
test ebx, ebx
je 0x4252ec
cmp ebx, 0x15555556
jae 0x42539d
shl ebx, 2
lea esi, [ebx + ebx*2]
push esi
call fcn.004625e7
add esp, 4
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x28], eax
add esi, eax
mov dword [ebp - 0x18], esi
xor esi, esi
xor edi, edi
mov ecx, dword [ebp - 0x28]
add ecx, esi
je 0x425382
mov eax, dword [ebp - 0x24]
push dword [eax + edi]
call fcn.0048e0b0
add edi, 4
add esi, 0xc
cmp ebx, edi
jne 0x4252c4
mov edi, dword [ebp - 0x28]
add edi, esi
mov dword [ebp - 0x1c], edi
mov esi, dword [ebp - 0x30]
mov ecx, esi
lea eax, [ebp - 0x20]
push eax
call fcn.00424f50
xor eax, eax
mov dword [esi], eax
mov dword [esi + 4], eax
push dword [ebp - 0x24]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [ebp - 0x2c]
test eax, eax
je 0x425318
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x425350
cmp edi, esi
je 0x425347
add edi, 0xfffffff4
jmp 0x42533b
push dword [edi]
call fcn.00462617
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x425347
test edi, edi
je 0x425374
cmp byte [edi + 0xb], 0
jns 0x425332
jmp 0x425328
push esi
call fcn.00462617
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462e56
add esp, 0x24
pop esi
pop edi
pop ebx
pop ebp
ret 8
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
jmp 0x425279
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x44
jmp 0x42538e
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x28
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.0048cb70
lea ecx, [ebp - 0x20]
call fcn.0048cb10
int3
Function at 0x427130
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x20c
mov esi, dword [ebp + 8]
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x216]
push 0x206
push 0xff
push edi
call fcn.00466490
add esp, 0xc
mov word [edi - 2], 0
lea eax, [ebp - 0x218]
push 0x104
push eax
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x4271c3
inc eax
cmp eax, 1
je 0x4271c3
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x42718b
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x4271aa
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00475edb
add esp, 0xc
test eax, eax
je 0x4272f0
mov word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x427227
inc eax
cmp eax, 1
je 0x427227
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x4271ef
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x42720e
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00475edb
add esp, 0xc
test eax, eax
je 0x4272c6
mov word [ebp - 0x218], 0
push 0x104
lea eax, [ebp - 0x218]
push eax
push str.PROGRAMW6432
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x427287
inc eax
cmp eax, 1
je 0x427287
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x427253
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x427272
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.00475edb
add esp, 0xc
test eax, eax
je 0x4272a0
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esi + 0xb]
test al, al
js 0x4272ad
and eax, 0x7f
jmp 0x4272b0
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x427289
mov ecx, esi
push edi
call fcn.0048e460
cmp word [eax], 0x5c
jne 0x427287
jmp 0x427289
movzx eax, byte [esi + 0xb]
test al, al
js 0x4272d3
and eax, 0x7f
jmp 0x4272d6
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x427289
mov ecx, esi
push edi
call fcn.0048e460
cmp word [eax], 0x5c
jne 0x427227
jmp 0x427289
movzx eax, byte [esi + 0xb]
test al, al
js 0x4272fd
and eax, 0x7f
jmp 0x427300
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x427289
mov ecx, esi
push edi
call fcn.0048e460
cmp word [eax], 0x5c
jne 0x4271c3
jmp 0x427289
Function at 0x42a430
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x124
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov eax, dword [0x4e0c74]
mov ecx, dword [0x4d1de0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42a47d
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462e56
mov eax, 0x4e0c70
add esp, 0x124
pop esi
pop edi
pop ebx
pop ebp
ret
push 0x4e0c74
call fcn.00462687
add esp, 4
cmp dword [0x4e0c74], 0xffffffff
jne 0x42a463
lea edi, [ebp - 0x128]
xor esi, esi
push 0x118
push esi
push edi
call fcn.00466490
add esp, 0xc
mov dword [edi - 4], 0x11c
lea edi, [ebp - 0x12c]
push edi
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
lea ebx, [ebp - 0x130]
mov dword [ebx], esi
push ebx
push esi
push esi
push dword [edi + 8]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_GetProductInfo]
push 0x54
call fcn.004625e7
add esp, 4
mov esi, eax
mov ebx, dword [ebx]
mov eax, dword [0x4e0ca4]
mov ecx, dword [0x4d1de0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42a526
mov ecx, esi
push ebx
push 0x4e0c80
push edi
call fcn.0042a620
mov dword [0x4e0c70], esi
push 0x4e0c74
call fcn.004626fd
add esp, 4
jmp 0x42a463
push 0x4e0ca4
call fcn.00462687
add esp, 4
cmp dword [0x4e0ca4], 0xffffffff
jne 0x42a500
xorps xmm0, xmm0
movups xmmword [0x4e0c90], xmm0
movups xmmword [0x4e0c80], xmm0
mov dword [0x4e0ca0], 0
push 0x4e0c80
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4e0ca4
call fcn.004626fd
add esp, 4
jmp 0x42a500

Function at 0x42a580
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4e0ca4]
mov ecx, dword [0x4d1de0]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x42a5b1
movzx eax, word [0x4e0c80]
cmp eax, 9
jne 0x42a5fc
xor eax, eax
inc eax
pop ebp
ret
push 0x4e0ca4
call fcn.00462687
add esp, 4
cmp dword [0x4e0ca4], 0xffffffff
jne 0x42a5a0
xorps xmm0, xmm0
movups xmmword [0x4e0c90], xmm0
movups xmmword [0x4e0c80], xmm0
mov dword [0x4e0ca0], 0
push 0x4e0c80
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x4e0ca4
call fcn.004626fd
add esp, 4
jmp 0x42a5a0
test eax, eax
je 0x42a5af
cmp eax, 6
jne 0x42a60c
mov eax, 2
jmp 0x42a5af
cmp eax, 0xc
jne 0x42a618
mov eax, 3
jmp 0x42a5af
mov eax, 4
jmp 0x42a5af
Function at 0x42bd30
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
jne 0x42be09
cmp dword [esi], 0
jne 0x42be09
cmp dword [esi + 0xc], 0
jne 0x42be09
xor eax, eax
cmp dword [esi + 4], 0
jne 0x42be09
mov ebx, dword [edi]
cmp eax, ebx
je 0x42bd93
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x42bdd9
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42bd89
mov dword [esi], ebx
call fcn.0044a3b0
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov edi, dword [ebp + 8]
mov ebx, dword [edi + 4]
cmp dword [esi + 4], ebx
je 0x42bdc6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x42bdf0
lea eax, [ebx + 1]
cmp eax, 2
jb 0x42bdbc
mov dword [esi + 4], ebx
call fcn.0044a3b0
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
call fcn.0044a3b0
push dword [esi]
call fcn.00445aa0
add esp, 4
mov dword [esi], 0
jmp 0x42bd7a
call fcn.0044a3b0
push dword [esi + 4]
call fcn.00445aa0
add esp, 4
mov dword [esi + 4], 0
jmp 0x42bdac
mov ecx, esi
call fcn.004ab9c0
mov eax, dword [esi]
jmp 0x42bd64
Function at 0x42f8d0
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x218
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [ebp - 0x10], eax
xor eax, eax
dec eax
lea esi, [ebp - 0x220]
mov dword [esi + 4], eax
mov dword [esi], eax
push esi
call sub.ntdll.dll_RtlFormatCurrentUserKeyPath
test eax, eax
js 0x42fa1d
mov dword [ebp - 0x224], eax
mov ebx, 0xff
mov edi, 0x4e1186
push ebx
push dword [ebp - 0x21c]
push edi
call fcn.0047aceb
add esp, 0xc
push edi
call fcn.0047a8f1
add esp, 4
sub ebx, eax
push ebx
push 0x4bde58
push edi
call fcn.0047aceb
add esp, 0xc
push esi
call sub.ntdll.dll_RtlFreeUnicodeString
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.00466490
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edi, eax
push 0x104
push esi
push str.PROGRAMFILES
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x42f98f
push eax
push esi
push edi
call fcn.0047ad30
add esp, 0xc
test eax, eax
je 0x42fa39
push 0x104
push esi
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x42f9ba
push eax
push esi
push edi
call fcn.0047ad30
add esp, 0xc
test eax, eax
je 0x42fa39
xor eax, eax
mov byte [0x4e0d85], al
mov dword [ebp - 0x218], 0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x4c5248
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42fa40
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov ebx, eax
mov ecx, edi
call dword [section..00cfg]
push esi
push ebx
call edi
test eax, eax
je 0x42fa40
cmp dword [ebp - 0x218], 0
setne cl
mov eax, dword [ebp - 0x224]
mov byte [0x4e1386], cl
mov byte [0x4e0d84], 1
test eax, eax
setns bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462e56
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x42f9bc
xor ecx, ecx
jmp 0x42fa0a
Function at 0x42fd50
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x44
mov ebx, edx
mov edi, ecx
mov ecx, dword [ebp + 8]
mov eax, dword [0x4ce008]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x42fd75
mov eax, dword [ecx + 4]
test eax, eax
je 0x42fe35
bt ebx, 8
jae 0x42fd90
mov eax, ebx
and eax, 0x200
jne 0x42fe35
cmp edi, 2
mov eax, 0x4e0d86
mov ecx, 0x4e0f86
cmove ecx, eax
cmp word [ecx], 0
jne 0x42fe35
xorps xmm0, xmm0
lea esi, [ebp - 0x34]
movups xmmword [esi + 0x10], xmm0
movups xmmword [esi], xmm0
mov dword [esi + 0x20], 0
push esi
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [esi], 0
je 0x42fe35
cmp byte [0x4e1386], 0
setne al
bt ebx, 8
jb 0x42fe35
shr ebx, 9
and ebx, 1
or bl, al
je 0x42fe35
cmp edi, 2
mov eax, 0x4c528c
mov edx, 0x4c52a0
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x42fed2
mov ecx, dword [eax]
mov dword [ebp - 0x38], ecx
mov eax, dword [eax + 4]
xor ecx, ecx
inc ecx
mov dword [ebp - 0x4c], ecx
xor esi, esi
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x44], 0
jmp 0x42fe50
cmp dword [ebp - 0x44], 0
jne 0x42fee6
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00462e56
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
add edx, 0x14
inc esi
cmp esi, dword [ebp - 0x4c]
jae 0x42fe2b
mov edi, dword [edx + 4]
mov ebx, eax
sub ebx, edi
jb 0x42fe47
push edi
push dword [edx]
push dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], eax
call fcn.00475edb
mov edx, dword [ebp - 0x50]
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x42fe47
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + edi*2]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x5c
jne 0x42fedc
mov eax, dword [ebp - 0x38]
lea eax, [eax + edi*2]
mov esi, dword [edx + 8]
cmp esi, 2
je 0x42fe9b
cmp esi, 1
jne 0x42fea5
jmp 0x42ff09
mov dword [ebp - 0x40], str.WOW6432Node
mov dword [ebp - 0x3c], eax
cmp cx, 0x5c
mov dword [ebp - 0x44], esi
je 0x42fec0
mov dword [ebp - 0x38], eax
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x4c], eax
mov edx, dword [edx + 0xc]
xor esi, esi
mov eax, ebx
jmp 0x42fe4b
lea ecx, [eax + 2]
dec ebx
cmp word [eax + 2], 0x5c
mov dword [ebp - 0x38], ecx
mov eax, ecx
je 0x42fec0
jmp 0x42feb1
mov dword [ebp - 0x38], eax
mov eax, ecx
jmp 0x42fe0c
test ecx, ecx
jne 0x42fe47
jmp 0x42fe86
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x42fef1
mov eax, dword [eax]
mov edx, dword [ebp - 0x3c]
sub edx, eax
sar edx, 1
mov ecx, dword [ebp + 8]
push dword [ebp - 0x40]
push edx
call fcn.004a1010
jmp 0x42fe35
mov dword [ebp - 0x40], str.WOW6432Node_
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edi
jmp 0x42fea5