joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000c930
Capabilities:
Get common file path
Set current directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025870
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
test esi, esi
je 0x1000ca9f
cmp word [esi], 0
je 0x1000ca9f
lea ecx, [ebp - 0x244]
call fcn.100020a0
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x228]
mov dword [ebp - 0x238], 0
test eax, eax
je 0x1000c9a7
push eax
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x234]
call dword [eax + 0xc]
movzx eax, word [esi]
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x224], 0
cmp eax, 0x5c
je 0x1000c9e0
test ax, ax
je 0x1000ca12
cmp word [esi + 2], 0x3a
jne 0x1000ca12
cmp word [esi + 4], 0x5c
jne 0x1000ca12
push 0x5c
push esi
call fcn.1001388c
add esp, 8
test eax, eax
je 0x1000ca12
cmp eax, esi
jbe 0x1000c9fe
cmp word [eax - 2], 0x3a
lea ecx, [eax - 2]
cmovne eax, ecx
sub eax, esi
lea ecx, [ebp - 0x244]
add eax, 2
sar eax, 1
push eax
push esi
call fcn.1000e620
mov edi, dword [ebp - 0x238]
test edi, edi
jne 0x1000ca35
cmp dword [ebp - 0x220], edi
jne 0x1000ca2b
mov edi, 0x1002bc14
jmp 0x1000ca35
mov edi, dword [ebp - 0x228]
test edi, edi
je 0x1000ca80
cmp word [edi], 0
je 0x1000ca80
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1000ca80
cmp word [edi], 0
je 0x1000ca5e
push edi
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp word [ebp - 0x218], 0
mov esi, eax
je 0x1000ca89
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
jmp 0x1000ca89
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x244]
call fcn.10001590
mov eax, esi
jmp 0x1000caa1
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100120b5
mov esp, ebp
pop ebp
ret
Function at 0x1000f100
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025b10
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x228], ecx
mov dword [ebp - 0x21c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x214], 0
mov dword [ebp - 4], 0
lea edx, [ebp - 0x224]
mov edi, dword [eax + 4]
push edx
or edi, 0x2001f
mov dword [ebp - 0x224], 0
push edi
push 0
push ecx
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, eax
test esi, esi
jne 0x1000f28b
mov eax, dword [ebp - 0x21c]
xor esi, esi
test eax, eax
je 0x1000f1b5
push eax
call ebx
mov esi, eax
mov dword [ebp - 0x21c], 0
mov eax, dword [ebp - 0x224]
and edi, 0x300
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x21c], eax
mov dword [ebp - 0x218], edi
test esi, esi
jne 0x1000f28b
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea ecx, [ebp - 0x234]
push ecx
push esi
push esi
push esi
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x220], 0x100
push ecx
lea ecx, [ebp - 0x210]
push ecx
push esi
push eax
call edi
test eax, eax
jne 0x1000f257
nop
lea eax, [ebp - 0x210]
push eax
lea ecx, [ebp - 0x21c]
call fcn.1000f100
mov esi, eax
test esi, esi
jne 0x1000f28b
lea eax, [ebp - 0x234]
mov dword [ebp - 0x220], 0x100
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
push esi
push dword [ebp - 0x21c]
call edi
test eax, eax
je 0x1000f210
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x1000f26e
push eax
call ebx
mov dword [ebp - 0x21c], 0
push dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
mov dword [ebp - 0x218], 0
call fcn.1000f020
mov esi, eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x1000f2a9
push eax
call ebx
mov dword [ebp - 0x21c], 0
mov eax, esi
mov dword [ebp - 0x218], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100120b5
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f9a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10025c7b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x1003300c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x418], 0
mov byte [ebp - 4], 1
push 0x60
push 0
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
call ebx
mov esi, eax
mov dword [ebp - 0x424], esi
test esi, esi
jne 0x1000fa4c
push 2
push eax
push edi
call ebx
mov esi, eax
mov dword [ebp - 0x424], eax
test esi, esi
jne 0x1000fa4c
call fcn.1000eda0
mov edi, eax
jmp 0x1000fb81
push dword [ebp - 0x41c]
push dword [ebp - 0x420]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x1000fa6f
call fcn.1000eda0
jmp 0x1000fb74
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebx, eax
mov dword [ebp - 0x420], ebx
test ebx, ebx
jne 0x1000fa8d
call fcn.1000eda0
jmp 0x1000fb74
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
mov dword [ebp - 0x41c], edi
lea eax, [edi + 1]
cmp eax, edi
jae 0x1000faae
mov edi, 0x8007000e
jmp 0x1000fb76
mov byte [ebp - 4], 2
mov ecx, 2
mul ecx
mov dword [ebp - 0x438], eax
mov dword [ebp - 0x434], edx
test edx, edx
ja 0x1000fbc5
jb 0x1000fad8
cmp eax, 0xffffffff
ja 0x1000fbc5
cmp eax, 0x400
jbe 0x1000faf4
push eax
lea ecx, [ebp - 0x418]
call fcn.10011fe0
mov dword [ebp - 4], 1
jmp 0x1000fb28
lea eax, [ebp - 0x414]
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
jmp 0x1000fb28
mov eax, dword [ebp - 0x418]
test eax, eax
jne 0x1000fb39
mov edi, 0x8007000e
jmp 0x1000fb76
push edi
push eax
push edi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov ecx, eax
test ecx, ecx
jne 0x1000fb54
call fcn.1000eda0
jmp 0x1000fb74
xor edx, edx
mov eax, dword [ebp - 0x418]
mov word [eax + ecx*2], dx
push dword [ebp + 0x14]
push dword [ebp - 0x418]
lea ecx, [ebp - 0x42c]
call fcn.100107d0
mov edi, eax
test esi, esi
je 0x1000fb81
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov byte [ebp - 4], 0
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x1000fb9e
lea ecx, [ebp - 0x418]
call fcn.10011fd0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.100120b5
mov esp, ebp
pop ebp
ret 0x10
push 0x80070216
call fcn.10007e70
int3
Function at 0x401498
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
push edi
lea eax, [ebp - 4]
push eax
mov eax, dword [0x428df0]
or eax, 8
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x40152d
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x4014ea
cmp dword [ebp + 0x10], ebx
jne 0x401521
push ebx
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 4]
call fcn.00401498
test eax, eax
jne 0x4014fc
push edi
lea eax, [ebp - 0x210]
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x4014d1
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 4
call fcn.00405d16
cmp eax, ebx
je 0x401534
push ebx
push dword [0x428df0]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x40152d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x428df0], ebx
jne 0x40152a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x40152a
jmp 0x40152d
Function at 0x40591b
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x78c], 0
and byte [ebp - 0x78b], 0
mov byte [ebp - 0x78a], 0xa0
and byte [ebp - 0x789], 0
mov byte [ebp - 0x788], 3
mov byte [ebp - 0x787], 0x3b
mov byte [ebp - 0x786], 0x33
push dword [ebx]

