joyce8/EMBER2024-capa huggingface dataset:
Function at 0x484e70
Capabilities:
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x59237d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
mov edx, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, ecx
mov dword [ebp - 0x10], ebx
cmp edx, esi
je 0x48501d
mov ecx, dword [ebx + 4]
lea eax, [ebx + 4]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebx + 0xc]
mov dword [ebp - 0x34], eax
mov eax, dword [edx + 4]
push edi
mov edi, edx
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x2c], edi
mov dword [ebp - 4], 0
mov eax, dword [edx + 4]
mov dword [ebp - 0x24], eax
movzx eax, byte [edx + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 9]
xor ecx, eax
movzx eax, byte [edx + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
mov eax, dword [ebx + 0x18]
imul ecx, ecx, 0x1000193
and eax, ecx
mov ecx, dword [ebp - 0x18]
lea eax, [ecx + eax*8]
mov ecx, dword [eax]
mov dword [ebp + 0xc], eax
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], eax
lea ebx, [ebx]
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056b3b5
mov edx, dword [ebp - 0x10]
add esp, 8
dec dword [edx + 8]
test bl, bl
jne 0x484f5e
mov eax, dword [ebp - 0x20]
cmp edi, esi
jne 0x484f20
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp + 8]
jne 0x48500d
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
jmp 0x48500d
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp + 0xc]
cmp eax, dword [ebp + 8]
jne 0x484f70
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x484f73
mov eax, dword [ebp - 0x24]
mov dword [ecx + 4], eax
cmp edi, esi
je 0x48500d
mov edi, edi
movzx eax, byte [edi + 8]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edi + 9]
xor ecx, eax
movzx eax, byte [edi + 0xa]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edi + 0xb]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, dword [edx + 0x18]
and ecx, eax
mov eax, dword [ebp - 0x18]
lea eax, [eax + ecx*8]
mov dword [ebp + 8], eax
mov eax, dword [eax + 4]
mov dword [ebp + 0xc], eax
cmp edi, eax
mov eax, edi
mov edi, dword [edi]
push 0x10
push eax
sete bl
mov dword [ebp - 0x2c], edi
call fcn.0056b3b5
mov eax, dword [ebp - 0x10]
add esp, 8
dec dword [eax + 8]
test bl, bl
jne 0x484ff1
cmp edi, esi
je 0x485008
mov eax, dword [ebp + 0xc]
jmp 0x484fc7
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 0x1c]
mov dword [eax], edx
mov dword [eax + 4], edx
cmp edi, esi
je 0x48500d
mov edx, dword [ebp - 0x10]
jmp 0x484f80
mov eax, dword [ebp + 8]
mov dword [eax], edi
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x28]
mov dword [eax], edi
mov dword [edi + 4], eax
pop edi
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x486de0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp dword [ebp - 0x18], 0x20
jb 0x486dfc
xor al, al
mov esp, ebp
pop ebp
ret
push str.GenuineIntel
call fcn.00486eb0
add esp, 4
test eax, eax
jne 0x486e26
push str.AuthenticAMD
call fcn.00486eb0
add esp, 4
test eax, eax
jne 0x486e26
xor cl, cl
mov al, cl
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
setne cl
test eax, eax
je 0x486ea6
mov eax, dword [ebp - 4]
push edi
cmp dword [ebp - 8], eax
je 0x486e71
mov edi, dword [sym.imp.KERNEL32.dll_SetProcessAffinityMask]
push eax
push esi
call edi
test eax, eax
setne cl
test eax, eax
je 0x486e6e
push dword [ebp - 8]
push esi
call edi
test eax, eax
setne cl
mov eax, dword [ebp - 4]
test cl, cl
je 0x486ea5
cmp eax, 1
jbe 0x486ea5
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push dword [ebp - 8]
mov edi, dword [sym.imp.KERNEL32.dll_SetThreadAffinityMask]
mov esi, eax
push esi
call edi
test eax, eax
je 0x486ea3
push eax
push esi
call edi
test eax, eax
pop edi
setne cl
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
xor cl, cl
pop edi
pop esi
mov al, cl
mov esp, ebp
pop ebp
ret
Function at 0x487760
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ebp + 8]
push ebx
push esi
mov esi, ecx
mov cl, byte [ebp + 0xc]
mov byte [esi], al
mov byte [esi + 1], cl
cmp cl, al
jbe 0x48777b
mov byte [esi + 1], al
mov cl, al
xor edx, edx
movzx eax, al
movzx ecx, cl
div ecx
mov dl, 8
mov cl, 0x80
dec al
jmp 0x487790
test al, cl
jne 0x48779a
dec dl
shr cl, 1
jne 0x487790
mov bl, byte [esi + 1]
mov cl, 8
mov byte [esi + 2], dl
dec bl
mov al, 0x80
test bl, al
jne 0x4877b0
dec cl
shr al, 1
jne 0x4877a6
mov al, 8
mov byte [esi + 4], cl
sub al, cl
or bl, 0xff
sub al, dl
movzx ecx, cl
mov byte [esi + 6], al
movzx eax, dl
or dl, 0xff
add ecx, eax
shl dl, cl
mov ecx, eax
shl bl, cl
mov al, bl
mov byte [esi + 7], dl
not bl
xor al, dl
mov byte [esi + 3], bl
mov byte [esi + 5], al
pop esi
pop ebx
pop ebp
ret 8

