joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41dae0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x4798a8
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x118], eax
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov esi, ecx
lea ecx, [esp + 0x138]
mov dword [esp + 0x130], 0
call fcn.00408420
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x41db78
cmp dword [esp + 0x14], 6
jne 0x41db78
mov eax, dword [esp + 0x138]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.00401520
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0041cee0
jmp 0x41db9e
mov eax, dword [esp + 0x138]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x10], esp
mov edi, esp
push eax
call fcn.00401520
add eax, 0x10
add esp, 4
mov ecx, esi
mov dword [edi], eax
call fcn.0041b5b0
mov esi, eax
mov eax, dword [esp + 0x138]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x130], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41dbca
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret 4
Function at 0x424c90
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x200], eax
push esi
push 0
push 0
push 0
push 0
push 0
mov esi, ecx
mov eax, dword [esi + 0xac]
push 0x1fe
lea ecx, [esp + 0x1c]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
je 0x424cfb
mov esi, dword [esi + 0xa8]
push esi
call fcn.004546b0
add esp, 4
neg eax
sbb eax, eax
and eax, 0xffffffe7
add eax, 0x19
pop esi
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004764f6
add esp, 0x204
ret
mov ecx, dword [esp + 0x204]
pop esi
xor ecx, esp
mov eax, 0x15
call fcn.004764f6
add esp, 0x204
ret

Function at 0x4254b0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x200], eax
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0xa8]
push esi
push eax
call fcn.00454460
add esp, 4
test eax, eax
jne 0x425547
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DiskLoading..._d
call fcn.00403170
add esp, 8
cmp esi, 3
je 0x42552b
cmp esi, 2
je 0x42552b
cmp esi, 0x37
je 0x42552b
mov eax, dword [ebx + 0xa8]
push eax
call fcn.004546b0
add esp, 4
pop esi
mov eax, 0x19
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004764f6
add esp, 0x204
ret
pop esi
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004764f6
add esp, 0x204
ret
cmp dword [ebx + 0xa4], 0
push ebp
push edi
jne 0x4255c5
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
xor edi, edi
lea ebx, [ebx]
mov eax, dword [ebx + 0xac]
push 0
push 0
push 0
push 0
push 0
push 0x1fe
lea ecx, [esp + 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
test eax, eax
jne 0x4255c5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
push esi
push str.DiskLoading..._d
call fcn.00403170
add esp, 8
cmp esi, 3
je 0x4255be
cmp esi, 2
je 0x4255be
cmp esi, 0x37
je 0x4255be
push 0x1f4
call ebp
inc edi
cmp edi, 0x14
jl 0x425560
mov eax, 4
jmp 0x4255c7
mov eax, 3
jmp 0x4255c7
xor eax, eax
mov ecx, dword [esp + 0x210]
pop edi
pop ebp
pop esi
pop ebx
xor ecx, esp
call fcn.004764f6
add esp, 0x204
ret

Function at 0x427d80
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x114], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x427db6
cmp dword [esp + 4], 6
mov eax, 0x1388
je 0x427dbb
mov eax, 0x3e8
mov ecx, dword [esp + 0x114]
xor ecx, esp
call fcn.004764f6
add esp, 0x118
ret
Function at 0x4287c0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0x7c
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x84]
push esi
mov esi, dword [esp + 0x84]
push eax
lea ecx, [esp + 8]
push esi
push ecx
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
mov dword [esp + 0x20], 0xc3d2e1f0
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0
mov dword [esp + 0x6c], 0
call fcn.004286e0
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x74]
push eax
call fcn.00428590
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov dword [esi], ecx
mov ecx, dword [esp + 0x80]
mov dword [esi + 4], edx
mov edx, dword [esp + 0x84]
mov dword [esi + 8], ecx
mov ecx, dword [esp + 0x88]
mov dword [esi + 0xc], edx
mov dword [esi + 0x10], ecx
mov ecx, dword [esp + 0x90]
xor al, al
add esp, 0x14
mov byte [esi + 0x14], al
pop esi
xor ecx, esp
call fcn.004764f6
add esp, 0x7c
ret