Function at 0x40594a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push dword [ebx]
mov byte [ebp - 0x785], 0x3c
mov byte [ebp - 0x784], 0x30
mov byte [ebp - 0x783], 0x3a
mov byte [ebp - 0x782], 0x2d
mov byte [ebp - 0x781], 0x71
mov byte [ebp - 0x780], 0x3b
mov byte [ebp - 0x77f], 0x33
mov byte [ebp - 0x77e], 0x33
mov byte [ebp - 0x77d], 0x5f
push 0xc
lea eax, [ebp - 0x78c]
push eax
call fcn.00403da3
pop ecx
push eax
mov eax, dword [ebp - 0x28]

Function at 0x4062f5
Capabilities:
Move file

Disassembly:
push 5
push dword [esp + 0xc]
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x406318
push dword [esp + 8]
push dword [esp + 8]
call fcn.00406183
pop ecx
pop ecx
inc dword [0x428dd0]
ret 8
Function at 0x406321
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
mov ebx, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
mov eax, ebx
and eax, 4
push edi
mov dword [ebp - 4], eax
call fcn.00405e81
mov dword [ebp - 8], eax
test bl, 8
je 0x40635f
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
neg eax
sbb eax, eax
inc eax
add dword [0x428dc8], eax
jmp 0x4064e1
mov dword [ebp + 8], ebx
and dword [ebp + 8], 1
push esi
je 0x40637a
test eax, eax
je 0x40648d
test bl, 2
je 0x40648d
push edi
mov esi, 0x425898
push esi
call fcn.00405bac
cmp dword [ebp + 8], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
je 0x40639c
push str..
push esi
call ebx
jmp 0x4063a2
push edi
call fcn.00405e54
cmp word [edi], 0
jne 0x4063b2
cmp word [0x425898], 0x5c
jne 0x4063ba
push 0x4072b0
push edi
call ebx
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ebx, [edi + eax*2]
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x406481
cmp word [ebp - 0x22c], 0x2e
jne 0x406405
cmp word [ebp - 0x22a], 0
je 0x406464
cmp word [ebp - 0x22a], 0x2e
jne 0x406405
cmp word [ebp - 0x228], 0
je 0x406464
lea eax, [ebp - 0x22c]
push eax
push ebx
call fcn.00405bac
test byte [ebp - 0x258], 0x10
je 0x406430
mov eax, dword [ebp + 0xc]
and eax, 3
cmp al, 3
jne 0x406464
push dword [ebp + 0xc]
push edi
call fcn.00406321
jmp 0x406464
push dword [ebp - 4]
push edi
call fcn.00405ddd
test eax, eax
jne 0x40645c
cmp dword [ebp - 4], eax
je 0x406454
push edi
push 0xfffffffffffffff1
call fcn.004049ff
push 0
push edi
call fcn.004062f5
jmp 0x406464
inc dword [0x428dc8]
jmp 0x406464
push edi
push 0xfffffffffffffff2
call fcn.004049ff
lea eax, [ebp - 0x258]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4063dd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp dword [ebp + 8], 0
je 0x40648d
xor eax, eax
mov word [ebx - 2], ax
xor esi, esi
cmp dword [ebp + 8], esi
je 0x4064e0
cmp dword [ebp - 8], esi
je 0x4064d0
push edi
call fcn.00405c7f
test eax, eax
je 0x4064e0
push edi
call fcn.00405e25
mov eax, dword [ebp - 4]
or eax, 1
push eax
push edi
call fcn.00405ddd
test eax, eax
jne 0x4064d8
cmp dword [ebp - 4], esi
je 0x4064d0
push edi
push 0xfffffffffffffff1
call fcn.004049ff
push esi
push edi
call fcn.004062f5
jmp 0x4064e0
inc dword [0x428dc8]
jmp 0x4064e0
push edi
push 0xffffffffffffffe5
call fcn.004049ff
pop esi
pop edi
pop ebx
leave
ret 8

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

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x42689c], 0
jne 0x406525
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x4064fb
mov dword [ecx*4 + 0x426898], eax
inc ecx
cmp ecx, 0x100
jl 0x4064f6
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x406552
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x426898]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x406533
not eax
pop ebp
ret 0xc
Function at 0x403d60
Capabilities:
Get common file path