Function at 0x5860e0
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00585f56

Function at 0x58992b
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0058947e
Function at 0x403710
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x228
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x224], eax
mov eax, dword [esp + 0x22c]
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov edx, dword [edi + 4]
lea ecx, [esp + 0x14]
xor esi, esi
push ecx
mov ecx, dword [edi]
or edx, 0x2001f
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.004036a0
mov ebp, eax
cmp ebp, esi
je 0x403774
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40376d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x40380d
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea edx, [esp + 0x28]
push edx
mov edx, dword [esp + 0x18]
push esi
push esi
push esi
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x44]
push ecx
push esi
push edx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
jne 0x4037da
lea eax, [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
call fcn.00403710
mov ebp, eax
cmp ebp, esi
jne 0x40375e
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x18]
push esi
push esi
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x44]
push eax
push esi
push ecx
mov dword [esp + 0x40], 0x100
call ebx
test eax, eax
je 0x4037a0
mov eax, dword [esp + 0x14]
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
je 0x4037ef
push eax
call ebp
mov dword [esp + 0x14], esi
mov ebx, dword [esp + 0x24]
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.00403890
mov edi, eax
mov eax, dword [esp + 0x14]
cmp eax, esi
je 0x40380b
push eax
call ebp
mov eax, edi
mov ecx, dword [esp + 0x234]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00548a41
add esp, 0x228
ret 4
Function at 0x4043e0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
lea ebp, [esp - 0x408]
sub esp, 0x408
push 0xffffffffffffffff
push 0x5b2ba0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
mov eax, dword [str.W__a]
xor eax, ebp
mov dword [ebp + 0x404], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x410]
mov ebx, dword [ebp + 0x414]
xor esi, esi
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], esi
mov dword [ebp], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, esi
jne 0x40445f
call fcn.00402970
mov esi, eax
jmp 0x404554
mov eax, dword [ebp - 0x14]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
cmp ebx, esi
jne 0x40447b
call fcn.00402970
jmp 0x40454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x18], eax
cmp eax, esi
jne 0x404494
call fcn.00402970
jmp 0x40454b
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
lea eax, [ebx + 1]
mov dword [ebp - 0x14], ebx
cmp eax, ebx
jae 0x4044b2
mov esi, 0x8007000e
jmp 0x40454d
xor ecx, ecx
shld ecx, eax, 1
add eax, eax
mov byte [ebp - 4], 2
cmp ecx, esi
ja 0x4044c7
cmp eax, 0xffffffff
jbe 0x4044d1
push 0x80070216
call fcn.00404db0
cmp eax, 0x400
jbe 0x4044fa
lea ecx, [ebp]
push ecx
call fcn.00403110
jmp 0x404500
lea edx, [ebp + 4]
mov dword [ebp], edx
mov dword [ebp - 4], 1
mov eax, dword [ebp]
cmp eax, esi
jne 0x404515
mov esi, 0x8007000e
jmp 0x40454d
push ebx
push eax
mov eax, dword [ebp - 0x18]
push ebx
push eax
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
jne 0x404530
call fcn.00402970
jmp 0x40454b
mov edx, dword [ebp]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [ebp + 0x418]
mov ecx, dword [ebp]
push eax
lea esi, [ebp - 0x24]
call fcn.00404250
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [ebp + 4]
cmp dword [ebp], ecx
je 0x404564
lea eax, [ebp]
call fcn.004030f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x404]
xor ecx, ebp
call fcn.00548a41
lea esp, [ebp + 0x408]
pop ebp
ret 0xc
Function at 0x4060c0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5a9f2b
mov eax, dword fs:[0]
push eax
sub esp, 0x278
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x270], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x28c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x29c]
cmp dword [ebp + 0x10], 0
je 0x40627c
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x7e]
push ecx
mov word [esp + 0x80], ax
call fcn.0054e420
add esp, 0xc
push 0x104
lea edx, [esp + 0x78]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x74]
push 0x5c
push eax
call fcn.0054a0b4
add esp, 8
test eax, eax
je 0x406154
xor ecx, ecx
mov word [eax + 2], cx
lea eax, [esp + 0x74]
lea edx, [eax + 2]
jmp 0x406160
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x406160
sub eax, edx
sar eax, 1
mov edx, 0x104
sub edx, eax
push edx
lea eax, [esp + 0x78]
push 0x5d8ad4
push eax
call fcn.00549f23
xor ecx, ecx
add esp, 0xc
cmp dword [ebp + 0x14], 0x10
mov word [esp + 0x27a], cx
jb 0x40619e
mov eax, dword [ebp]
jmp 0x4061a0
mov eax, ebp
mov ebx, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push 0
push 0
push 0xffffffffffffffff
push eax
push 0
push 0xfde9
call ebx
mov esi, eax
test esi, esi
je 0x40627c
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00547a7c
add esp, 4
mov edi, eax
cmp dword [ebp + 0x14], 0x10
jb 0x4061e4
mov ebp, dword [ebp]
push esi
push edi
or esi, 0xffffffff
push esi
push ebp
push 0
push 0xfde9
call ebx
test eax, eax
je 0x40626c
push 0x44
lea eax, [esp + 0x30]
push 0
push eax
call fcn.0054e420
add esp, 0xc
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push edi
lea eax, [esp + 0x98]
push eax
mov dword [esp + 0x54], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x40625c
mov ecx, dword [esp + 0x1c]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [esp + 0x20]
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call ebx
mov eax, dword [esp + 0x1c]
push eax
call ebx
jmp 0x40626c
push 0x10
push str.Fatal_error
push edi
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push edi
mov dword [esp + 0x298], esi
call fcn.00549081
add esp, 4
mov ecx, dword [esp + 0x28c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x270]
xor ecx, esp
call fcn.00548a41
add esp, 0x284
ret
Function at 0x4062d0
Capabilities:
Print debug messages
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x5ad653
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push ebp
push esi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov dword [esp + 0x10], edi
mov dword [esp + 0x58], 0
mov eax, dword [edi]
cmp eax, dword [0x63d448]
jl 0x4064f0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [edi + 8]
call fcn.00406f30
push 2
mov ebx, 1
push 0x5d8b18
lea ecx, [esp + 0x1c]
mov byte [esp + 0x60], bl
call fcn.004078a0
cmp dword [0x63d44c], 0
lea ebp, [ebx + 0xf]
je 0x406362
mov eax, dword [esp + 0x14]
cmp dword [esp + 0x28], ebp
jae 0x40635b
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
cmp dword [0x63d44c], ebx
je 0x4063d8
call fcn.00406000
test al, al
je 0x4063d8
cmp byte [0x63d55a], 0
jne 0x40638d
push 0x63d3dc
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov byte [0x63d55a], bl
push 0x63d3dc
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edx, dword [0x63d554]
push 2
push 0
push edx
call fcn.0054a67f
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp dword [esp + 0x28], ebp
jae 0x4063b9
lea eax, [esp + 0x14]
push eax
mov eax, dword [0x63d554]
push 0x5d8b1c
push eax
call fcn.0054a1b5
add esp, 0xc
push 0x63d3dc
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp dword [edi], 3
jne 0x4064c3
mov ecx, dword [0x63d554]
push ecx
call fcn.00549ec7
add esp, 4
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x406405
call dword [sym.imp.KERNEL32.dll_DebugBreak]
jmp 0x4064c3
cmp dword [0x63d55c], 0
je 0x40643c
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.00406f30
push eax
mov byte [esp + 0x5c], 2
call dword [0x63d55c]
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.004c0ca0
jmp 0x4064c3
mov eax, dword [0x624e74]
cmp byte [eax], 0
jne 0x406470
lea ecx, [esp + 0x30]
push ecx
lea ecx, [edi + 8]
call fcn.00406f30
push eax
mov byte [esp + 0x5c], 3
call fcn.004060c0
add esp, 4
lea ecx, [esp + 0x30]
mov byte [esp + 0x58], bl
call fcn.004c0ca0
jmp 0x4064b5
lea edx, [esp + 0x30]
push edx
lea ecx, [edi + 8]
call fcn.00406f30
cmp dword [eax + 0x14], ebp
jb 0x406484
mov eax, dword [eax]
push eax
push 0x5d8b20
call fcn.00549acd
add eax, 0x40
push eax
call fcn.0054a1b5
add esp, 0xc
lea ecx, [esp + 0x30]
call fcn.004c0ca0
call fcn.00549acd
add eax, 0x40
push eax
call fcn.00549ec7
add esp, 4
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov byte [esp + 0x58], 0
cmp dword [esp + 0x28], ebp
jb 0x4064db
mov eax, dword [esp + 0x14]
push eax
call fcn.00548a36
add esp, 4
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], 0
mov byte [esp + 0x14], 0
lea esi, [edi + 0x68]
mov ecx, esi
mov dword [esp + 0x58], 0xffffffff
call fcn.00406e90
push esi
mov dword [esi], vtable.std::ios_base.0
call fcn.00547cfc
add esp, 4
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.00548a41
add esp, 0x4c
ret
Function at 0x408ac0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push 0xffffffffffffffff
push 0x5aaff6
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.0054812f
push 4
mov dword [esp + 0x28], 0
call fcn.00548a50
mov edi, eax
add esp, 4
mov dword [esp + 0x18], edi
mov byte [esp + 0x24], 1
test edi, edi
je 0x408b4b
call fcn.00548007
mov dword [edi], eax
call fcn.00547dc6
push 0
lea ecx, [esp + 0x14]
mov ebx, eax
call fcn.005480f0
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x408b40
inc eax
mov dword [ebx + 4], eax
lea ecx, [esp + 0x10]
call fcn.00548118
jmp 0x408b4d
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret

Function at 0x40ba00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5abf58
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
mov dword [esp + 0x18], ebx
cmp dword [esi + 0x30], 0x10
jb 0x40ba41
mov eax, dword [esi + 0x1c]
push eax
call fcn.00548a36
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x18], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x40ba67
mov eax, dword [esi]
push eax
call fcn.00548a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40d150
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5aae18
mov eax, dword fs:[0]
push eax
push ebx
push esi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x14], ebx
mov esi, dword [esp + 0x1c]
cmp dword [esi + 0x30], 0x10
jb 0x40d18e
mov eax, dword [esi + 0x1c]
push eax
call fcn.00548a36
add esp, 4
mov dword [esi + 0x30], 0xf
mov dword [esi + 0x2c], ebx
mov byte [esi + 0x1c], bl
mov dword [esp + 0x14], 0xffffffff
cmp dword [esi + 0x14], 0x10
jb 0x40d1b4
mov eax, dword [esi]
push eax
call fcn.00548a36
add esp, 4
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], ebx
mov byte [esi], bl
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0xc
ret

Function at 0x40e050
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.00548a50
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push esi
push 0x40e020
test edi, edi
push 0
setne cl
push 0
mov dword [esi], eax
mov byte [esi + 4], cl
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40e090
push esi
call fcn.00548a36
add esp, 4
xor al, al
pop esi
ret
test edi, edi
je 0x40e09a
mov dword [edi], eax
mov al, 1
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret

Function at 0x40e0b0
Capabilities:
Create thread

Disassembly:
push esi
push 8
call fcn.00548a50
add esp, 4
push 0
mov esi, eax
mov eax, dword [esp + 0xc]
push 0
push esi
push 0x40e020
push 0
push 0
mov dword [esi], eax
mov byte [esi + 4], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
jne 0x40e0ec
push esi
call fcn.00548a36
add esp, 4
xor al, al
pop esi
ret
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop esi
ret

Function at 0x40e100
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x11c], eax
cmp byte [0x63dcbd], 0
jne 0x40e1af
lea eax, [esp]
push eax
mov dword [esp + 4], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 4]
mov ecx, 1
cmp eax, 5
jne 0x40e16e
mov eax, dword [esp + 8]
sub eax, 0
je 0x40e166
sub eax, ecx
je 0x40e15a
mov dword [0x63dcc0], 3
jmp 0x40e1a9
mov dword [0x63dcc0], 2
jmp 0x40e1a9
mov dword [0x63dcc0], ecx
jmp 0x40e1a9
cmp eax, 6
jne 0x40e19d
cmp byte [esp + 0x11a], cl
je 0x40e188
mov dword [0x63dcc0], 5
jmp 0x40e1a9
xor edx, edx
cmp dword [esp + 8], edx
setne dl
lea edx, [edx + edx + 4]
mov dword [0x63dcc0], edx
jmp 0x40e1a9
jbe 0x40e1a9
mov dword [0x63dcc0], 6
mov byte [0x63dcbd], cl
mov ecx, dword [esp + 0x11c]
mov eax, dword [0x63dcc0]
xor ecx, esp
call fcn.00548a41
add esp, 0x120
ret
Function at 0x40e900
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x5b4143
mov eax, dword fs:[0]
push eax
sub esp, 0x268
mov eax, dword [str.W__a]
xor eax, esp
mov dword [esp + 0x264], eax
push ebx
push ebp
push esi
mov eax, dword [str.W__a]
xor eax, esp
push eax
lea eax, [esp + 0x278]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x288]
xor esi, esi
push 0x206
lea ecx, [esp + 0x72]
xor eax, eax
push esi
mov dword [esp + 0x18], esi
push ecx
mov dword [esp + 0x20], edi
mov word [esp + 0x78], ax
call fcn.0054e420
add esp, 0xc
lea edx, [esp + 0x6c]
push edx
push esi
push esi
push 0x1a
push esi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jns 0x40e99a
push esi
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], esi
push 0x5d8868
mov ecx, edi
mov word [edi], ax
call fcn.00401d20
jmp 0x40eaad
xor ecx, ecx
push 0x19
mov word [esp + 0x38], cx
mov ebx, 7
push str.GoogleGoogle_Input_Tools
lea ecx, [esp + 0x3c]
mov dword [esp + 0x50], ebx
mov dword [esp + 0x4c], esi
call fcn.00401d20
mov dword [esp + 0x280], 1
xor edx, edx
lea eax, [esp + 0x6c]
mov dword [esp + 0x2c], ebx
mov word [esp + 0x18], dx
mov dword [esp + 0x28], esi
lea edx, [eax + 2]
mov ebx, 2
mov cx, word [eax]
add eax, ebx
cmp cx, si
jne 0x40e9e4
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
push eax
lea ecx, [esp + 0x20]
call fcn.00401d20
lea edx, [esp + 0x34]
lea ecx, [esp + 0x18]
lea esi, [esp + 0x50]
mov byte [esp + 0x280], bl
call fcn.0040e690
mov edx, ebp
mov ecx, eax
mov esi, edi
mov byte [esp + 0x280], 3
call fcn.0040e690
mov esi, 8
mov byte [esp + 0x280], bl
mov dword [esp + 0x10], 1
cmp dword [esp + 0x64], esi
jb 0x40ea53
mov ecx, dword [esp + 0x50]
push ecx
call fcn.00548a36
add esp, 4
xor ebp, ebp
xor edx, edx
mov ebx, 7
mov byte [esp + 0x280], 1
mov dword [esp + 0x64], ebx
mov dword [esp + 0x60], ebp
mov word [esp + 0x50], dx
cmp dword [esp + 0x2c], esi
jb 0x40ea84
mov eax, dword [esp + 0x18]
push eax
call fcn.00548a36
add esp, 4
xor ecx, ecx
mov byte [esp + 0x280], cl
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebp
mov word [esp + 0x18], cx
cmp dword [esp + 0x48], esi
jb 0x40eaad
mov edx, dword [esp + 0x34]
push edx
call fcn.00548a36
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x278]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x264]
xor ecx, esp
call fcn.00548a41
add esp, 0x274
ret