joyce8/EMBER2024-capa huggingface dataset:
Function at 0x423030
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x482378
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x24], eax
push ebx
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x38]
mov dword fs:[0], eax
mov edi, dword [esp + 0x48]
mov ebx, dword [esp + 0x4c]
mov esi, ecx
lea ecx, [esp + 0x13]
call fcn.00422ed0
mov dword [esp + 0x40], 0
add esi, 0x20c
push esi
push 0x20
lea eax, [esp + 0x1c]
push eax
push 0x48a0f8
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
test eax, eax
jle 0x4230bf
lea ecx, [esp + 0x14]
push ecx
call fcn.0045e945
add esp, 4
mov esi, eax
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x13]
call fcn.00422ef0
mov eax, esi
jmp 0x4230d4
mov dword [esp + 0x40], 0xffffffff
lea ecx, [esp + 0x13]
call fcn.00422ef0
mov eax, dword [esp + 0x50]
mov ecx, dword [esp + 0x38]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x24]
xor ecx, esp
call fcn.0045e17e
add esp, 0x34
ret 0xc

Function at 0x423240
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4823db
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x22c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x23c]
mov esi, dword [esp + 0x240]
mov edi, dword [esp + 0x248]
mov ebp, ecx
mov ecx, dword [esp + 0x244]
mov dword [esp + 0x1c], ecx
lea ecx, [esp + 0x17]
mov dword [esp + 0x18], eax
call fcn.00422ed0
mov dword [esp + 0x234], 0
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.UI_Text_CHINESE
lea edx, [esp + 0x24]
push edx
call ebx
push str.2052
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4232e3
push str.UI_Text_CHINESE
lea eax, [esp + 0x24]
push eax
jmp 0x4232fd
push str.1033
push edi
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x4232ff
push str.UI_Text_ENGLISH
lea ecx, [esp + 0x24]
push ecx
call ebx
add ebp, 4
push ebp
lea edx, [esp + 0x128]
push edx
call ebx
push str.RTSUI.Ini
lea eax, [esp + 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x124]
push ecx
push 0x104
push esi
push edx
push eax
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x5c
push esi
mov edi, eax
call fcn.00460f20
add esp, 8
test eax, eax
je 0x423372
cmp byte [eax + 1], 0x6e
lea ecx, [eax + 1]
jne 0x423363
mov byte [eax], 0xd
mov byte [ecx], 0xa
push 0x5c
push ecx
call fcn.00460f20
add esp, 8
test eax, eax
jne 0x423354
mov dword [esp + 0x234], 0xffffffff
lea ecx, [esp + 0x17]
call fcn.00422ef0
mov eax, edi
mov ecx, dword [esp + 0x22c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0045e17e
add esp, 0x224
ret 0x10
Function at 0x4233e0
Capabilities:
Accept command line arguments
Get common file path

Disassembly:
sub esp, 0x108
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x104], eax
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov esi, ecx
push 0x48a0f8
lea eax, [esi + 0x20c]
push eax
mov dword [esi], vtable.ProgramConfig.0
call edi
push 0x48a0f8
lea ebx, [esi + 4]
push ebx
call edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push eax
lea ecx, [esp + 0x10]
push ecx
call edi
lea edx, [esp + 0xc]
push 0x5c
push edx
call fcn.0045f020
add esp, 8
test eax, eax
jne 0x423459
push ebx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push 0x48b9c4
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatA]
jmp 0x42346f
mov byte [eax + 1], 0
xor eax, eax
cmp byte [esp + 0xc], 0x22
sete al
lea ecx, [esp + eax + 0xc]
push ecx
push ebx
call edi
mov ecx, dword [esp + 0x110]
pop edi
mov eax, esi
pop esi
pop ebx
xor ecx, esp
call fcn.0045e17e
add esp, 0x108
ret
Function at 0x423750
Capabilities:
Get proxy
Query or enumerate registry value

