joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406ae0
Capabilities:
Encode data using base64 via winapi

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x418d30
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x4231e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x44]
mov esi, dword [sym.imp.CRYPT32.dll_CryptBinaryToStringW]
push eax
push 0
push 1
push dword [ebp + 0x10]
mov dword [ebp - 0x4c], 0
push dword [ebp + 0xc]
mov dword [ebp - 0x44], 0
call esi
test eax, eax
jne 0x406b47
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], eax
mov word [edi], ax
jmp 0x406c60
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x44]
test eax, eax
jne 0x406b71
xor ecx, ecx
mov dword [ebp - 0x18], eax
mov word [ebp + eax*2 - 0x28], cx
jmp 0x406b7c
push 0
push eax
lea ecx, [ebp - 0x28]
call fcn.00403ad0
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x44]
push ecx
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 1
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call esi
test eax, eax
jne 0x406bad
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
xor ecx, ecx
mov word [eax], cx
mov ecx, dword [ebp - 0x44]
mov eax, dword [ebp - 0x18]
cmp ecx, eax
ja 0x406bcd
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x18], ecx
cmovae eax, dword [ebp - 0x28]
xor edx, edx
mov word [eax + ecx*2], dx
jmp 0x406bda
sub ecx, eax
push 0
push ecx
lea ecx, [ebp - 0x28]
call fcn.00403ad0
xor eax, eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x40]
cmovae ecx, dword [ebp - 0x28]
push dword [ebp - 0x44]
mov byte [ebp - 4], 1
push edx
lea eax, [ecx + eax*2]
push eax
lea ecx, [ebp - 0x28]
cmovae ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x48]
push ecx
push eax
call fcn.00406a60
add esp, 0x14
lea eax, [ebp - 0x40]
mov ecx, edi
push eax
call fcn.004023c0
cmp dword [ebp - 0x2c], 8
jb 0x406c3b
push dword [ebp - 0x40]
call fcn.004075f1
add esp, 4
xor eax, eax
mov dword [ebp - 0x2c], 7
cmp dword [ebp - 0x14], 8
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
jb 0x406c60
push dword [ebp - 0x28]
call fcn.004075f1
add esp, 4
mov eax, edi
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.00407df4
mov esp, ebp
pop ebp
ret
Function at 0x40fad8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4231e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040be3e
mov dword [ebp - 0x14], eax
cmp dword [0x425020], esi
jne 0x40fbcb
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x40fb58
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x40fcab
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x40fcab
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x40fcab
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x425020], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x425024], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x425028], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x425030], eax
test eax, eax
je 0x40fbc8
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42502c], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x40fbf0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x40fbe3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x40fc05
push 4
pop eax
jmp 0x40fcad
cmp dword [ebp - 0x14], esi
je 0x40fc05
push dword [0x425020]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x40fbea
mov eax, dword [0x42502c]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x40fc63
cmp dword [0x425030], edi
je 0x40fc63
push eax
call ebx
push dword [0x425030]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x40fc63
test eax, eax
je 0x40fc63
call ecx
test eax, eax
je 0x40fc58
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x40fc58
test byte [ebp - 8], 1
jne 0x40fc63
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x40fc93
mov eax, dword [0x425024]
cmp eax, edi
je 0x40fc90
push eax
call ebx
test eax, eax
je 0x40fc90
call eax
mov esi, eax
test esi, esi
je 0x40fc90
mov eax, dword [0x425028]
cmp eax, edi
je 0x40fc90
push eax
call ebx
test eax, eax
je 0x40fc90
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x425020]
call ebx
test eax, eax
je 0x40fcab
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x40fcad
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00407df4
mov esp, ebp
pop ebp
ret
Function at 0x4029e0
Capabilities:
Hash data via wincrypt
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c9125
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x14], 7
jbe 0x402a18
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov ebx, eax
mov dword [ebp - 0x2c], 0x4ed624
mov dword [ebp - 0x28], ebx
mov dword [ebp - 4], 0
cmp ebx, 0xffffffff
jne 0x402a5d
mov byte [esi + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov dword [esi + 0xc], edi
jmp 0x402bb5
mov dword [ebp - 0x24], 0x4ed0f4
mov dword [ebp - 0x20], 0
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0x4ed0fc
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 2
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.00402e20
mov edi, eax
test edi, edi
je 0x402a9c
mov dword [esi + 0xc], edi
jmp 0x402b73
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 3
push ecx
push 0x400
lea ecx, [ebp - 0x38]
call fcn.00403580
mov esi, dword [ebp - 0x38]
nop dword [eax]
push 0
lea eax, [ebp - 0x14]
push eax
push 0x400
push esi
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x402b0f
push 0
push dword [ebp - 0x14]
push esi
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
je 0x402b16
cmp dword [ebp - 0x14], 0
jne 0x402ad0
push dword [ebp - 0x18]
mov ecx, dword [ebp - 0x10]
call fcn.00402ea0
mov edi, eax
jmp 0x402b29
mov eax, dword [ebp - 0x10]
mov byte [eax + 0x10], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov ecx, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + ecx], edi
mov byte [ebp - 4], 2
test esi, esi
je 0x402b73
mov ecx, dword [ebp - 0x30]
mov eax, esi
sub ecx, esi
cmp ecx, 0x1000
jb 0x402b54
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402beb
push ecx
push esi
call fcn.004a2054
add esp, 8
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 0
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0x4ed0fc
test eax, eax
je 0x402b8c
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], 0x4ed0f4
test eax, eax
je 0x402bae
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], 0x4ed624
test ebx, ebx
je 0x402bd5
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x28], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call fcn.004a706f
int3
Function at 0x40c3a0
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca8cd
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push dword [ecx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
mov dword [ebp - 0x14], 0x4ed624
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
cmp esi, 0xffffffff
jne 0x40c3fd
xor edi, edi
jmp 0x40c408
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x14], 0x4ed624
test esi, esi
je 0x40c428
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x10], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40c6d0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ca9cd
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
movzx ebx, cx
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
mov edi, eax
test edi, edi
jne 0x40c725
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a2097
mov esi, eax
add esp, 4
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
push edi
push esi
push 0x1004
push ebx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
jne 0x40c760
xor bl, bl
jmp 0x40c7a8
dec eax
lea ecx, [ebp - 0x14]
push eax
push esi
call fcn.00409c10
mov byte [ebp - 4], 1
mov ecx, dword [ebp + 8]
push eax
call fcn.00409b90
mov byte [ebp - 4], 0
or eax, 0xffffffff
mov ecx, dword [ebp - 0x14]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x40c7a6
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov esi, dword [ebp - 0x10]
mov bl, 1
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x10], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40ead0
Capabilities:
Get file size
Hash data with md5
Read file on windows

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x70
push 0xffffffffffffffff
push 0x4caea5
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x515080]
xor eax, ebp
mov dword [ebp + 0x6c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], edx
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push ecx
mov byte [edx], 0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x24], 0x4ed624
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 4], 0
cmp edi, 0xffffffff
je 0x40ec61
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40ec61
test ebx, ebx
je 0x40ec61
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
push 0x10000
call fcn.00408760
mov esi, dword [ebp - 0x14]
test esi, esi
jne 0x40eb80
xor bl, bl
jmp 0x40ec4b
xor edi, edi
mov byte [ebp + 0x68], 0
mov dword [ebp - 0x10], edi
mov dword [ebp + 0x10], edi
mov dword [ebp + 0x14], edi
mov dword [ebp], 0x67452301
mov dword [ebp + 4], 0xefcdab89
mov dword [ebp + 8], 0x98badcfe
mov dword [ebp + 0xc], 0x10325476
nop dword [eax + eax]
push 0
lea eax, [ebp - 0x10]
push eax
push 0x10000
push esi
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x40ebf5
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x40ebf5
lea eax, [ecx + edi]
cmp eax, ebx
ja 0x40ebe6
push ecx
push esi
lea ecx, [ebp]
call fcn.004104c0
add edi, dword [ebp - 0x10]
jmp 0x40ebb0
sub ebx, edi
lea ecx, [ebp]
push ebx
push esi
mov dword [ebp - 0x10], ebx
call fcn.004104c0
lea ecx, [ebp]
call fcn.00410590
cmp byte [ebp + 0x68], 0
jne 0x40ec07
xor bl, bl
jmp 0x40ec48
mov esi, dword [ebp - 0x1c]
xor edi, edi
nop dword [eax]
mov dl, byte [ebp + edi + 0x58]
mov cl, dl
shr cl, 4
cmp cl, 0xa
sbb al, al
and dl, 0xf
and al, 0xd9
add al, 0x57
add al, cl
cmp dl, 0xa
mov byte [esi + edi*2], al
sbb al, al
and al, 0xd9
add al, 0x57
add al, dl
mov byte [esi + edi*2 + 1], al
inc edi
cmp edi, 0x10
jl 0x40ec10
mov byte [esi + 0x20], 0
mov bl, 1
mov esi, dword [ebp - 0x14]
mov edi, dword [ebp - 0x18]
mov byte [ebp - 4], 0
push esi
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x14], 0
jmp 0x40ec63
xor bl, bl
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], 0x4ed624
test edi, edi
je 0x40ec83
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 0x20], 0
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x6c]
xor ecx, ebp
call fcn.004a1cf0
lea esp, [ebp + 0x70]
pop ebp
ret
Function at 0x410160
Capabilities:
Delete file
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cb2d5
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], edx
xor edi, edi
xor esi, esi
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], esi
mov dword [ebp - 4], esi
push ecx
lea ecx, [ebp - 0x30]
call fcn.0040fc10
mov byte [ebp - 4], 1
lea eax, [ebp - 0x20]
mov ebx, dword [ebp - 0x30]
push eax
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoSizeW]
mov dword [ebp - 0x1c], eax
test eax, eax
je 0x41021e
push eax
lea ecx, [ebp - 0x14]
call fcn.00408760
mov esi, dword [ebp - 0x14]
test al, al
jne 0x4101d1
mov edi, 8
jmp 0x410226
push esi
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push ebx
call dword [sym.imp.VERSION.dll_GetFileVersionInfoW]
test eax, eax
je 0x41021e
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x18]
push eax
push 0x4ef1fc
push esi
call dword [sym.imp.VERSION.dll_VerQueryValueW]
test eax, eax
je 0x410226
cmp dword [ebp - 0x24], 0
je 0x410226
mov ecx, dword [ebp - 0x28]
mov edx, dword [ebp - 0x18]
test ecx, ecx
je 0x410210
mov eax, dword [edx + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x410226
mov eax, dword [edx + 0xc]
mov dword [ecx], eax
jmp 0x410226
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov byte [ebp - 4], 0
cmp byte [ebp - 0x2c], 0
je 0x410237
push ebx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push ebx
call fcn.004a2092
add esp, 4
mov dword [ebp - 4], 0xffffffff
push esi
call fcn.004a2092
add esp, 4
mov dword [ebp - 0x14], 0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x411d20
Capabilities:
Hash data using fnv

Disassembly:
sub esp, 8
mov edx, dword [esp + 0xc]
movzx eax, byte [edx]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [edx + 1]
xor ecx, eax
movzx eax, byte [edx + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [edx + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
push eax
push edx
lea eax, [esp + 8]
push eax
call fcn.004124e0
mov eax, dword [esp + 4]
test eax, eax
je 0x411d76
add eax, 0xc
add esp, 8
ret 4
push str.invalid_unordered_map_K__T__key
call fcn.0048ae8a
int3

Function at 0x412c30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push esi
mov esi, dword [esp + 0xc]
mov edx, 0x811c9dc5
push edi
mov edi, dword [esp + 0xc]
mov ecx, 0
sub esi, edi
sar esi, 1
add esi, esi
je 0x412c61
nop dword [eax]
movzx eax, byte [edi + ecx]
inc ecx
xor eax, edx
imul edx, eax, 0x1000193
cmp ecx, esi
jb 0x412c50
pop edi
mov eax, edx
pop esi
ret 8
Function at 0x438530
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 0x18], 0
push ebx
push esi
push edi
mov edi, ecx
jne 0x43856a
mov ecx, dword [esp + 0x14]
mov ebx, 1
cmp ecx, 0x110
jne 0x438572
sub esp, 8
mov dword [edi + 0x40], ebx
mov ecx, edi
call fcn.00438ae0
mov ecx, dword [esp + 0x20]
mov dword [ecx], eax
cmp dword [edi + 0x40], 0
jne 0x4386fe
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x18
mov esi, dword [esp + 0x18]
cmp ecx, 0x111
jne 0x438660
movzx eax, si
mov edx, eax
cmp bx, ax
jne 0x4385e8
lea eax, [edi + 0x44]
push eax
lea ecx, [edi + 0x5c]
call fcn.00420150
lea eax, [edi + 0x48]
push eax
lea ecx, [edi + 0x60]
call fcn.00420150
push 0x428
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0
push 0
push 0xf0
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 1
push 1
push dword [edi + 4]
sete cl
mov byte [edi + 0x4c], cl
call dword [sym.imp.USER32.dll_EndDialog]
mov ecx, dword [esp + 0x20]
mov eax, ebx
pop edi
pop esi
pop ebx
mov dword [ecx], 0
ret 0x18
mov eax, 2
cmp ax, dx
jne 0x43860e
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], 0
mov eax, ebx
pop ebx
ret 0x18
mov eax, esi
mov edx, 0x300
shr eax, 0x10
cmp dx, ax
jne 0x438660
mov eax, dword [esp + 0x1c]
lea ecx, [edi + 0x5c]
cmp eax, dword [ecx]
jne 0x43864e
lea esi, [edi + 0x44]
push esi
call fcn.00420150
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ecx, dword [esi]
xor edx, edx
cmp dword [ecx - 0xc], edx
setne dl
push edx
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
mov eax, dword [esp + 0x20]
pop edi
pop esi
pop ebx
mov dword [eax], 0
xor eax, eax
ret 0x18
lea edx, [edi + 0x20]
cmp ecx, 5
jne 0x4386cf
xor eax, eax
test edx, edx
cmove edi, eax
cmp byte [edx + 0x1c], al
je 0x4386a1
push 0xe801
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp esi, 2
jne 0x438692
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4386a6
test esi, esi
jne 0x4386a1
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x4386a6
cmp esi, 1
je 0x4386f4
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x10
cwde
push eax
movsx eax, cx
lea ecx, [edi + 0x20]
push eax
call fcn.00439360
mov eax, dword [esp + 0x20]
pop edi
pop esi
mov dword [eax], 0
mov eax, ebx
pop ebx
ret 0x18
cmp ecx, 0x24
jne 0x43856a
cmp dword [edx + 0x14], 0xffffffff
je 0x4386f4
cmp dword [edx + 0x18], 0xffffffff
je 0x4386f4
mov eax, dword [esp + 0x1c]
mov ecx, dword [edx + 0x14]
mov edx, dword [edx + 0x18]
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], edx
mov eax, dword [esp + 0x20]
mov dword [eax], 0
pop edi
pop esi
mov eax, ebx
pop ebx
ret 0x18
Function at 0x442700
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d3465
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
call fcn.004046f0
mov edi, eax
test edi, edi
je 0x44289e
mov edx, dword [edi]
mov esi, dword [edx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
mov ecx, ebx
call fcn.00443920
or edi, 0xffffffff
test al, al
jne 0x442773
xor bl, bl
jmp 0x44285d
mov eax, dword [ebx + 4]
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], eax
call fcn.004046f0
mov ebx, eax
test ebx, ebx
je 0x44289e
mov ecx, dword [ebx]
mov esi, dword [ecx + 0xc]
mov ecx, esi
call dword [0x4e2514]
mov ecx, ebx
call esi
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x10]
push eax
call fcn.00409b90
lea eax, [ebp - 0x20]
push eax
push 0x20019
push 0
push dword [ebp - 0x1c]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x20]
test ecx, ecx
jne 0x4427ef
xor bl, bl
jmp 0x442814
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x14]
push edx
push dword [ebp + 0x10]
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 4
push edx
push 0
push dword [eax]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
sete bl
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x442826
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov byte [ebp - 4], 1
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 1
mov eax, edi
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x44285d
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
or edi, 0xffffffff
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], edi
dec edi
test edi, edi
jg 0x442888
mov edi, dword [eax]
push eax
mov edx, dword [edi]
mov esi, dword [edx + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80004005
call fcn.00402720
int3
Function at 0x449e50
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4c56
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi + 4], 0
mov dword [ebp - 0x14], eax
mov dword [eax + 0xc], 0
mov dword [ebp - 4], 1
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [ebp - 4], 4
lea esi, [edi + 0x30]
mov eax, dword [ebp + 0xc]
mov dword [edi + 0x20], 0x4ef308
mov dword [edi + 0x24], 0x4f2e74
mov dword [edi], 0x4f2ea8
mov dword [edi + 0x20], 0x4f2e7c
mov dword [edi + 0x24], 0x4f2e78
mov dword [edi + 0x2c], 0
mov dword [ebp - 0x18], esi
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00402750
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 6
mov eax, dword [ebp + 8]
mov dword [edi + 0x34], eax
mov eax, dword [ebp + 0x10]
mov byte [edi + 0x38], 0
mov dword [edi + 0x40], eax
mov al, byte [ebp + 0x14]
mov dword [edi + 0x44], 2
mov byte [edi + 0x48], al
mov dword [edi + 0x4c], 0
mov dword [edi + 0x50], 0
mov dword [ebp - 4], 0xffffffff
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 0x10

Function at 0x449f60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d4cc6
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x515080]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], 0
lea eax, [ebx + 0x30]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0
mov ecx, dword [eax]
or eax, 0xffffffff
sub ecx, 0x10
lock xadd dword [ecx + 0xc], eax
dec eax
test eax, eax
jg 0x449fc4
mov edi, dword [ecx]
push ecx
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4e2514]
mov ecx, edi
call esi
mov dword [ebp - 4], 0xffffffff
lea eax, [ebx + 8]
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [eax + 0xc]
test eax, eax
je 0x449fe5
push eax
call fcn.0048a95b
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret