joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428fc0
Capabilities:
Check if file exists
Delete directory
Delete file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x4fc
mov ebx, edx
mov edi, ecx
mov eax, dword [0x557008]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x2a4]
push 0x294
push 0xff
push esi
call fcn.004acae0
add esp, 0xc
mov ecx, esi
mov dword [ebp - 0x508], ebx
push ebx
push 3
push 0
push edi
call fcn.004293f0
xor eax, eax
dec eax
lea edi, [ebp - 0x500]
mov dword [edi], eax
mov dword [edi + 4], eax
mov dword [edi + 8], eax
mov ecx, esi
push edi
call fcn.004295b0
movzx eax, byte [edi + 0xb]
test al, al
js 0x42902c
and eax, 0x7f
jmp 0x429032
mov eax, dword [ebp - 0x4fc]
xor esi, esi
test eax, eax
je 0x429101
xor ebx, ebx
push 0x250
push 0xff
lea esi, [ebp - 0x4f4]
push esi
call fcn.004acae0
add esp, 0xc
lea ecx, [ebp - 0x2a4]
push esi
call fcn.00429570
mov eax, dword [ebp - 0x4f4]
test al, 1
jne 0x429132
mov ecx, esi
call fcn.00429340
test al, al
jne 0x429189
cmp byte [ebp - 0x4f5], 0
mov eax, edi
jns 0x429091
mov eax, dword [ebp - 0x500]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x42912e
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, eax
and ecx, 0xfffffffe
xor esi, esi
cmp ecx, 2
je 0x4290b4
mov esi, eax
test ebx, ebx
cmovne esi, ebx
lea ebx, [ebp - 0x4f4]
mov ecx, ebx
call fcn.00410a20
lea ecx, [ebp - 0x2a4]
push ebx
call fcn.004295b0
mov ecx, edi
push ebx
call fcn.0046e920
mov ecx, ebx
call fcn.0046e900
movzx eax, byte [ebp - 0x4f5]
test al, al
js 0x4290f1
and eax, 0x7f
jmp 0x4290f7
mov eax, dword [ebp - 0x4fc]
mov ebx, esi
test eax, eax
jne 0x42903e
lea ecx, [ebp - 0x500]
call fcn.0046e900
lea ecx, [ebp - 0x2a4]
call fcn.00429500
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a927c
mov eax, esi
add esp, 0x4fc
pop esi
pop edi
pop ebx
pop ebp
ret
xor esi, esi
jmp 0x4290b4
cmp byte [ebp + 8], 0
jne 0x429162
lea ecx, [ebp - 0x4f4]
call fcn.00429340
test al, al
je 0x42915c
lea ecx, [ebp - 0x4f4]
call fcn.00429340
test al, al
je 0x429080
jmp 0x42912e
mov eax, dword [ebp - 0x4f4]
cmp byte [ebp - 0x4f5], 0
js 0x429173
lea ecx, [ebp - 0x500]
jmp 0x429179
mov ecx, dword [ebp - 0x500]
and eax, 0xfffffffe
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
jmp 0x429071
xor esi, esi
cmp byte [ebp + 8], 0
je 0x4290b4
lea ecx, [ebp - 0x500]
mov dword [ebp - 0x504], ecx
mov edx, dword [ebp - 0x508]
push 1
call fcn.00428fc0
add esp, 4
mov esi, eax
test eax, eax
jne 0x4290b4
cmp byte [ebp - 0x4f5], 0
jns 0x4291d0
mov eax, dword [ebp - 0x500]
mov dword [ebp - 0x504], eax
push dword [ebp - 0x504]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov esi, 0
test eax, eax
jne 0x4290b4
jmp 0x4290a0
Function at 0x42b070
Capabilities:
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
call fcn.0042b110
mov eax, dword [esi]
mov dword [0x559cc8], eax
test al, 1
jne 0x42b08c
mov al, 1
pop esi
pop ebp
ret
mov eax, dword [0x56ad24]
test eax, eax
jne 0x42b0a1
mov ecx, dword [0x56ad10]
test ecx, ecx
je 0x42b0c3
jmp 0x42b0df
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x56ad24], 0
mov ecx, dword [0x56ad10]
test ecx, ecx
jne 0x42b0df
and byte [0x559cc8], 0xfe
push 0xc
call fcn.004a8ae0
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 [0x56ad10], ecx
push dword [esi + 4]
call fcn.0042bba0
cmp dword [esi + 0xc], 0
jne 0x42b101
mov eax, dword [0x56ad10]
cmp byte [eax + 0xb], 0
jns 0x42b0fa
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
pop esi
pop ebp
jmp fcn.004ebeb0
Function at 0x42cf00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov ebx, dword [0x56ad4c]
test ebx, ebx
jne 0x42cf82
push 0x28
call fcn.004a8ae0
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.004a8ae0
add esp, 4
mov dword [esi + 0xc], eax
lea ecx, [eax + 0xc]
mov dword [esi + 0x14], ecx
test eax, eax
je 0x42cf8c
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 [0x56ad4c], esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
test eax, eax
je 0x42cf9f
mov edi, eax
push eax
call fcn.004c1ee1
add esp, 4
mov ecx, esi
push eax
push edi
call fcn.0042cfc0
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 0x25
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
jmp 0x42cfb3
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.004d6920
int3
Function at 0x42cfc0
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 [0x557008]
xor edx, ebp
mov dword [ebp - 0x10], edx
lea esi, [ebp - 0x20]
push 3
push ecx
push eax
push esi
call fcn.00436530
add esp, 0x10
mov eax, dword [esi + 4]
test eax, eax
je 0x42d120
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 str.api_ms_win_downlevel_shell32_l1_1_0.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
test eax, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x2c], eax
je 0x42d134
push 0x5420ce
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42d04c
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 0x42d0bc
cmp ebx, 0x15555556
jae 0x42d16d
shl ebx, 2
lea esi, [ebx + ebx*2]
push esi
call fcn.004a8ae0
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 0x42d152
mov eax, dword [ebp - 0x24]
push dword [eax + edi]
call fcn.004d40b0
add edi, 4
add esi, 0xc
cmp ebx, edi
jne 0x42d094
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.0042cd10
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 0x42d0e8
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov esi, dword [ebp - 0x28]
test esi, esi
je 0x42d120
cmp edi, esi
je 0x42d117
add edi, 0xfffffff4
jmp 0x42d10b
push dword [edi]
call fcn.004a8b10
add esp, 4
lea eax, [edi - 0xc]
cmp edi, esi
mov edi, eax
je 0x42d117
test edi, edi
je 0x42d144
cmp byte [edi + 0xb], 0
jns 0x42d102
jmp 0x42d0f8
push esi
call fcn.004a8b10
add esp, 4
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a927c
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 0x42d049
push str.null_pointer_given_to_destroy_at
push str.__loc___nullptr
push 0x41
jmp 0x42d15e
push str.null_pointer_given_to_construct_at
push str.__location___nullptr
push 0x25
push str....._third_partylibc_srcinclude__memoryconstruct_at.h
push str._s:_d:_assertion__s_failed:__s_n
call fcn.004d6920
lea ecx, [ebp - 0x20]
call fcn.004d4050
int3
Function at 0x42f900
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 [0x557008]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea edi, [ebp - 0x216]
push 0x206
push 0xff
push edi
call fcn.004acae0
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 0x42f993
inc eax
cmp eax, 1
je 0x42f993
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x42f95b
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x42f97a
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.004bd821
add esp, 0xc
test eax, eax
je 0x42fac0
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 0x42f9f7
inc eax
cmp eax, 1
je 0x42f9f7
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x42f9bf
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x42f9de
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.004bd821
add esp, 0xc
test eax, eax
je 0x42fa96
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 0x42fa57
inc eax
cmp eax, 1
je 0x42fa57
lea edi, [eax - 1]
cmp word [ebp + eax*2 - 0x21c], 0x5c
mov eax, edi
je 0x42fa23
cmp byte [esi + 0xb], 0
mov eax, esi
jns 0x42fa42
mov eax, dword [esi]
push edi
lea ecx, [ebp - 0x218]
push ecx
push eax
call fcn.004bd821
add esp, 0xc
test eax, eax
je 0x42fa70
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a927c
mov eax, ebx
add esp, 0x20c
pop esi
pop edi
pop ebx
pop ebp
ret
movzx eax, byte [esi + 0xb]
test al, al
js 0x42fa7d
and eax, 0x7f
jmp 0x42fa80
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x42fa59
mov ecx, esi
push edi
call fcn.004d7fb0
cmp word [eax], 0x5c
jne 0x42fa57
jmp 0x42fa59
movzx eax, byte [esi + 0xb]
test al, al
js 0x42faa3
and eax, 0x7f
jmp 0x42faa6
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x42fa59
mov ecx, esi
push edi
call fcn.004d7fb0
cmp word [eax], 0x5c
jne 0x42f9f7
jmp 0x42fa59
movzx eax, byte [esi + 0xb]
test al, al
js 0x42facd
and eax, 0x7f
jmp 0x42fad0
mov eax, dword [esi + 4]
mov bl, 1
cmp eax, edi
je 0x42fa59
mov ecx, esi
push edi
call fcn.004d7fb0
cmp word [eax], 0x5c
jne 0x42f993
jmp 0x42fa59

