joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40359b
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x50254c]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x210], 2
mov edi, str.runas
jl 0x4035e0
push edi
push dword [eax + 4]
call fcn.004944db
pop ecx
pop ecx
test eax, eax
je 0x403613
push 0x104
lea eax, [ebp - 0x20c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 1
push 0
push edi
lea ecx, [ebp - 0x20c]
push ecx
push edi
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jbe 0x403613
xor eax, eax
inc eax
jmp 0x403615
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0048f693
leave
ret
Function at 0x406622
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4b5b4a
call fcn.0048f6d3
mov edi, ecx
mov eax, dword [0x50518c]
mov esi, 0x505188
mov ebx, dword [sym.imp.WINMM.dll_mciSendCommandW]
test eax, eax
je 0x406681
push esi
push 2
push 0x808
push eax
call ebx
push esi
push 2
push 0x804
push dword [0x50518c]
call ebx
and dword [0x50518c], 0
mov esi, eax
push 0xc
push 0
push 0x505188
call fcn.00490cd0
add esp, 0xc
test esi, esi
jne 0x406747
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push 5
push eax
call fcn.0040353f
and dword [ebp - 4], 0
mov ecx, eax
call fcn.004075ba
push str..OPUS
push dword [eax]
call fcn.004944db
pop ecx
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401fe9
test esi, esi
jne 0x406717
lea ecx, [ebp - 0x10]
call fcn.004026b1
mov dword [ebp - 4], 2
lea esi, [edi + 0x786c]
push dword [esi]
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0x10]
push dword [edi + 0x7310]
push str.__s____s____s_
push eax
call fcn.00402a35
push 1
push dword [ebp - 0x10]
call fcn.004074bf
add esp, 0x1c
mov ecx, edi
push esi
call fcn.00406622
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401fe9
mov eax, esi
jmp 0x406749
mov esi, dword [ebp + 8]
push 0x4c5940
push dword [esi]
call fcn.004944db
pop ecx
pop ecx
push 0x505188
test eax, eax
jne 0x406751
push eax
push 0x804
push dword [0x50518c]
call ebx
test eax, eax
je 0x4067f6
xor eax, eax
call fcn.0048f6a1
ret 4
push 0x2200
push 0x803
mov dword [0x505190], 0x4c9428
mov eax, dword [esi]
push 0
mov dword [0x505194], eax
call ebx
test eax, eax
jne 0x406747
push dword [edi + 0xd4]
push 0x50
push str.AlertSoundVolume
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov edx, eax
test edx, edx
js 0x406797
cmp edx, 0x64
jle 0x40679a
push 0x50
pop edx
push 6
pop ecx
xor eax, eax
lea edi, [ebp - 0x28]
rep stosd dword es:[edi], eax
imul eax, edx, 0xa
mov dword [ebp - 0x24], 0x4002
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x28]
push eax
push 0x1800000
push 0x873
push dword [0x50518c]
call ebx
push 0x5051a8
push 0x100
push 0x807
push dword [0x50518c]
call ebx
test eax, eax
jne 0x406747
push 0x50519c
push eax
push 0x806
jmp 0x406737
xor eax, eax
inc eax
jmp 0x406749
Function at 0x4067fe
Capabilities:
Extract resource via kernel32 functions
Write file on windows