Disassembly:
push ebp
push esi
push edi
xor edi, edi
test ebx, ebx
je 0x403ddb
mov ebp, dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push edi
push edi
call ebp
push ebx
mov esi, eax
call fcn.00459c4e
add eax, esi
add esp, 4
lea eax, [eax + eax + 2]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov edi, eax
test edi, edi
jne 0x403d97
pop edi
pop esi
pop ebp
ret
push esi
push edi
call ebp
mov ebp, eax
cmp word [edi + ebp*2 - 2], 0x5c
je 0x403dae
mov word [edi + ebp*2], 0x5c
add ebp, 1
push ebx
xor esi, esi
call fcn.00459c4e
add esp, 4
test eax, eax
jbe 0x403ddb
lea ebp, [edi + ebp*2]
mov cx, word [ebx + esi*2]
mov word [ebp], cx
push ebx
add esi, 1
add ebp, 2
call fcn.00459c4e
add esp, 4
cmp esi, eax
jb 0x403dc0
mov eax, edi
pop edi
pop esi
pop ebp
ret

Function at 0x4048f0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x6b8c00]
push ebx
push ebp
mov ebp, dword [esp + 0xc]
xor ebx, ebx
test eax, eax
push esi
jne 0x40491d
push eax
push str.Setupapi.dll
call fcn.00404480
add esp, 8
test eax, eax
mov dword [0x6b8c00], eax
je 0x404a56
cmp dword [0x6b8c04], 0
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
jne 0x404946
push str.SetupDiGetClassDevsW
push eax
call esi
test eax, eax
mov dword [0x6b8c04], eax
je 0x404a56
mov eax, dword [0x6b8c00]
cmp dword [0x6b8c08], 0
jne 0x404969
push str.SetupDiEnumDeviceInfo
push eax
call esi
test eax, eax
mov dword [0x6b8c08], eax
je 0x404a56
mov eax, dword [0x6b8c00]
cmp dword [0x6b8c10], 0
jne 0x40498c
push str.SetupDiGetDeviceRegistryPropertyW
push eax
call esi
test eax, eax
mov dword [0x6b8c10], eax
je 0x404a56
mov eax, dword [0x6b8c00]
cmp dword [0x6b8c0c], 0
jne 0x4049af
push str.SetupDiGetDeviceInterfaceDetailW
push eax
call esi
test eax, eax
mov dword [0x6b8c0c], eax
je 0x404a56
mov eax, dword [0x6b8c00]
cmp dword [0x6b8c18], 0
jne 0x4049cd
push str.SetupDiDestroyDeviceInfoList
push eax
call esi
test eax, eax
mov dword [0x6b8c18], eax
je 0x404a56
push 6
push 0
push 0
push 0
call dword [0x6b8c04]
mov esi, eax
xor eax, eax
cmp esi, 0xffffffff
je 0x404a58
mov ecx, edi
mov dword [ecx], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], eax
mov dword [ecx + 0xc], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
push edi
push eax
mov dword [ecx + 0x18], eax
push esi
mov dword [edi], 0x1c
call dword [0x6b8c08]
test eax, eax
je 0x404a4f
lea ecx, [ecx]
push esi
push ebp
mov eax, edi
call fcn.00404090
add esp, 8
cmp eax, 1
je 0x404a5c
xor edx, edx
mov eax, edi
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + 8], edx
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
push edi
add ebx, 1
mov dword [eax + 0x14], edx
push ebx
mov dword [eax + 0x18], edx
push esi
mov dword [edi], 0x1c
call dword [0x6b8c08]
test eax, eax
jne 0x404a10
push esi
call dword [0x6b8c18]
xor eax, eax
pop esi
pop ebp
pop ebx
ret
mov ecx, dword [esp + 0x14]
mov dword [ecx], esi
pop esi
pop ebp
mov eax, 1
pop ebx
ret
Function at 0x405290
Capabilities:
Query environment variable

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
push esi
xor esi, esi
cmp dword [0x6b8cd8], esi
mov dword [esp + 8], esi
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], 0x24
mov dword [esp + 0x14], 0x26
mov dword [esp + 0x18], 0x2a
jne 0x405326
push 3
push 0x20
push 3
push 1
push 3
push 2
push esi
push esi
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
call sub.KERNEL32.dll_VerSetConditionMask
push edx
push eax
push 0x23
push 0x6b8cd8
mov dword [0x6b8cd8], 0x11c
mov dword [0x6b8cdc], 6
mov dword [0x6b8ce0], 1
mov word [0x6b8dec], si
call dword [sym.imp.KERNEL32.dll_VerifyVersionInfoW]
neg eax
sbb eax, eax
add eax, 1
mov dword [0x667398], eax
jmp 0x40532b
mov eax, dword [0x667398]
cmp eax, esi
je 0x40533a
pop esi
mov eax, 1
pop ebp
add esp, 0x14
ret
cmp ebp, esi
je 0x40545a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetFullPathNameW]
push edi
push esi
push esi
push esi
push ebp
call ebx
mov edi, eax
test edi, edi
je 0x405458
lea eax, [edi + edi]
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
test eax, eax
mov dword [esp + 0x10], eax
je 0x405458
push 0
mov ecx, eax
push ecx
push edi
push ebp
call ebx
cmp edi, eax
jbe 0x405458
mov ebp, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
xor ebx, ebx
jmp 0x405390
mov eax, dword [esp + ebx*4 + 0x18]
cmp eax, 0x26
jne 0x40540f
push 0
push 0
push str._ProgramW6432_
call ebp
mov edi, eax
test edi, edi
je 0x405458
lea edx, [edi + edi + 2]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov esi, eax
test esi, esi
je 0x405458
push edi
push esi
push str._ProgramW6432_
call ebp
cmp edi, eax
jne 0x405458
push esi
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.dll_lstrcmpW]
test eax, eax
jne 0x4053f6
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
push 0x4b00fc
push 0x26
jmp 0x405415
cmp word [esi + edi*2 - 4], 0x5c
je 0x405423
push 0x4b039c
add edi, 1
push edi
push esi
call fcn.00405100
jmp 0x405423
push 0x4b00fc
push eax
call fcn.004051a0
mov esi, eax
add esp, 8
test esi, esi
je 0x405458
push esi
call fcn.00459c4e
push eax
mov eax, dword [esp + 0x18]
push esi
push eax
call fcn.0046276a
add esp, 0x10
neg eax
sbb eax, eax
inc eax
mov dword [esp + 0x14], eax
jne 0x405458
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
add ebx, 1
xor esi, esi
cmp ebx, 3
jl 0x405390
pop edi
pop ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_LocalFree]
call esi
mov ecx, dword [esp + 8]
push ecx
call esi
mov eax, dword [esp + 0xc]
pop esi
pop ebp
add esp, 0x14
ret