Function at 0x42c360
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x47a8db
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov eax, dword [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
mov dword [esp + 0x10], 0xff
call edx
lea esi, [eax + 0x10]
mov dword [esp + 0xc], esi
lea eax, [esp + 8]
push eax
push 0xf003f
push 0
push str.SOFTWARESamsungNew_PC_StudioSetting
push SysReAllocString
mov dword [esp + 0x234], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42c47a
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
push eax
push eax
mov eax, dword [esp + 0x18]
push str.EnableNOSIM
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42c47a
cmp dword [esp + 0x10], 1
jbe 0x42c47a
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x10]
push 0x481e70
push edx
call fcn.00402e80
mov esi, dword [esp + 0x18]
add esp, 0xc
mov ecx, str.473E8222_33F0_4039_92F6_815DC6A97379
mov eax, esi
mov edi, edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x42c456
test dx, dx
je 0x42c452
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x42c456
add eax, 4
add ecx, 4
test dx, dx
jne 0x42c430
xor eax, eax
jmp 0x42c45b
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x42c47a
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 0xc]
call fcn.00450df0
mov eax, 1
jmp 0x42c4ae
mov ecx, dword [esp + 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [esi - 0x10]
mov dword [esp + 0x220], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x42c4ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004764f6
add esp, 0x21c
ret
Function at 0x42d290
Capabilities:
Print debug messages

Disassembly:
push ebp
lea ebp, [esp - 0x404]
sub esp, 0x404
push 0xffffffffffffffff
push 0x47a9a0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x4a6eb0]
xor eax, ebp
mov dword [ebp + 0x400], 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 [0x4a743c]
mov edx, dword [eax + 0xc]
mov ecx, 0x4a743c
mov dword [ebp - 4], 0
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x14], esi
mov ecx, dword [ebp + 0x40c]
lea eax, [ebp + 0x410]
push eax
push ecx
push 0x400
lea edx, [ebp]
push 0x400
mov ebx, 1
push edx
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCR90.dll__vsnprintf_s]
add esp, 0x14
test eax, eax
jle 0x42d396
lea eax, [ebp]
push eax
push str.NPSDM
lea ecx, [ebp - 0x14]
push str.__s__s
push ecx
call fcn.0040ebb0
add esp, 0x10
push ebx
lea edx, [ebp - 0x18]
push edx
lea ecx, [ebp - 0x14]
call fcn.0042b0a0
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
cmp ecx, ebx
jne 0x42d35f
test ecx, ecx
jge 0x42d357
push 0x80070057
call fcn.00401120
mov al, byte [eax]
cmp al, 0xa
jne 0x42d35f
xor bl, bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d37e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x42d38c
push 0xa
lea ecx, [ebp - 0x14]
call fcn.0042c020
mov esi, dword [ebp - 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [esi - 0x10]
mov byte [ebp - 4], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d3b6
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x400]
xor ecx, ebp
call fcn.004764f6
add ebp, 0x404
mov esp, ebp
pop ebp
ret
Function at 0x42d6d0
Capabilities:
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x47aa40
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
push eax
push ecx
push str.CDeviceManager::UploadFileToPc
push str._s_source_object_ID:__s__target_path:__s.
mov byte [esp + 0x40], 3
call fcn.00403170
add esp, 0x10
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov eax, dword [esp + 0x40]
lea ecx, [esp + 0x20]
push ecx
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
push eax
mov dword [esp + 0x2c], ebx
call fcn.00401520
mov ecx, dword [esp + 0x54]
add eax, 0x10
add esp, 4
mov dword [esi], eax
call fcn.00465330
mov esi, eax
cmp esi, ebx
jge 0x42d783
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x42d80c
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x42d80c
mov edx, dword [esp + 0x3c]
lea ecx, [esp + 0x14]
push ecx
push 0x1001
push edx
call dword [sym.imp.SHLWAPI.dll_SHCreateStreamOnFileW]
mov esi, eax
cmp esi, ebx
jl 0x42d7f7
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
lea ecx, [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
mov ecx, edi
call fcn.0042d5e0
mov esi, eax
cmp esi, ebx
jl 0x42d7f7
cmp dword [esp + 0x10], ebx
je 0x42d7db
push ebx
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.ATL90.DLL_Ordinal_30]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0x38]
push edx
push eax
push str.CDeviceManager::UploadFileToPc
push str._s_Succeeded____object_ID:__s__target_path:__s.
call fcn.00403170
add esp, 0x10
mov eax, dword [esp + 0x14]
mov byte [esp + 0x30], 2
cmp eax, ebx
je 0x42d80c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x10]
mov byte [esp + 0x30], 1
cmp eax, ebx
je 0x42d821
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov byte [esp + 0x30], bl
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d845
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
mov dword [esp + 0x30], edx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42d869
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x24
ret 0xc
Function at 0x42fd00
Capabilities:
Print debug messages