Disassembly:
push 8
mov eax, 0x4b5b94
call fcn.0048f6d3
mov esi, ecx
cmp dword [ebp + 0xc], 1
je 0x406985
xor ebx, ebx
cmp dword [ebp + 8], 0x3e8
je 0x406829
cmp dword [esi + 0x7770], ebx
je 0x40689d
mov eax, dword [0x505184]
test eax, eax
je 0x40699f
add eax, 0xfffffda8
cmp eax, 0xc7
ja 0x4068a4
lea edi, [esi + 0x7314]
push dword [edi]
call fcn.0043f1b7
pop ecx
test eax, eax
je 0x4068a4
cmp dword [ebp + 0xc], 3
jne 0x40688d
push 0x4c5940
lea ecx, [ebp + 0xc]
call fcn.004012a3
mov dword [ebp - 4], ebx
lea eax, [ebp + 0xc]
push eax
mov ecx, esi
call fcn.00406622
mov esi, eax
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
mov eax, esi
jmp 0x4069a2
push edi
mov ecx, esi
call fcn.00406622
test eax, eax
jne 0x40697d
xor eax, eax
jmp 0x4069a2
lea ecx, [ebp + 0xc]
call fcn.004026b1
mov dword [ebp - 4], 2
mov edi, 0x4c93d4
push edi
call fcn.00494153
pop ecx
push eax
push edi
lea ecx, [ebp + 0xc]
call fcn.00402053
push str.OPUS
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x10], eax
test eax, eax
je 0x406946
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x406946
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 0x14], eax
test eax, eax
je 0x406946
xor eax, eax
mov dword [ebp + 8], ebx
push eax
push 2
push 2
push eax
push eax
push 0x40000000
lea ebx, [esi + 0x7870]
push dword [ebx]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x406960
push 0
lea eax, [ebp + 8]
push eax
push dword [ebp - 0x10]
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push eax
push dword [ebp - 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push edi
test eax, eax
jne 0x40695a
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
jmp 0x40689d
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebx
mov ecx, esi
call fcn.00406622
test eax, eax
je 0x406946
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.00401fe9
xor ebx, ebx
mov dword [0x505184], ebx
jmp 0x40699f
mov eax, dword [ebp + 8]
test eax, eax
je 0x40699a
mov ecx, dword [0x505184]
test ecx, ecx
je 0x40699a
cmp ecx, eax
jbe 0x40699f
mov dword [0x505184], eax
xor eax, eax
inc eax
call fcn.0048f6a1
ret 8
Function at 0x4074bf
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
push 0x44
pop esi
push esi
xor edi, edi
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.00490cd0
mov dword [ebp - 0x58], esi
add esp, 0xc
xor esi, esi
inc esi
cmp dword [ebp + 0xc], edi
je 0x4074ee
xor eax, eax
mov dword [ebp - 0x2c], esi
mov word [ebp - 0x28], ax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push edi
push edi
push edi
push edi
push edi
push edi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
cmp eax, esi
je 0x40750e
xor eax, eax
jmp 0x407544
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
push 0xffffffffffffffff
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x10]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x14]
call esi
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret

Function at 0x408fd1
Capabilities:
Create process on windows
Get hostname

Disassembly:
push 0x34
mov eax, 0x4b5fce
call fcn.0048f706
mov esi, ecx
mov dword [ebp - 4], 1
xor ebx, ebx
cmp dword [esi + 0x773c], ebx
je 0x4090cd
mov eax, dword [esi + 0x730c]
cmp dword [eax - 0xc], ebx
je 0x4090cd
lea eax, [ebp - 0x40]
mov dword [ebp - 0x40], 0x10
push eax
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea ecx, [ebp - 0x3c]
call fcn.004026b1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x38]
call fcn.004026b1
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x34]
call fcn.004026b1
mov byte [ebp - 4], 6
lea eax, [ebp - 0x30]
push dword [ebp + 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x3c]
push str._CDI___s__s___d_
push eax
call fcn.00402a35
push dword [ebp + 0x10]
lea eax, [ebp - 0x30]
push dword [ebp + 8]
push dword [ebp + 0xc]
push eax
lea eax, [ebp - 0x38]
push str._s__s_r_n__d___s
push eax
call fcn.00402a35
push dword [ebp - 0x38]
lea eax, [ebp - 0x34]
push dword [ebp - 0x3c]
push str.Subject__s__Body__s_
push eax
call fcn.00402a35
add esp, 0x3c
push 5
push ebx
push dword [ebp - 0x34]
push dword [esi + 0x730c]
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
setg bl
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x34]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x38]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3c]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401fe9
mov eax, ebx
call fcn.0048f6b5
ret 0xc
Function at 0x4159ad
Capabilities:
Create process on windows
Delete registry value
Persist via run registry key