Function at 0x4055f0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push esi
push eax
mov eax, dword [esp + 0xc]
call fcn.00405480
mov esi, eax
add esp, 4
test esi, esi
je 0x405632
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x405614
test al, 0x50
je 0x405632
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x405627
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
push esi
call dword [sym.imp.KERNEL32.dll_LocalFree]
xor eax, eax
pop esi
ret
mov eax, esi
pop esi
ret
Function at 0x408016
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe0
mov eax, dword [0x6673c0]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.00414d58
push 0xc8c8c8
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov dword [0x6a9ed4], eax
mov eax, dword [0x64a900]
mov dword [0x6a9ed8], 0x10
test eax, eax
jg 0x40805b
mov eax, 0x280
mov dword [0x64a900], eax
mov ecx, dword [0x6a987c]
cmp eax, ecx
jle 0x40806b
mov dword [0x64a900], ecx
mov eax, dword [0x64a904]
test eax, eax
jg 0x40807e
mov eax, 0x1e0
mov dword [0x64a904], eax
cmp eax, ecx
jle 0x408088
mov dword [0x64a904], ecx
push esi
xor esi, esi
cmp byte [0x64a98f], 0
jne 0x40814e
push 1
cmp dword [0x64a908], esi
je 0x4080d9
call fcn.00407e30
pop ecx
test eax, eax
jne 0x4080e9
cmp dword [0x6a9878], esi
je 0x4080ca
push 1
call dword [sym.imp.USER32.dll_ShowCursor]
push esi
push esi
call dword [sym.imp.USER32.dll_ChangeDisplaySettingsW]
mov dword [0x6a9878], esi
push str.Could_not_switch_to_fullscreen_mode._n_rPlease_try_another_resolution.
call fcn.004199dc
pop ecx
xor al, al
jmp 0x408141
mov dword [0x6a9878], esi
call fcn.00407bc9
pop ecx
test eax, eax
je 0x4080d5
cmp dword [0x6a98a4], esi
je 0x408126
push 0xdc
lea eax, [ebp - 0xe0]
push esi
push eax
call fcn.00452360
add esp, 0xc
lea eax, [ebp - 0xe0]
push eax
push 0xffffffffffffffff
push esi
call dword [sym.imp.USER32.dll_EnumDisplaySettingsW]
mov eax, dword [ebp - 0x34]
mov dword [0x6a97b4], eax
mov eax, dword [ebp - 0x30]
mov dword [0x6a97b8], eax
push 0x6a9798
push esi
push esi
push 0x406889
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x6a979c], eax
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.004510dc
leave
ret
mov dword [0x6a9878], esi
call fcn.00407d8a
jmp 0x4080e5
Function at 0x4105da
Capabilities:
Read file via mapping

Disassembly:
cmp byte [0x64a994], 0
jne 0x4105e6
xor al, al
ret
push ebx
push esi
push str.GPUZShMem
xor ebx, ebx
push ebx
push 4
call dword [sym.imp.KERNEL32.dll_OpenFileMappingW]
mov esi, eax
test esi, esi
jne 0x410608
mov byte [0x69974c], bl
xor al, al
jmp 0x41065c
push edi
push ebx
push ebx
push ebx
push 4
push esi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
jne 0x41062c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [0x69974c], bl
xor al, al
jmp 0x41065b
push 0x30e0c
push edi
push 0x668940
call fcn.004524c0
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.0041065f
mov byte [0x69974c], 1
mov al, 1
pop edi
pop esi
pop ebx
ret
Function at 0x412d91
Capabilities:
Get mac address on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x6673c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
mov edi, dword [sym.imp.IPHLPAPI.DLL_GetAdaptersInfo]
xor esi, esi
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x18]
push eax
push esi
mov dword [ebp - 0x18], esi
call edi
cmp eax, 0x6f
je 0x412dc7
xor eax, eax
jmp 0x412e4b
push ebx
push dword [ebp - 0x18]
call fcn.00458b75
push dword [ebp - 0x18]
mov ebx, eax
push esi
push ebx
call fcn.00452360
add esp, 0x10
lea eax, [ebp - 0x18]
push eax
push ebx
call edi
test eax, eax
jne 0x412e41
mov ecx, dword [ebx + 0x190]
test ecx, ecx
je 0x412e3e
xor eax, eax
lea edi, [ebp - 0x14]
stosd dword es:[edi], eax
mov edx, 0x47b8f4
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
movzx eax, byte [ebx + esi + 0x194]
push eax
lea eax, [ecx - 1]
mov ecx, 0x47b8fc
cmp esi, eax
lea eax, [ebp - 0x14]
cmove ecx, edx
push ecx
push eax
call fcn.0040674a
push 4
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x1c]
call fcn.00458a40
mov ecx, dword [ebx + 0x190]
add esp, 0x18
inc esi
cmp esi, ecx
jb 0x412df4
xor esi, esi
inc esi
push ebx
call fcn.00458ee2
pop ecx
mov eax, esi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.004510dc
leave
ret