Disassembly:
mov eax, dword [0x4a70c0]
test eax, eax
je 0x42fd33
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x42fd32
mov eax, dword [0x4a70c4]
mov ecx, dword [esp + 4]
mov edx, dword [0x4a7180]
push eax
mov eax, dword [0x4a70c0]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
ret
mov dword [esp + 4], str.No_m_hNewDeviceHandler
jmp fcn.00403170
Function at 0x436310
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x47e068
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [esp + 0x28]
xor ebx, ebx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x18], ebx
call fcn.00406310
mov ecx, dword [esp + 0x28]
push 0x4829a0
push ecx
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x2c], ebx
call dword [sym.imp.MSVCR90.dll__wfopen_s]
mov eax, dword [esp + 0x20]
add esp, 0xc
cmp eax, ebx
je 0x436392
mov esi, dword [sym.imp.MSVCR90.dll_fseek]
push 2
push ebx
push eax
call esi
add esp, 0xc
cmp eax, ebx
je 0x4363c1
mov eax, dword [esp + 0x14]
cmp eax, ebx
je 0x436392
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4363ba
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x4364c1
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.MSVCR90.dll_ftell]
mov edx, dword [esp + 0x18]
push ebx
push ebx
push edx
mov edi, eax
call esi
lea eax, [edi + 2]
push eax
call fcn.00468318
mov ecx, dword [esp + 0x28]
push ecx
push edi
mov esi, eax
push 1
push esi
call dword [sym.imp.MSVCR90.dll_fread]
mov byte [eax + esi], 0
mov byte [eax + esi + 1], 0
mov al, byte [esi]
add esp, 0x24
cmp al, 0xff
jne 0x436415
cmp byte [esi + 1], 0xfe
jne 0x436415
lea edx, [esi + 2]
push edx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x43647a
cmp al, 0xef
jne 0x436474
cmp byte [esi + 1], 0xbb
jne 0x436474
cmp byte [esi + 2], 0xbf
jne 0x436474
push ebx
push ebx
push 0xffffffffffffffff
lea edi, [esi + 3]
push edi
push ebx
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea ebp, [eax + 1]
xor ecx, ecx
mov eax, ebp
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00468318
add esp, 4
push ebp
mov ebx, eax
push ebx
push 0xffffffffffffffff
push edi
push 0
push 0xfde9
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
jmp 0x43647a
push esi
call fcn.00467a10
push esi
mov edi, eax
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x436497
push eax
call dword [sym.imp.MSVCR90.dll_fclose]
add esp, 4
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4364bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 4
Function at 0x447ee0
Capabilities:
Decode data using base64 via dword translation table