Disassembly:
push 0x60
mov eax, 0x4b71fc
call fcn.0048f6d3
xor esi, esi
push esi
push esi
push 6
call fcn.0043cb2e
add esp, 0xc
test eax, eax
je 0x415a5b
lea ecx, [ebp - 0x10]
call fcn.004026b1
mov dword [ebp - 4], esi
lea eax, [ebp - 0x68]
push 0x40
push esi
push eax
mov dword [ebp - 0x6c], 0x44
call fcn.00490cd0
xor eax, eax
mov dword [ebp - 0x40], 1
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push str.schtasks.exe__Delete__tn_CrystalDiskInfo__F
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov word [ebp - 0x3c], ax
lea eax, [ebp - 0x10]
push eax
call fcn.00402a35
add esp, 0x14
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x6c]
push eax
push esi
push esi
push esi
push esi
push esi
push esi
push dword [ebp - 0x10]
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0x3e8
push dword [ebp - 0x28]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x24]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x28]
call esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
jmp 0x415aa0
xor eax, eax
mov word [ebp - 0x10], ax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push 0xf003f
push esi
lea eax, [ebp - 0x10]
push eax
push esi
push str.SoftwareMicrosoftWindowsCurrentVersionRun
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x415aa0
push 0x4c69ac
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
call fcn.0048f6a1
ret

Function at 0x415dc1
Capabilities:
Read .ini file

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
xor ebx, ebx
push dword [edi + 0xd4]
push ebx
push 0x4cd264
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov ecx, edi
test eax, eax
jne 0x415df3
mov eax, dword [edi]
mov dword [edi + 0x1f8], ebx
call dword [eax + 0x6c]
push ebx
jmp 0x415e51
mov dword [edi + 0x1f8], 1
call fcn.00415e76
cmp dword [edi + 0x7758], ebx
je 0x415e41
mov ecx, edi
call fcn.00417615
test eax, eax
je 0x415e41
mov esi, dword [edi + 0x240]
mov ecx, ebx
test esi, esi
jle 0x415e48
lea edx, [edi + 0x7490]
cmp dword [edx], ebx
je 0x415e37
lea eax, [ecx + 0x9200]
mov dword [edi + 0xebc], eax
inc ecx
add edx, 4
cmp ecx, esi
jl 0x415e27
jmp 0x415e48
mov ecx, edi
call fcn.00415d53
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x6c]
push 8
mov esi, eax
push 0x804a
push dword [esi + 4]
call dword [sym.imp.USER32.dll_CheckMenuItem]
mov edx, dword [edi]
mov ecx, edi
push esi
call dword [edx + 0x70]
push dword [edi + 0x20]
call dword [sym.imp.USER32.dll_DrawMenuBar]
pop edi
pop esi
pop ebx
ret
Function at 0x425384
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x4ba204
call fcn.0048f6d3
mov ebx, ecx
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
call fcn.0046f43a
mov eax, dword [eax + 4]
push dword [eax + 0x104]
call fcn.0046f43a
push ecx
mov ecx, esp
mov dword [ebp - 0x14], esp
mov eax, dword [eax + 4]
add eax, 0xfc
push eax
call fcn.00401270
and dword [ebp - 4], 0
call fcn.0046f43a
mov eax, dword [eax + 4]
push dword [eax + 0x100]
call fcn.0046f43a
push ecx
mov ecx, esp
mov dword [ebp - 0x18], esp
mov eax, dword [eax + 4]
add eax, 0xf8
push eax
call fcn.00401270
mov byte [ebp - 4], 1
push 0x67
push 0x8d
or dword [ebp - 4], 0xffffffff
mov ecx, ebx
call fcn.004604d0
mov dword [ebp - 4], 2
lea edi, [ebx + 0x408]
mov ecx, edi
mov dword [ebx], vtable.CGraphDlg.0
mov dword [ebx + 0xa8], vtable.CGraphDlg.1.0
call fcn.004026b1
mov byte [ebp - 4], 3
lea eax, [ebx + 0x7e0]
push fcn.004015b8
push fcn.004026b1
push 0x50
pop esi
push esi
push 4
push eax
call fcn.0048f7fb
mov byte [ebp - 4], 4
lea eax, [ebx + 0xa6c]
push fcn.004015b8
push fcn.004026b1
push esi
push 4
push eax
call fcn.0048f7fb
mov byte [ebp - 4], 5
lea eax, [ebx + 0xbac]
push fcn.004015b8
push fcn.004026b1
push esi
push 4
push eax
call fcn.0048f7fb
mov byte [ebp - 4], 6
lea eax, [ebx + 0xcec]
push fcn.004015b8
push fcn.004026b1
push esi
push 4
push eax
call fcn.0048f7fb
mov byte [ebp - 4], 7
push fcn.004015b8
push fcn.004026b1
push esi
push 4
lea eax, [ebx + 0xe2c]
push eax
call fcn.0048f7fb
mov byte [ebp - 4], 8
lea ecx, [ebx + 0xf70]
call fcn.004026b1
mov byte [ebp - 4], 9
lea ecx, [ebx + 0xf74]
call fcn.004026b1
mov byte [ebp - 4], 0xa
lea ecx, [ebx + 0xf7c]
call fcn.004026b1
mov byte [ebp - 4], 0xb
lea ecx, [ebx + 0xf80]
call fcn.004026b1
mov byte [ebp - 4], 0xc
lea ecx, [ebp + 8]
call fcn.004026b1
mov byte [ebp - 4], 0xd
call fcn.0046f43a
call fcn.0046f43a
mov esi, dword [sym.imp.USER32.dll_LoadIconW]
push 0x80
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [ebx + 0xf84], eax
call fcn.0046f43a
call fcn.0046f43a
push 0x91
mov eax, dword [eax + 0xc]
push eax
call esi
mov dword [ebx + 0xf88], eax
call fcn.0046f43a
mov ecx, edi
mov eax, dword [eax + 4]
add eax, 0xd8
push eax
call fcn.00401717
call fcn.0046f43a
lea esi, [ebx + 0x198]
mov eax, dword [eax + 4]
push dword [eax + 0xe8]
push 0x104
push esi
call fcn.00499f89
add esp, 0xc
push esi
push 0
push str.SmartEnglish
push str.Setting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push dword [ebp + 0xc]
mov ecx, ebx
mov dword [ebx + 0x40c], eax
call fcn.00428c5c
mov ecx, ebx
call fcn.00460996
mov dword [ebx + 0x3a8], eax
mov byte [ebp - 4], 0xc
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov eax, ebx
call fcn.0048f6a1
ret 8
Function at 0x431172
Capabilities:
Contain obfuscated stackstrings