Disassembly:
sub esp, 0x10
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionInternet_Settings
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x42386c
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 8]
push ecx
push eax
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x14]
push str.ProxyEnable
push eax
call esi
test eax, eax
je 0x4237ad
mov ecx, dword [esp + 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
mov eax, 4
cmp dword [esp + 0xc], eax
jne 0x423919
cmp dword [esp + 8], eax
jne 0x423919
lea edx, [esp + 8]
push edx
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push ecx
push 0
push str.ProxyEnable
push edx
call esi
test eax, eax
jne 0x423815
cmp dword [esp + 0x10], eax
mov ecx, dword [esp + 4]
je 0x4237a1
lea edx, [esp + 8]
push edx
push eax
lea eax, [esp + 0x14]
push eax
push 0
push str.ProxyServer
push ecx
call esi
test eax, eax
jne 0x423919
cmp dword [esp + 0xc], 1
je 0x423825
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
mov ecx, dword [esp + 8]
push ebp
push ecx
call fcn.00449db2
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x42386a
mov ecx, dword [esp + 8]
lea edx, [esp + 0xc]
push edx
push ebp
lea eax, [esp + 0x18]
push eax
push 0
push str.ProxyServer
push ecx
call esi
test eax, eax
je 0x423870
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00449db7
add esp, 4
pop ebp
pop esi
add esp, 0x10
ret
push str.http
push ebp
call fcn.0045f4e0
mov esi, eax
add esp, 8
test esi, esi
jne 0x42389a
push 0x4918fc
push ebp
call fcn.0045f4e0
add esp, 8
test eax, eax
jne 0x4238ff
mov esi, ebp
jmp 0x42389d
add esi, 5
test esi, esi
je 0x4238ff
push 0x48ed48
push esi
call fcn.0045f4e0
add esp, 8
test eax, eax
je 0x4238b6
mov byte [eax], 0
push edi
push 0x4917b4
push esi
call fcn.0045f4e0
mov edi, eax
add esp, 8
test edi, edi
je 0x4238e1
lea eax, [edi + 1]
push eax
call fcn.0045e945
mov dword [0x4b5d3c], eax
add esp, 4
mov byte [edi], 0
jmp 0x4238eb
mov dword [0x4b5d3c], 0x50
push esi
push 0x4b5cfa
mov byte [0x4b5cf0], 1
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
pop edi
push ebp
call fcn.00449db7
mov ecx, dword [esp + 0xc]
add esp, 4
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebp
pop esi
add esp, 0x10
ret
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
add esp, 0x10
ret
Function at 0x423bc0
Capabilities:
Inspect load icon resource
Print debug messages

Disassembly:
push esi
mov esi, ecx
call fcn.0044d979
cmp eax, 0xffffffff
je 0x423be1
cmp dword [esi + 0x304], 0
jne 0x423be8
push str.CTrayDlgEx::OnCreate___m_uMenuId__0
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
or eax, 0xffffffff
pop esi
ret 4
push edi
call fcn.0044b354
mov eax, dword [eax + 0xc]
push 0x64
push eax
call dword [sym.imp.USER32.dll_LoadIconA]
mov ecx, dword [esi + 0x30c]
mov edx, dword [esi + 0x308]
push 0x14
push 2
push 0x48a0f8
push ecx
mov ecx, dword [esi + 0x304]
push 0
push ecx
push eax
push edx
push 0x800a
lea edi, [esi + 0x74]
push 0
mov ecx, edi
call fcn.00435a30
test eax, eax
jne 0x423c43
push str.CTrayDlgEx::OnCreate____m_TrayIcon.Create
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
pop edi
or eax, 0xffffffff
pop esi
ret 4
push 0
push 0x800b
mov ecx, edi
call fcn.00435ca0
pop edi
xor eax, eax
pop esi
ret 4
Function at 0x427020
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x48315c
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0x12
lea ecx, [esi + 0x50]
call fcn.00401ab0
mov byte [esp + 0x14], 0x11
lea ecx, [esi + 0x4c]
call fcn.00401ab0
mov byte [esp + 0x14], 0x10
lea ecx, [esi + 0x48]
call fcn.00401ab0
mov byte [esp + 0x14], 0xf
lea ecx, [esi + 0x44]
call fcn.00401ab0
mov byte [esp + 0x14], 0xe
lea ecx, [esi + 0x40]
call fcn.00401ab0
mov byte [esp + 0x14], 0xd
lea ecx, [esi + 0x3c]
call fcn.00401ab0
mov byte [esp + 0x14], 0xc
lea ecx, [esi + 0x38]
call fcn.00401ab0
mov byte [esp + 0x14], 0xb
lea ecx, [esi + 0x34]
call fcn.00401ab0
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0x30]
call fcn.00401ab0
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x2c]
call fcn.00401ab0
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x28]
call fcn.00401ab0
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x24]
call fcn.00401ab0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x20]
call fcn.00401ab0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x1c]
call fcn.00401ab0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x18]
call fcn.00401ab0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x14]
call fcn.00401ab0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x10]
call fcn.00401ab0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0xc]
call fcn.00401ab0
mov byte [esp + 0x14], 0
lea ecx, [esi + 8]
call fcn.00401ab0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 4]
call fcn.00401ab0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x427460
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x483449
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0x12
lea ecx, [esi + 0x4c]
call fcn.00401ab0
mov byte [esp + 0x14], 0x11
lea ecx, [esi + 0x48]
call fcn.00401ab0
mov byte [esp + 0x14], 0x10
lea ecx, [esi + 0x44]
call fcn.00401ab0
mov byte [esp + 0x14], 0xf
lea ecx, [esi + 0x40]
call fcn.00401ab0
mov byte [esp + 0x14], 0xe
lea ecx, [esi + 0x3c]
call fcn.00401ab0
mov byte [esp + 0x14], 0xd
lea ecx, [esi + 0x38]
call fcn.00401ab0
mov byte [esp + 0x14], 0xc
lea ecx, [esi + 0x34]
call fcn.00401ab0
mov byte [esp + 0x14], 0xb
lea ecx, [esi + 0x30]
call fcn.00401ab0
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0x2c]
call fcn.00401ab0
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x28]
call fcn.00401ab0
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x24]
call fcn.00401ab0
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x20]
call fcn.00401ab0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x1c]
call fcn.00401ab0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x18]
call fcn.00401ab0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x14]
call fcn.00401ab0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x10]
call fcn.00401ab0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0xc]
call fcn.00401ab0
mov byte [esp + 0x14], 1
lea ecx, [esi + 8]
call fcn.00401ab0
mov byte [esp + 0x14], 0
lea ecx, [esi + 4]
call fcn.00401ab0
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00401ab0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x427820
Capabilities:
Access peb ldr_data
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x483692
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0xd
lea ecx, [esi + 0x3c]
call fcn.00401ab0
mov byte [esp + 0x14], 0xc
lea ecx, [esi + 0x38]
call fcn.00401ab0
mov byte [esp + 0x14], 0xb
lea ecx, [esi + 0x30]
call fcn.00401ab0
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0x2c]
call fcn.00401ab0
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x28]
call fcn.00401ab0
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x24]
call fcn.00401ab0
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x20]
call fcn.00401ab0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x1c]
call fcn.00401ab0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x18]
call fcn.00401ab0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x14]
call fcn.00401ab0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x10]
call fcn.00401ab0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0xc]
call fcn.00401ab0
mov byte [esp + 0x14], 1
lea ecx, [esi + 8]
call fcn.00401ab0
mov byte [esp + 0x14], 0
lea ecx, [esi + 4]
call fcn.00401ab0
mov dword [esp + 0x14], 0xffffffff
mov ecx, esi
call fcn.00401ab0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x427a30
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get number of processors
Get process heap flags
Get process heap force flags