Disassembly:
mov edx, dword [esp + 4]
push ebp
push esi
xor eax, eax
xor ecx, ecx
xor esi, esi
mov ebp, edx
cmp byte [edx], al
je 0x447f7c
push ebx
push edi
mov edi, dword [esp + 0x18]
lea esp, [esp]
movsx edx, byte [ebp]
mov edx, dword [edx*4 + 0x4a3238]
cmp edx, 0xffffffff
je 0x447f73
cmp esi, 3
ja case.default.0x447f15
jmp dword [esi*4 + 0x447f80]
mov esi, 1
jmp case.default.0x447f15
cmp eax, dword [esp + 0x1c]
jge 0x447f3b
mov ebx, edx
sar ebx, 4
add cl, cl
and bl, 3
add cl, cl
or bl, cl
mov byte [eax + edi], bl
inc eax
mov esi, 2
jmp case.default.0x447f15
cmp eax, dword [esp + 0x1c]
jge 0x447f59
mov ebx, edx
sar ebx, 2
and bl, 0xf
shl cl, 4
or bl, cl
mov byte [eax + edi], bl
inc eax
mov esi, 3
jmp case.default.0x447f15
cmp eax, dword [esp + 0x1c]
jge 0x447f6f
shl cl, 6
or cl, dl
mov byte [eax + edi], cl
inc eax
xor esi, esi
mov ecx, edx
inc ebp
cmp byte [ebp], 0
jne 0x447f00
pop edi
pop ebx
pop esi
pop ebp
ret

Function at 0x44cac0
Capabilities:
Get disk information

Disassembly:
sub esp, 0x204
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x200], eax
mov ecx, dword [ecx + 4]
push 0
push 0
push 0
push 0
push 0
push 0x1fe
lea eax, [esp + 0x18]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
mov ecx, dword [esp + 0x200]
xor ecx, esp
call fcn.004764f6
add esp, 0x204
ret

Function at 0x44cd20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x47cbb0
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x218]
mov dword fs:[0], eax
mov esi, dword [esp + 0x228]
mov dword [esp + 8], 0
mov ecx, dword [ecx + 8]
mov edx, dword [esp + 0x22c]
push ecx
mov ecx, dword [esp + 0x234]
push 0x208
lea eax, [esp + 0x14]
push eax
push 0
push ecx
push edx
mov dword [esp + 0x238], 1
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call fcn.00406310
mov eax, dword [esp + 0x22c]
add eax, 0xfffffff0
mov byte [esp + 0x220], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cdcf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x230]
add eax, 0xfffffff0
mov dword [esp + 0x220], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44cdfd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x218]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004764f6
add esp, 0x21c
ret 0xc
Function at 0x44e450
Capabilities:
Check os version