Function at 0x432120
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0xc], 0
jne 0x432138
cmp dword [ebp + 0x10], 0
jne 0x432134
call fcn.0043abe0
xor eax, eax
pop ebp
ret
pop ebp
jmp fcn.00431c10
Function at 0x432800
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x56adf4]
mov ecx, dword [0x55ae20]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x432831
movzx eax, word [0x56add0]
cmp eax, 9
jne 0x43287c
xor eax, eax
inc eax
pop ebp
ret
push 0x56adf4
call fcn.004a8b87
add esp, 4
cmp dword [0x56adf4], 0xffffffff
jne 0x432820
xorps xmm0, xmm0
movups xmmword [0x56ade0], xmm0
movups xmmword [0x56add0], xmm0
mov dword [0x56adf0], 0
push 0x56add0
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 0x56adf4
call fcn.004a8bfd
add esp, 4
jmp 0x432820
test eax, eax
je 0x43282f
cmp eax, 6
jne 0x43288c
mov eax, 2
jmp 0x43282f
cmp eax, 0xc
jne 0x432898
mov eax, 3
jmp 0x43282f
mov eax, 4
jmp 0x43282f
Function at 0x4330b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov edi, edx
mov ebx, ecx
mov eax, dword [0x557008]
xor eax, ebp
mov dword [ebp - 0x10], eax
test ecx, ecx
jne 0x4330e7
mov eax, dword [0x559cd8]
cmp eax, 0xffffffff
je 0x433170
mov ebx, 0x100000
test eax, eax
jne 0x4330e7
mov ebx, 0x80000
push 0x10
call fcn.004a8ae0
add esp, 4
mov esi, eax
mov eax, edi
shr eax, 0xe
mov ecx, edi
shr ecx, 0x13
mov ecx, dword [ecx*4 + 0x55ef08]
bt ecx, eax
jb 0x433165
mov eax, edi
shr eax, 0x15
mov byte [eax + 0x566f08], 1
mov dword [esi], edi
mov edi, dword [ebp + 8]
test edi, edi
setne byte [esi + 4]
mov eax, dword [ebp + 0xc]
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0xc], eax
xor eax, eax
push eax
push 0x10000
push esi
push 0x433530
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4331ac
test edi, edi
je 0x433190
mov dword [edi], eax
test eax, eax
setne bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a927c
mov eax, ebx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret
push edi
call fcn.00462dc0
add esp, 4
jmp 0x433115
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push 0x559cd8
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x43319d
mov eax, dword [0x559cd8]
jmp 0x4330d9
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
jmp 0x43314c
mov dword [0x559cd8], 0
jmp 0x4330e2
mov dword [ebp - 0x28], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 8
je 0x4331c8
mov edi, eax
cmp eax, 0x5af
je 0x4331c8
cmp edi, 0xe
jne 0x43320e
push ebx
call fcn.004d6980
add esp, 4
test esi, esi
mov eax, dword [ebp - 0x28]
je 0x43314c
mov eax, dword [esi]
mov ecx, eax
shr ecx, 0xe
mov edx, eax
shr edx, 0x13
mov edx, dword [edx*4 + 0x55ef08]
bt edx, ecx
jae 0x4331fd
push eax
call fcn.00462ec0
add esp, 4
push esi
call fcn.004a8b10
add esp, 4
mov eax, dword [ebp - 0x28]
jmp 0x43314c
mov eax, dword [0x56ae20]
mov ecx, dword [0x55ae20]
mov edx, dword fs:[0x2c]
mov ecx, dword [edx + ecx*4]
cmp eax, dword [ecx + 4]
jg 0x433281
lea ebx, [ebp - 0x24]
push edi
push ebx
call fcn.00435fe0
add esp, 8
movzx eax, byte [ebx + 0xb]
test al, al
js 0x433245
and eax, 0x7f
jmp 0x43324b
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
lea edi, [ebp - 0x18]
mov ecx, edi
push eax
push ebx
call fcn.0045c520
push dword [edi + 4]
push dword [edi]
push dword [0x56ae1c]
call fcn.00438d10
add esp, 0xc
cmp byte [ebp - 0x19], 0
jns 0x4331d1
push dword [ebp - 0x24]
call fcn.004a8b10
jmp 0x4331ce
push 0x56ae20
call fcn.004a8b87
add esp, 4
cmp dword [0x56ae20], 0xffffffff
jne 0x43322b
push 0x20
push str.create_thread_last_error
call fcn.00438cd0
add esp, 8
mov dword [0x56ae1c], eax
push 0x56ae20
call fcn.004a8bfd
add esp, 4
jmp 0x43322b
Function at 0x4339b0
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov esi, ecx
mov dword [ecx], 0x53be50
add ecx, 4
call fcn.00475010
lea ecx, [esi + 8]
call fcn.00475010
xor ebx, ebx
mov byte [esi + 0xc], bl
lea ecx, [esi + 0x24]
xorps xmm0, xmm0
movups xmmword [esi + 0x10], xmm0
mov dword [esi + 0x20], ebx
call fcn.00475010
mov byte [esi + 0x28], bl
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
lea eax, [esi + 0x3c]
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov dword [esi + 0x38], eax
xorps xmm0, xmm0
movups xmmword [esi + 0x44], xmm0
movups xmmword [esi + 0x54], xmm0
mov dword [esi + 0x68], ebx
mov dword [esi + 0x64], ebx
mov edi, 0x3f800000
mov dword [esi + 0x6c], edi
movups xmmword [esi + 0x70], xmm0
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], edi
movups xmmword [esi + 0x88], xmm0
mov dword [esi + 0x98], edi
movups xmmword [esi + 0x9c], xmm0
mov dword [esi + 0xac], edi
movups xmmword [esi + 0xb0], xmm0
mov dword [esi + 0xc0], edi
mov dword [esi + 0xe4], ebx
mov dword [esi + 0xe0], ebx
mov dword [esi + 0xd8], ebx
movups xmmword [esi + 0xc8], xmm0
mov eax, dword [0x5481fc]
mov dword [esi + 0xe8], eax
lea ecx, [esi + 0xec]
call fcn.0043cd20
xorps xmm0, xmm0
movups xmmword [esi + 0x188], xmm0
mov dword [esi + 0x198], edi
movups xmmword [esi + 0x19c], xmm0
movups xmmword [esi + 0x1a5], xmm0
mov eax, dword [ebp + 8]
mov dword [esi + 0x1b8], eax
mov byte [esi + 0x1bc], bl
mov dword [esi + 0x1c0], ebx
mov dword [esi + 0x1c4], ebx
mov dword [esi + 0x1c8], ebx
call fcn.00410a20
call fcn.004327c0
mov ecx, eax
mov dword [esi + 0xd8], eax
xor ecx, 0x84222325
mov edx, 0x1b3
mov eax, ecx
mul edx
shl ecx, 8
add ecx, edx
add ecx, 0x8d40976c
mov dword [esi + 0xd0], eax
mov dword [esi + 0xd4], ecx
mov edx, dword [esi + 0xe8]
mov ecx, dword [esi + 0xf0]
mov eax, ecx
shr eax, 6
test dword [0x548200], edx
je 0x433b4d
cmp ecx, 0x40
mov ecx, 0x3e8
cmovb eax, ecx
push eax
call fcn.00479fe0
add esp, 4
mov edi, dword [esi + 0x14]
mov dword [esi + 0x14], eax
test edi, edi
jne 0x433b7a
call fcn.0043c930
mov ecx, eax
push 0
push str.TraceLog
push esi
call fcn.0043c9c0
mov dword [0x56b004], esi
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret 4
test dword [0x548204], edx
jne 0x433b70
test dword [0x548208], edx
jne 0x433b8e
cmp ecx, 0x40
mov ecx, 0xfa0
cmovb eax, ecx
push eax
call fcn.0043cb10
jmp 0x433b1d
cmp ecx, 0x40
mov ecx, 0x100
jmp 0x433b14
mov eax, dword [edi]
mov ebx, dword [eax]
mov ecx, ebx
call dword [section..00cfg]
mov ecx, edi
push 1
call ebx
jmp 0x433b2a
cmp ecx, 0x40
mov ecx, 0x7a1200
jmp 0x433b65
Function at 0x435d10
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 0x435dec
cmp dword [esi], 0
jne 0x435dec
cmp dword [esi + 0xc], 0
jne 0x435dec
xor eax, eax
cmp dword [esi + 4], 0
jne 0x435dec
mov ebx, dword [edi]
cmp eax, ebx
je 0x435d73
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi]
inc eax
cmp eax, 2
jae 0x435dd2
lea eax, [ebx + 1]
cmp eax, 2
jb 0x435d69
mov dword [esi], ebx
call fcn.0046e500
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 0x435da6
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov eax, dword [esi + 4]
inc eax
cmp eax, 2
jae 0x435db9
lea eax, [ebx + 1]
cmp eax, 2
jb 0x435d9c
mov dword [esi + 4], ebx
call fcn.0046e500
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.0046e500
push dword [esi + 4]
call fcn.0046aff0
add esp, 4
mov dword [esi + 4], 0
jmp 0x435d8c
call fcn.0046e500
push dword [esi]
call fcn.0046aff0
add esp, 4
mov dword [esi], 0
jmp 0x435d5a
mov ecx, esi
call fcn.004f1ab0
mov eax, dword [esi]
jmp 0x435d44
Function at 0x438f10
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 [0x557008]
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 0x43905d
mov dword [ebp - 0x224], eax
mov ebx, 0xff
mov edi, 0x56b452
push ebx
push dword [ebp - 0x21c]
push edi
call fcn.004c22db
add esp, 0xc
push edi
call fcn.004c1ee1
add esp, 4
sub ebx, eax
push ebx
push 0x53fb48
push edi
call fcn.004c22db
add esp, 0xc
push esi
call sub.ntdll.dll_RtlFreeUnicodeString
lea esi, [ebp - 0x218]
push 0x208
push 0
push esi
call fcn.004acae0
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 0x438fcf
push eax
push esi
push edi
call fcn.004c2320
add esp, 0xc
test eax, eax
je 0x439079
push 0x104
push esi
push str.PROGRAMFILES_X86_
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea ecx, [eax - 1]
cmp ecx, 0x102
ja 0x438ffa
push eax
push esi
push edi
call fcn.004c2320
add esp, 0xc
test eax, eax
je 0x439079
xor eax, eax
mov byte [0x56b051], al
mov dword [ebp - 0x218], 0
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push 0x545638
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x439080
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 0x439080
cmp dword [ebp - 0x218], 0
setne cl
mov eax, dword [ebp - 0x224]
mov byte [0x56b652], cl
mov byte [0x56b050], 1
test eax, eax
setns bl
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a927c
mov eax, ebx
add esp, 0x218
pop esi
pop edi
pop ebx
pop ebp
ret
mov al, 1
jmp 0x438ffc
xor ecx, ecx
jmp 0x43904a
Function at 0x4392d0
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 [0x557008]
xor eax, ebp
mov dword [ebp - 0x10], eax
movzx eax, byte [ecx + 0xb]
test al, al
jns 0x4392f5
mov eax, dword [ecx + 4]
test eax, eax
je 0x4393b5
bt ebx, 8
jae 0x439310
mov eax, ebx
and eax, 0x200
jne 0x4393b5
cmp edi, 2
mov eax, 0x56b052
mov ecx, 0x56b252
cmove ecx, eax
cmp word [ecx], 0
jne 0x4393b5
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 0x4393b5
cmp byte [0x56b652], 0
setne al
bt ebx, 8
jb 0x4393b5
shr ebx, 9
and ebx, 1
or bl, al
je 0x4393b5
cmp edi, 2
mov eax, 0x54567c
mov edx, 0x545690
cmove edx, eax
mov eax, dword [ebp + 8]
movzx ecx, byte [eax + 0xb]
test cl, cl
jns 0x439452
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 0x4393d0
cmp dword [ebp - 0x44], 0
jne 0x439466
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a927c
add esp, 0x44
pop esi
pop edi
pop ebx
pop ebp
ret
add edx, 0x14
inc esi
cmp esi, dword [ebp - 0x4c]
jae 0x4393ab
mov edi, dword [edx + 4]
mov ebx, eax
sub ebx, edi
jb 0x4393c7
push edi
push dword [edx]
push dword [ebp - 0x38]
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x48], eax
call fcn.004bd821
mov edx, dword [ebp - 0x50]
add esp, 0xc
test eax, eax
mov eax, dword [ebp - 0x48]
jne 0x4393c7
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax + edi*2]
mov eax, dword [ebp - 0x48]
cmp ecx, 0x5c
jne 0x43945c
mov eax, dword [ebp - 0x38]
lea eax, [eax + edi*2]
mov esi, dword [edx + 8]
cmp esi, 2
je 0x43941b
cmp esi, 1
jne 0x439425
jmp 0x439489
mov dword [ebp - 0x40], str.WOW6432Node
mov dword [ebp - 0x3c], eax
cmp cx, 0x5c
mov dword [ebp - 0x44], esi
je 0x439440
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 0x4393cb
lea ecx, [eax + 2]
dec ebx
cmp word [eax + 2], 0x5c
mov dword [ebp - 0x38], ecx
mov eax, ecx
je 0x439440
jmp 0x439431
mov dword [ebp - 0x38], eax
mov eax, ecx
jmp 0x43938c
test ecx, ecx
jne 0x4393c7
jmp 0x439406
mov eax, dword [ebp + 8]
cmp byte [eax + 0xb], 0
jns 0x439471
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.004ea010
jmp 0x4393b5
mov dword [ebp - 0x40], str.WOW6432Node_
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x3c], edi
jmp 0x439425