Disassembly:
push 0xffffffffffffffff
push 0x4838a0
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], esi
mov dword [esp + 0x14], 0x1c
lea ecx, [esi + 0x84]
call fcn.00401ab0
mov byte [esp + 0x14], 0x1b
lea ecx, [esi + 0x80]
call fcn.00401ab0
mov byte [esp + 0x14], 0x1a
lea ecx, [esi + 0x7c]
call fcn.00401ab0
mov byte [esp + 0x14], 0x19
lea ecx, [esi + 0x74]
call fcn.00401ab0
mov byte [esp + 0x14], 0x18
lea ecx, [esi + 0x70]
call fcn.00401ab0
mov byte [esp + 0x14], 0x17
lea ecx, [esi + 0x6c]
call fcn.00401ab0
mov byte [esp + 0x14], 0x16
lea ecx, [esi + 0x68]
call fcn.00401ab0
mov byte [esp + 0x14], 0x15
lea ecx, [esi + 0x64]
call fcn.00401ab0
mov byte [esp + 0x14], 0x14
lea ecx, [esi + 0x60]
call fcn.00401ab0
mov byte [esp + 0x14], 0x13
lea ecx, [esi + 0x5c]
call fcn.00401ab0
mov byte [esp + 0x14], 0x12
lea ecx, [esi + 0x58]
call fcn.00401ab0
mov byte [esp + 0x14], 0x11
lea ecx, [esi + 0x54]
call fcn.00401ab0
mov byte [esp + 0x14], 0x10
lea ecx, [esi + 0x50]
call fcn.00401ab0
mov byte [esp + 0x14], 0xf
lea ecx, [esi + 0x4c]
call fcn.00401ab0
mov byte [esp + 0x14], 0xe
lea ecx, [esi + 0x48]
call fcn.00401ab0
mov byte [esp + 0x14], 0xd
lea ecx, [esi + 0x44]
call fcn.00401ab0
mov byte [esp + 0x14], 0xc
lea ecx, [esi + 0x40]
call fcn.00401ab0
mov byte [esp + 0x14], 0xb
lea ecx, [esi + 0x3c]
call fcn.00401ab0
mov byte [esp + 0x14], 0xa
lea ecx, [esi + 0x38]
call fcn.00401ab0
mov byte [esp + 0x14], 9
lea ecx, [esi + 0x34]
call fcn.00401ab0
mov byte [esp + 0x14], 8
lea ecx, [esi + 0x30]
call fcn.00401ab0
mov byte [esp + 0x14], 7
lea ecx, [esi + 0x2c]
call fcn.00401ab0
mov byte [esp + 0x14], 6
lea ecx, [esi + 0x28]
call fcn.00401ab0
mov byte [esp + 0x14], 5
lea ecx, [esi + 0x24]
call fcn.00401ab0
mov byte [esp + 0x14], 4
lea ecx, [esi + 0x20]
call fcn.00401ab0
mov byte [esp + 0x14], 3
lea ecx, [esi + 0x14]
call fcn.00401ab0
mov byte [esp + 0x14], 2
lea ecx, [esi + 0x10]
call fcn.00401ab0
mov byte [esp + 0x14], 1
lea ecx, [esi + 0xc]
call fcn.00401ab0
mov byte [esp + 0x14], 0
lea ecx, [esi + 8]
call fcn.00401ab0
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esi + 4]
call fcn.00401ab0
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
Function at 0x4302f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x484f28
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x4b445c]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0
lea ecx, [esp + 0x14]
call fcn.0047afc5
mov dword [esp + 0x28], 0
mov edi, dword [0x4baddc]
mov ecx, 0x4bade0
mov dword [esp + 0xc], edi
call fcn.0041c100
mov esi, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax]
cmp esi, dword [eax + 0xc]
jae 0x43036b
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + esi*4]
test ecx, ecx
jne 0x43036f
cmp byte [eax + 0x14], 0
je 0x43036f
call fcn.0047b053
cmp esi, dword [eax + 0xc]
jae 0x430375
mov edx, dword [eax + 8]
mov esi, dword [edx + esi*4]
jmp 0x430371
xor ecx, ecx
jmp 0x430353
mov esi, ecx
test esi, esi
jne 0x4303c6
test edi, edi
je 0x43037d
mov esi, edi
jmp 0x4303c6
lea eax, [esp + 0xc]
push eax
call fcn.00430110
add esp, 4
cmp eax, 0xffffffff
jne 0x4303ac
push str.bad_cast
lea ecx, [esp + 0x18]
call fcn.0045f127
push 0x4a3ee0
lea ecx, [esp + 0x18]
push ecx
call fcn.0045f257
mov esi, dword [esp + 0xc]
mov ecx, esi
mov dword [0x4baddc], esi
call fcn.0041c180
push esi
call fcn.0047b121
add esp, 4
mov dword [esp + 0x28], 0xffffffff
lea ecx, [esp + 0x10]
call fcn.0047afe6
mov eax, esi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x20
ret
Function at 0x431140
Capabilities:
Encode data using base64