Disassembly:
sub esp, 0x128
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x124], eax
push ebx
push ebp
push esi
push str.IsWow64Process
xor ebx, ebx
push str.kernel32
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, ebx
je 0x44e498
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call esi
push edi
lea ecx, [esp + 0x20]
push ecx
mov dword [esp + 0x24], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x28]
mov edi, dword [esp + 0x24]
mov edx, 1
cmp eax, edx
jne 0x44e574
cmp edi, 4
jne 0x44e574
cmp ecx, ebx
jne 0x44e574
mov dword [esp + 0x1c], edx
mov dword [esp + 0x10], ebx
cmp eax, edx
jne 0x44e596
cmp edi, 4
jne 0x44e596
cmp ecx, 0x5a
jne 0x44e596
mov dword [esp + 0x18], edx
xor ebp, ebp
cmp eax, 2
jne 0x44e516
cmp edi, 4
jne 0x44e5b7
cmp ecx, ebx
jne 0x44e5b7
mov ebx, edx
xor esi, esi
cmp eax, 2
jne 0x44e52a
cmp edi, 5
jne 0x44e52a
cmp ecx, edx
je 0x44e5d8
xor edx, edx
cmp eax, 2
jne 0x44e5d8
cmp edi, 5
jne 0x44e5d8
cmp ecx, eax
jne 0x44e5d8
lea ecx, [edx + 1]
xor eax, eax
cmp dword [esp + 0x14], 0
pop edi
je 0x44e5f4
pop esi
pop ebp
mov eax, 0xb
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
mov dword [esp + 0x1c], ebx
cmp eax, edx
jne 0x44e4da
cmp edi, 4
jne 0x44e4da
cmp ecx, 0xa
jne 0x44e4da
mov dword [esp + 0x10], edx
mov dword [esp + 0x18], ebx
cmp eax, 2
jne 0x44e4fc
cmp edi, 3
jne 0x44e4fc
cmp ecx, 0x33
jne 0x44e4fc
mov ebp, edx
cmp eax, 2
jne 0x44e516
cmp edi, 5
jne 0x44e516
test ecx, ecx
jne 0x44e516
mov esi, edx
jmp 0x44e52a
xor ecx, ecx
cmp eax, 2
jne 0x44e549
cmp edi, 6
jne 0x44e549
lea eax, [ecx + 1]
jmp 0x44e54b
cmp dword [esp + 0x18], 0
je 0x44e618
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
cmp dword [esp + 0xc], 0
je 0x44e63c
pop esi
pop ebp
mov eax, 2
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
cmp dword [esp + 0x14], 0
je 0x44e660
pop esi
pop ebp
mov eax, 3
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
test ebp, ebp
je 0x44e681
pop esi
pop ebp
mov eax, 4
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
test ebx, ebx
je 0x44e6a2
pop esi
pop ebp
mov eax, 5
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
test esi, esi
je 0x44e6c3
pop esi
pop ebp
mov eax, 6
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
test edx, edx
je 0x44e6e4
pop esi
pop ebp
mov eax, 7
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
test ecx, ecx
je 0x44e705
pop esi
pop ebp
mov eax, 8
pop ebx
mov ecx, dword [esp + 0x124]
xor ecx, esp
call fcn.004764f6
add esp, 0x128
ret
mov ecx, dword [esp + 0x130]
neg eax
pop esi
sbb eax, eax
pop ebp
and eax, 3
pop ebx
xor ecx, esp
add eax, 7
call fcn.004764f6
add esp, 0x128
ret
Function at 0x44f680
Capabilities:
Delete file
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x47cf1b
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x4a6eb0]
xor eax, esp
mov dword [esp + 0x414], eax
push ebx
push esi
push edi
mov eax, dword [0x4a6eb0]
xor eax, esp
push eax
lea eax, [esp + 0x428]
mov dword fs:[0], eax
mov esi, dword [esp + 0x438]
mov edi, dword [esp + 0x43c]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x226]
push ecx
mov word [esp + 0x228], ax
call sub.MSVCR90.dll_memset
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x2a]
push eax
mov word [esp + 0x2c], dx
call sub.MSVCR90.dll_memset
add esp, 0x18
mov dword [esp + 0x10], 0
mov ebx, dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [esp + 0x430], 0
test esi, esi
je 0x44f7ef
test edi, edi
je 0x44f7ef
lea ecx, [esp + 0x21c]
push ecx
push 0x104
mov dword [edi], 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jne 0x44f772
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, 0xffff0000
jne 0x44f7f4
test esi, esi
jle 0x44f7f4
and esi, 0xffff
or esi, 0x80070000
jmp 0x44f7f4
lea edx, [esp + 0x14]
push edx
push 0
push str.DeviceIcon
lea eax, [esp + 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
jne 0x44f7b2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, 0xffff0000
jne 0x44f7f4
test esi, esi
jle 0x44f7f4
and esi, 0xffff
or esi, 0x80070000
jmp 0x44f7f4
mov ecx, dword [esi]
mov eax, dword [ecx]
lea edx, [esp + 0x10]
push edx
push 0x48c644
push esi
call eax
mov esi, eax
test esi, esi
jl 0x44f7f4
mov eax, dword [esp + 0x10]
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x1c]
push edx
push 5
push eax
mov eax, dword [ecx + 0x18]
call eax
mov esi, eax
test esi, esi
jl 0x44f7f4
lea ecx, [esp + 0x14]
push ecx
call ebx
jmp 0x44f7f4
mov esi, 0x80070057
cmp word [esp + 0x21c], 0
je 0x44f806
lea edx, [esp + 0x14]
push edx
call ebx
mov eax, dword [esp + 0x10]
mov dword [esp + 0x430], 0xffffffff
test eax, eax
je 0x44f821
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x428]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004764f6
add esp, 0x424
ret

Function at 0x450140
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
ret