Disassembly:
mov byte [ebp - 0x84], bl
mov byte [ebp - 0x83], bl
mov byte [ebp - 0x82], 0xe9
mov byte [ebp - 0x81], bl
mov byte [ebp - 0x80], 0x51
mov byte [ebp - 0x7f], 0x73
mov byte [ebp - 0x7e], 0x62
mov byte [ebp - 0x7d], 0x5b
mov byte [ebp - 0x7c], 0x79
mov byte [ebp - 0x7b], 0x72
mov byte [ebp - 0x7a], 0x63
mov byte [ebp - 0x79], 0x7a
jp 0x43113a
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
jb 0x43114e
inc ebp
lea edi, [edx - 0x3a]
inc ebp
invalid
jae 0x431156
inc ebp
invalid
push edi
mov byte [ebp - 0x70], 0x16
call fcn.00430cb8
int 0xe6
jmp fcn.004311d2
invalid
jp 0x43113a
inc ebp
mov byte [ebx - 0x3a], dh
inc ebp
mov dword [esi - 0x3a], ebx
inc ebp
mov dh, byte [edi - 0x3a]
inc ebp
mov edi, dword [eax - 0x3a]
inc ebp
invalid
Function at 0x432e58
Capabilities:
Access peb ldr_data

Disassembly:
invalid
mov ebp, esp
add ebp, 0x24
push esp
call fcn.00430cb8
sbb byte [eax + ebp*8 - 0x4b], ah
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x1c]
lodsd eax, dword [esi]
cmp byte [eax + 0x1c], 0x18
je 0x432e7c
xchg esi, eax
lodsd eax, dword [esi]
mov eax, dword [eax + 8]
push eax
call fcn.00430cb8
push ecx
add byte [ebp - 0x740774e0], 0x47
cmp al, 0x8b
push esp
pop es
js 0x432e96
xlatb
mov ecx, dword [edx + 0x18]
mov ebx, dword [edx + 0x20]
add ebx, edi
sbb byte [ebx - 0x20fcdfa6], cl
call fcn.00430cb8
in al, dx
sub al, 0xdb
dec ecx
dec ecx
mov esi, dword [ebx + ecx*4]
add esi, edi
mov eax, 0x50746547
cmp dword [esi], eax
jne 0x432ea5
mov eax, 0x41636f72
cmp dword [esi + 4], eax
jne 0x432ea5
call fcn.00430cb8
mov dh, ch
pushal
jbe 0x432e53
pop edx
and al, 3
fbld tbyte [esi - 0x75]
or al, 0x4b
mov ebx, dword [edx + 0x1c]
add ebx, edi
mov eax, dword [ebx + ecx*4]
add eax, edi
push eax
call fcn.00430cb8
stosb byte es:[edi], al
dec eax
sub cl, ch
push dword [ebp + 8]
push dword [ebp + 4]
push dword [ebp]
call fcn.004314b8
test byte [ecx + 0x50560447], 0xe8
rcr ebp, cl
add eax, 0x10c48300
test ebx, ebx
jle 0x432f14
mov eax, dword [edi + 4]
lea ecx, [eax + esi*4]
call fcn.004026b1
inc esi
cmp esi, ebx
jl 0x432f04
mov eax, dword [ebp + 8]
mov dword [edi + 8], ebx
mov dword [edi + 0xc], eax
jmp 0x432ecb
Function at 0x435072
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bc9e4
mov eax, dword fs:[0]
push eax
sub esp, 0x44
push ebx
push esi
mov eax, dword [0x50254c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi], vtable.CDialogFx.0
mov dword [ebp - 4], 0x11
lea ecx, [esi + 0x1e8]
mov dword [ebp - 0x14], ecx
mov dword [ecx], vtable.CBrush.0
mov byte [ebp - 4], 0x11
call fcn.00430bd5
push 0x10
pop ebx
mov byte [ebp - 4], bl
lea ecx, [esi + 0x1b4]
call fcn.00430cda
mov byte [ebp - 4], 0xf
lea ecx, [esi + 0x1a4]
call fcn.0046f6d6
mov byte [ebp - 4], 0xe
lea ecx, [esi + 0x19c]
mov dword [ebp - 0x18], ecx
mov dword [ecx], vtable.CBitmap.0
mov byte [ebp - 4], 0xe
call fcn.00430bd5
mov byte [ebp - 4], 0xd
lea ecx, [esi + 0x198]
mov dword [ebp - 0x1c], ecx
mov byte [ebp - 4], 0xd
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 0xc
lea ecx, [esi + 0x194]
mov dword [ebp - 0x20], ecx
mov byte [ebp - 4], 0xc
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 0xb
lea ecx, [esi + 0x190]
mov dword [ebp - 0x24], ecx
mov byte [ebp - 4], 0xb
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 0xa
lea ecx, [esi + 0x18c]
mov dword [ebp - 0x28], ecx
mov byte [ebp - 4], 0xa
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 9
lea ecx, [esi + 0x188]
mov dword [ebp - 0x2c], ecx
mov byte [ebp - 4], 9
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 8
lea ecx, [esi + 0x184]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 8
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 7
lea ecx, [esi + 0x180]
mov dword [ebp - 0x34], ecx
mov byte [ebp - 4], 7
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 6
lea ecx, [esi + 0x17c]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 5
lea ecx, [esi + 0x178]
mov dword [ebp - 0x3c], ecx
mov byte [ebp - 4], 5
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 4
lea ecx, [esi + 0x174]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 4
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 3
lea ecx, [esi + 0x170]
mov dword [ebp - 0x44], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 2
lea ecx, [esi + 0x16c]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 1
lea ecx, [esi + 0xe0]
mov dword [ebp - 0x4c], ecx
mov byte [ebp - 4], 1
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
mov byte [ebp - 4], 0
lea ecx, [esi + 0xd4]
mov dword [ebp - 0x50], ecx
mov byte [ebp - 4], 0
mov ecx, dword [ecx]
sub ecx, ebx
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.0046a79a
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
leave
ret
Function at 0x4359e8
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x4bcaed
call fcn.0048f6d3
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, str.open
push 1
push ebx
push ebx
push dword [ebp + 8]
push edi
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jg 0x435a53
lea ecx, [ebp - 0x10]
call fcn.004026b1
mov byte [ebp - 4], 1
lea eax, [ebp - 0x10]
push dword [ebp + 8]
push str.url.dll_FileProtocolHandler__s
push eax
call fcn.00402a35
add esp, 0xc
push 1
push ebx
push dword [ebp - 0x10]
push str.rundll32.exe
push edi
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov byte [ebp - 4], bl
mov ecx, dword [ebp - 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
call fcn.0048f6a1
ret 4

Function at 0x4394c6
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x4bd456
call fcn.0048f6d3
and dword [ebp - 4], 0
push dword [ebp + 8]
push 0
push str.Position
push str.Character
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov bl, al
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401fe9
mov al, bl
call fcn.0048f6a1
ret 4

Function at 0x439506
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x4bd4fa
call fcn.0048f6d3
mov dword [ebp - 4], 1
push dword [ebp + 0x10]
movzx eax, byte [ebp + 0xc]
push eax
push dword [ebp + 8]
push str.Alpha
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov bl, al
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
mov al, bl
call fcn.0048f6a1
ret 0xc

Function at 0x439559
Capabilities:
Read .ini file

Disassembly:
push 0
mov eax, 0x4bd4fa
call fcn.0048f6d3
mov dword [ebp - 4], 1
movzx ecx, byte [ebp + 0xc]
push dword [ebp + 0x10]
mov eax, ecx
shl eax, 8
or eax, ecx
shl eax, 8
or eax, ecx
push eax
push dword [ebp + 8]
push str.Color
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
movzx esi, al
movzx ecx, ax
shl esi, 8
shr ecx, 8
or esi, ecx
shr eax, 0x10
shl esi, 8
movzx eax, al
or esi, eax
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 8]
lea ecx, [ecx - 0x10]
call fcn.00401fe9
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp + 0x10]
add ecx, 0xfffffff0
call fcn.00401fe9
mov eax, esi
call fcn.0048f6a1
ret 0xc
Function at 0x43b8dc
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x114
mov eax, 0x4bdcbd
call fcn.0048f706
mov eax, dword [0x501e64]
cmp eax, 0xffffffff
jne 0x43bacb
mov eax, 0x100
mov dword [ebp - 0x120], 1
push eax
xor edi, edi
mov dword [ebp - 0x11c], eax
lea eax, [ebp - 0x110]
mov dword [ebp - 0x118], edi
push edi
push eax
call fcn.00490cd0
add esp, 0xc
lea ecx, [ebp - 0x114]
call fcn.004026b1
mov dword [ebp - 4], edi
push edi
push str.Shdocvw.dll
call fcn.0043eeb6
pop ecx
pop ecx
sub eax, 0x1d6
je 0x43baac
sub eax, 1
je 0x43baa5
sub eax, 1
je 0x43ba9e
sub eax, 0x1c
je 0x43ba97
sub eax, 0x32
je 0x43ba90
lea eax, [ebp - 0x118]
mov dword [0x501e64], 0x258
push eax
push 0x20019
push edi
push str.SOFTWAREMicrosoftInternet_Explorer
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x43ba7c
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
push edi
push str.Version
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x43ba7c
lea eax, [ebp - 0x110]
push eax
call fcn.00494153
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x114]
call fcn.00402053
push dword [ebp - 0x114]
call fcn.00498536
imul eax, eax, 0x64
mov ebx, 0x384
pop ecx
mov dword [0x501e64], eax
cmp eax, ebx
jne 0x43ba7c
lea eax, [ebp - 0x11c]
push eax
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x120]
push eax
push edi
push str.svcVersion
push dword [ebp - 0x118]
call esi
test eax, eax
jne 0x43ba7c
lea eax, [ebp - 0x110]
push eax
call fcn.00494153
pop ecx
push eax
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x114]
call fcn.00402053
push dword [ebp - 0x114]
call fcn.00498536
imul eax, eax, 0x64
pop ecx
cmp eax, ebx
jle 0x43ba7c
push dword [ebp - 0x114]
call fcn.00498536
imul eax, eax, 0x64
pop ecx
mov dword [0x501e64], eax
push dword [ebp - 0x118]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [0x501e64]
jmp 0x43bab7
mov esi, 0x226
jmp 0x43bab1
mov esi, 0x1f4
jmp 0x43bab1
mov esi, 0x191
jmp 0x43bab1
mov esi, 0x190
jmp 0x43bab1
mov esi, 0x12c
mov dword [0x501e64], esi
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x114]
add ecx, 0xfffffff0
call fcn.00401fe9
mov eax, esi
call fcn.0048f6b5
ret