Disassembly:
push ecx
mov ecx, dword [esp + 0x10]
mov eax, 0x55555556
imul ecx
mov eax, edx
shr eax, 0x1f
add eax, edx
push ebx
lea edx, [eax + eax*2]
push esi
sub ecx, edx
push edi
xor edi, edi
xor ebx, ebx
test eax, eax
mov edx, ecx
mov dword [esp + 0xc], edx
jle 0x431235
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffffc
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push ebp
movzx dx, byte [ecx]
movzx esi, byte [ecx + 1]
add ecx, 1
movzx edx, dx
movzx ebp, si
movzx esi, byte [ecx + 1]
add ecx, 1
movzx esi, si
mov dword [esp + 0x1c], esi
movzx esi, dx
mov edx, esi
shr edx, 2
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
movzx ebp, bp
mov edx, ebp
shr edx, 4
shl esi, 4
or edx, esi
movzx esi, word [esp + 0x1c]
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax + 1], dl
add eax, 1
mov edx, esi
shr edx, 6
add ebp, ebp
add ebp, ebp
or edx, ebp
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add eax, 1
mov byte [eax], dl
and esi, 0x3f
movzx edx, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add eax, 1
mov byte [eax], dl
add ebx, 4
add ecx, 1
add eax, 1
add edi, 4
cmp ebx, dword [esp + 0x24]
jle 0x431223
mov byte [eax], 0xd
add eax, 1
mov byte [eax], 0xa
add eax, 1
xor ebx, ebx
add edi, 2
sub dword [esp + 0x20], 1
jne 0x431185
mov edx, dword [esp + 0x10]
pop ebp
jmp 0x43123d
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
cmp edx, 1
jne 0x431275
movzx cx, byte [ecx]
movzx ecx, cx
movzx ecx, cx
mov edx, ecx
shr edx, 2
and edx, 0x3f
mov dl, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and ecx, 3
mov byte [eax], dl
shl ecx, 4
mov cl, byte [ecx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add eax, 1
mov byte [eax], cl
add eax, 1
mov byte [eax], 0x3d
jmp 0x4312cb
cmp edx, 2
jne 0x4312d7
movzx dx, byte [ecx]
movzx cx, byte [ecx + 1]
movzx edx, dx
movzx esi, cx
movzx ecx, dx
mov edx, ecx
shr edx, 2
and edx, 0x3f
movzx edx, byte [edx + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
movzx edx, si
mov esi, edx
shr esi, 4
and ecx, 3
shl ecx, 4
and esi, 0xf
or esi, ecx
mov cl, byte [esi + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
add eax, 1
mov byte [eax], cl
add eax, 1
and edx, 0xf
movzx edx, byte [edx*4 + str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov byte [eax], dl
add eax, 1
mov byte [eax], 0x3d
add eax, 1
add edi, 4
mov byte [eax], 0
mov eax, edi
pop edi
pop esi
pop ebx
pop ecx
ret 0x10
Function at 0x4313d0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40c
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x408], eax
push ebx
push esi
mov esi, dword [esp + 0x420]
push edi
push 0x400
lea eax, [esp + 0x18]
push 0
push eax
mov edi, ecx
mov dword [esp + 0x18], esi
call fcn.0045eb50
mov ebx, dword [esp + 0x42c]
add esp, 0xc
xor ecx, ecx
test ebx, ebx
jle 0x431451
mov eax, dword [esp + 0x41c]
lea edx, [esp + 0x14]
sub eax, edx
push ebp
mov ebp, dword [edi + 0x400]
mov dword [esp + 0x14], eax
lea ecx, [ecx]
mov eax, ecx
cdq
idiv ebp
lea esi, [esp + ecx + 0x18]
add ecx, 1
mov al, byte [edx + edi]
mov edx, dword [esp + 0x14]
xor al, byte [edx + esi]
cmp ecx, ebx
mov byte [esi], al
jl 0x431430
mov esi, dword [esp + 0x10]
pop ebp
push 0x400
push ebx
push esi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00431140
xor ecx, ecx
test eax, eax
jle 0x431481
lea ebx, [ebx]
cmp byte [esi + ecx], 0x3d
jne 0x43147a
mov byte [esi + ecx], 0x40
add ecx, 1
cmp ecx, eax
jl 0x431470
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045e17e
add esp, 0x40c
ret 0xc

Function at 0x4314a0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x808
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x804], eax
mov eax, dword [esp + 0x814]
push ebx
mov ebx, dword [esp + 0x810]
push esi
push edi
push 0x400
mov edi, ecx
lea ecx, [esp + 0x14]
push 0
push ecx
mov dword [esp + 0x18], eax
call fcn.0045eb50
mov esi, dword [esp + 0x828]
push esi
lea edx, [esp + 0x20]
push ebx
push edx
call fcn.00461260
add esp, 0x18
xor eax, eax
test esi, esi
jle 0x43150b
cmp byte [esp + eax + 0x10], 0x40
jne 0x431504
mov byte [esp + eax + 0x10], 0x3d
add eax, 1
cmp eax, esi
jl 0x4314f8
push esi
lea eax, [esp + 0x414]
push eax
lea ecx, [esp + 0x18]
push ecx
mov ecx, edi
call fcn.004312f0
mov ebx, eax
xor ecx, ecx
test ebx, ebx
jle 0x431554
push ebp
lea ebp, [esp + 0x414]
sub ebp, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
lea esi, [edx + ecx]
mov eax, ecx
cdq
idiv dword [edi + 0x400]
add ecx, 1
mov al, byte [edx + edi]
xor al, byte [esi + ebp]
cmp ecx, ebx
mov byte [esi], al
jl 0x431534
pop ebp
mov ecx, dword [esp + 0x810]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.0045e17e
add esp, 0x808
ret 0xc
Function at 0x432310
Capabilities:
Check os version

Disassembly:
sub esp, 0x98
mov eax, dword [0x4b445c]
xor eax, esp
mov dword [esp + 0x94], eax
lea eax, [esp]
push eax
mov dword [esp + 4], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
jne 0x43234f
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret
cmp dword [esp + 0x10], 1
mov eax, dword [esp + 4]
jne 0x43239c
cmp eax, 4
ja 0x432382
jne 0x432368
cmp dword [esp + 8], 0
ja 0x432382
mov eax, 0xb
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret
mov eax, 0xa
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret
cmp eax, 4
ja 0x4323bb
mov eax, 0x15
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret
xor ecx, ecx
cmp eax, 5
setne cl
lea ecx, [ecx + ecx + 0x14]
mov eax, ecx
mov ecx, dword [esp + 0x94]
xor ecx, esp
call fcn.0045e17e
add esp, 0x98
ret
Function at 0x432820
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x104]
sub esp, 0x104
push 0xffffffffffffffff
push 0x4853b0
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x4b445c]
xor eax, ebp
mov dword [ebp + 0x100], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, 1
mov dword [ebp - 0x14], esi
xor ebx, ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x18]
push eax
push esi
push ebx
push str.Control_PanelDesktop
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
cmp eax, ebx
jne 0x4328cd
mov word [ebp], bx
push 0xfe
push ebx
lea ecx, [ebp + 2]
push ecx
call fcn.0045eb50
add esp, 0xc
mov dword [ebp - 0x20], esi
mov dword [ebp - 0x1c], 0x100
lea edx, [ebp - 0x1c]
push edx
lea eax, [ebp]
push eax
lea ecx, [ebp - 0x20]
push ecx
push ebx
push str.ScreenSaveActive
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
cmp eax, ebx
je 0x4328d1
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x4328f1
mov edi, 0x4903c4
lea esi, [ebp]
mov ecx, 2
xor edx, edx
repe cmpsb byte [esi], byte es:[edi]
je 0x4328e7
mov dword [ebp - 0x14], ebx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x100]
xor ecx, ebp
call fcn.0045e17e
add ebp, 0x104
mov esp, ebp
pop ebp
ret