joyce8/EMBER2024-capa huggingface dataset:
Function at 0x404fc0
Capabilities:
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x56cf60
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov esi, ecx
call fcn.004436d4
xor ecx, ecx
xor ebx, ebx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x405005
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
mov dword [esp + 0x68], ebx
mov ecx, dword [esi + 0x128]
push ecx
lea edx, [esp + 0x1c]
push 0x59ac64
push edx
call fcn.004030a0
add esp, 0xc
call fcn.004436d4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x40504c
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x1c], eax
mov byte [esp + 0x68], 1
mov ecx, dword [esi + 0x12c]
push ecx
lea edx, [esp + 0x20]
push 0x59ac6c
push edx
call fcn.004030a0
add esp, 0xc
call fcn.00451c08
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x48]
push eax
lea ecx, [esp + 0x24]
call fcn.00402a10
mov byte [esp + 0x68], 2
call fcn.004436d4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x4050ae
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
lea ecx, [esp + 0x14]
push str.runas
push ecx
mov byte [esp + 0x70], 3
call fcn.004030a0
push 0x38
lea edx, [esp + 0x34]
push ebx
push edx
call fcn.00540cb0
mov eax, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
mov ebp, dword [esp + 0x2c]
mov edi, dword [esp + 0x30]
add esp, 0x14
lea ecx, [esp + 0x24]
push ecx
mov dword [esp + 0x28], 0x3c
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], ebp
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], edi
mov dword [esp + 0x44], 5
mov dword [esp + 0x48], ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
lea eax, [esi - 0x10]
mov byte [esp + 0x68], 2
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x40514a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x68], 1
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40516f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x68], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40518f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebp - 0x10]
mov dword [esp + 0x68], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4051b3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret
Function at 0x407440
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x56cb53
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x5c6590]
xor eax, esp
mov dword [esp + 0x84], eax
push esi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x90]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 8], 0
mov dword [esp + 0x98], 2
call fcn.004436d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4074a7
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 8], eax
mov byte [esp + 0x98], 3
mov ecx, dword [esi + 0x12c]
push str.Setting.ini
push ecx
lea edx, [esp + 0x10]
push str._sSetting_s
push edx
call fcn.004030a0
push 0x40
lea eax, [esp + 0x20]
push 0
push eax
call fcn.00540cb0
mov esi, dword [esp + 0x24]
mov ecx, dword [esi - 8]
mov eax, 1
sub eax, dword [esi - 4]
add esp, 0x1c
or ecx, eax
jge 0x40750d
push 0
lea ecx, [esp + 0xc]
call fcn.00402f50
mov esi, dword [esp + 8]
mov edx, dword [esp + 0xa8]
mov eax, dword [esp + 0xa4]
push esi
push 0x80
lea ecx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0xac]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esp + 0xc]
push edx
mov ecx, edi
call fcn.00402a10
lea eax, [esi - 0x10]
mov byte [esp + 0x98], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407566
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x98], 1
mov eax, dword [esp + 0xa0]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407591
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x98], 0
mov eax, dword [esp + 0xa4]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x98], 0xffffffff
mov eax, dword [esp + 0xa8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4075ea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x90]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x84]
xor ecx, esp
call fcn.0053e694
add esp, 0x94
ret 0xc
Function at 0x416c70
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x56adc9
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov word [edi + 0xc], ax
call fcn.004436d4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416cc8
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
mov ebp, 1
mov dword [esp + 0x24], ebp
movzx ecx, word [edi + 0xc]
push ecx
lea edx, [esp + 0x18]
push 0x59e348
push edx
call fcn.004030a0
add esp, 0xc
call fcn.004436d4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416d12
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
mov byte [esp + 0x24], 2
mov ecx, dword [edi]
mov edx, dword [edi + 4]
push ecx
push edx
lea eax, [esp + 0x18]
push str._sLanguages_s
push eax
call fcn.004030a0
add esp, 0x10
call fcn.004436d4
xor ecx, ecx
cmp eax, ebx
setne cl
cmp ecx, ebx
jne 0x416d5a
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi], eax
mov ecx, ebp
sub ecx, dword [eax - 4]
mov eax, dword [eax - 8]
sub eax, 0x400
or eax, ecx
mov dword [esp + 0x18], ebp
jge 0x416d89
push 0x400
mov ecx, esi
call fcn.00402f50
mov ebp, dword [esp + 0x10]
mov eax, dword [esi]
mov ebx, dword [esp + 0x14]
push ebp
push 0x3ff
push eax
push 0x59ab5c
push ebx
push str.LCID
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi]
mov ecx, dword [eax - 8]
test eax, eax
je 0x416dc6
push ecx
push eax
call fcn.0053ee47
add esp, 8
test eax, eax
jl 0x416e53
mov ecx, dword [esi]
cmp eax, dword [ecx - 8]
jg 0x416e53
mov dword [ecx - 0xc], eax
mov ecx, dword [esi]
xor edx, edx
mov word [ecx + eax*2], dx
mov eax, dword [esi]
cmp dword [eax - 0xc], edx
jne 0x416dfa
push 7
push str.English
mov ecx, esi
call fcn.004028c0
mov ecx, 0x409
mov word [edi + 0xc], cx
lea eax, [ebp - 0x10]
mov byte [esp + 0x24], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x416e1b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x24], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x416e3c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 4
push 0x80070057
call fcn.00402fd0
int3
Function at 0x416ec0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x56bc50
mov eax, dword fs:[0]
push eax
push ecx
push ebp
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov dword [esp + 0x28], 0
test ebp, ebp
jne 0x416f19
mov esi, dword [esp + 0x24]
push 0x59ab5c
mov ecx, esi
call fcn.00402a10
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push ebp
lea ecx, [esp + 0x14]
call fcn.00402a10
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00417730
call fcn.004436d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x416f4e
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x28], esi
mov ecx, 1
mov byte [esp + 0x1c], cl
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
mov edi, dword [0x5de73c]
sub eax, 0x400
or eax, ecx
jge 0x416f8e
push 0x400
lea ecx, [esp + 0x2c]
call fcn.00402f50
mov esi, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
push edi
push 0x3ff
push esi
push 0x59ab5c
push ecx
push str.ProgramOutStr
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0053ee47
add esp, 8
test eax, eax
jl 0x4170ba
cmp eax, dword [esi - 8]
jg 0x4170ba
xor edx, edx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], dx
cmp dword [esi - 0xc], edx
jne 0x416ffa
mov eax, ebp
lea edx, [eax + 2]
jmp 0x416fe0
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x416fe0
sub eax, edx
sar eax, 1
push eax
push ebp
lea ecx, [esp + 0x30]
call fcn.004028c0
push 0x59e3c0
push 0x59e3c8
lea ecx, [esp + 0x30]
call fcn.00414d00
push 0x59e3d4
push 0x59e3d8
lea ecx, [esp + 0x30]
call fcn.00414d00
push 0x59ab5c
push str._NullInfoChrys_
lea ecx, [esp + 0x30]
call fcn.00414d00
push 0x59e404
push 0x59e408
lea ecx, [esp + 0x30]
call fcn.00414d00
mov esi, dword [esp + 0x28]
add esi, 0xfffffff0
push esi
call fcn.00402ad0
mov edi, dword [esp + 0x28]
add eax, 0x10
mov dword [edi], eax
add esp, 4
mov byte [esp + 0x1c], 0
lea eax, [esi + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x41707d
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
mov dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4170a5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x10
ret
push 0x80070057
call fcn.00402fd0
int3
Function at 0x4193f0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x210
mov eax, dword [0x5c6590]
xor eax, esp
mov dword [esp + 0x20c], eax
mov eax, dword [esp + 0x214]
push esi
mov esi, dword [eax]
lea eax, [esp + 4]
push eax
lea ecx, [esp + 0xc]
push ecx
push 0
push esi
mov dword [esp + 0x14], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
lea edx, [esp + 8]
push edx
push edi
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x210]
pop esi
xor ecx, esp
xor eax, eax
call fcn.0053e694
add esp, 0x210
ret 4

Function at 0x419460
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x41c
mov eax, dword [0x5c6590]
xor eax, esp
mov dword [esp + 0x418], eax
mov eax, dword [esp + 0x420]
push ebp
push 5
push 0
push 0
push eax
push 0x59e600
push 0
mov dword [esp + 0x20], eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebp, eax
cmp ebp, 0x20
ja 0x41957b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [esp + 0xc]
push eax
push 1
push 0
push str..htm
push SysReAllocStringLen
call esi
test eax, eax
jne 0x419597
lea ecx, [esp + 0xc]
push ecx
lea edi, [esp + 0x18]
call fcn.004193f0
test eax, eax
jne 0x419597
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatW]
push str._shellopencommand
mov edx, edi
push edx
call ebx
lea eax, [esp + 0x10]
push eax
push 1
push 0
mov ecx, edi
push ecx
push SysReAllocStringLen
call esi
test eax, eax
jne 0x419593
lea edx, [esp + 0x10]
push edx
call fcn.004193f0
test eax, eax
jne 0x419593
mov eax, edi
push 0x59e640
push eax
call fcn.0053ee87
mov esi, eax
add esp, 8
test esi, esi
jne 0x419556
mov ecx, edi
push 0x59e64c
push ecx
call fcn.0053ee87
mov esi, eax
add esp, 8
test esi, esi
jne 0x41954f
mov edx, edi
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esp + eax*2 + 0x16]
jmp 0x41955b
xor eax, eax
mov word [esi], ax
jmp 0x41955b
xor ecx, ecx
mov word [esi], cx
push 0x59e404
push esi
call ebx
mov edx, dword [esp + 0x14]
push edx
push esi
call ebx
push 5
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop ebx
pop edi
pop esi
mov ecx, dword [esp + 0x41c]
pop ebp
xor ecx, esp
call fcn.0053e694
add esp, 0x41c
ret 4
mov eax, ebp
jmp 0x419578
mov eax, ebp
jmp 0x419579
Function at 0x41a570
Capabilities:
Access peb ldr_data
Check for peb ntglobalflag flag
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x56bb3c
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, dword [esp + 0x28]
mov ecx, esi
call fcn.004486b9
xor edi, edi
mov dword [esp + 0x20], edi
mov dword [esi], vtable.CTComboBoxGdiplus.0
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], vtable.CBrush.0
mov dword [esi + 0x6c], edi
mov dword [esi + 0x68], vtable.CBrush.0
mov dword [esi + 0x74], edi
mov dword [esi + 0x70], vtable.CBrush.0
mov dword [esi + 0x7c], edi
mov dword [esi + 0x78], vtable.CBrush.0
mov dword [esi + 0x84], edi
mov dword [esi + 0x80], vtable.CBrush.0
mov byte [esp + 0x20], 5
call fcn.004436d4
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x41a603
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
add eax, 0x10
mov dword [esi + 0xc0], eax
lea ebx, [esi + 0xc4]
mov dword [ebx + 4], edi
mov dword [ebx], vtable.CFont.0
lea ebp, [esi + 0xd4]
mov ecx, ebp
mov byte [esp + 0x20], 7
call fcn.004486b9
mov dword [ebp], vtable.CListBox.0
mov byte [esp + 0x20], 8
mov ebp, dword [sym.imp.GDI32.dll_CreateSolidBrush]
push 0x707070
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x64], edi
mov dword [esi + 0x6c], edi
mov dword [esi + 0x74], edi
mov dword [esi + 0xa8], 0xdedede
mov dword [esi + 0x9c], 0x707070
mov dword [esi + 0xa0], 0xffffff
call ebp
push eax
lea ecx, [esi + 0x60]
call fcn.00444b1d
mov eax, dword [esi + 0xa0]
push eax
call ebp
push eax
lea ecx, [esi + 0x68]
call fcn.00444b1d
mov eax, dword [esi + 0xa8]
push eax
call ebp
push eax
lea ecx, [esi + 0x70]
call fcn.00444b1d
mov eax, 0xffffff
push eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xa4], 0x212121
mov dword [esi + 0x98], edi
mov dword [esi + 0x128], 5
mov dword [esi + 0x12c], edi
mov dword [esi + 0x130], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x8c], eax
mov dword [esi + 0x90], eax
mov dword [esi + 0x94], 0xff8733
call ebp
push eax
lea ecx, [esi + 0x78]
call fcn.00444b1d
mov eax, dword [esi + 0x94]
push eax
call ebp
push eax
lea ecx, [esi + 0x80]
call fcn.00444b1d
push 0xf
lea ebp, [esi + 0xc0]
push str.Microsoft_YaHei
mov ecx, ebp
mov dword [esi + 0xac], 0x12
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
mov dword [esi + 0xbc], edi
call fcn.004028c0
mov ebp, dword [ebp]
mov al, byte [esi + 0xbc]
mov cl, byte [esi + 0xb8]
mov dl, byte [esi + 0xb4]
push ebp
push edi
push edi
push edi
push edi
push edi
movzx eax, al
push eax
mov byte [esp + 0x30], dl
movzx eax, byte [esp + 0x30]
mov edx, dword [esi + 0xac]
movzx ecx, cl
push ecx
push eax
mov eax, dword [esi + 0xb0]
push eax
push edi
push edi
push edi
push edx
call dword [sym.imp.GDI32.dll_CreateFontW]
push eax
mov ecx, ebx
call fcn.00444b1d
mov eax, esi
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 0x41b0b0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x444
mov eax, dword [0x5c6590]
xor eax, esp
mov dword [esp + 0x440], eax
push esi
xor eax, eax
push 0x208
push eax
lea ecx, [esp + 0x23a]
push ecx
mov word [esp + 0x23c], ax
call fcn.00540cb0
mov eax, dword [ebx + 0x20]
add esp, 0xc
push 0x104
lea edx, [esp + 0x24]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edx, dword [edi]
mov edx, dword [edx + 0x28]
lea eax, [ebx + 0xc4]
push eax
mov ecx, edi
call edx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [esp + 0xc]
push ecx
push eax
mov eax, dword [edi + 8]
lea edx, [esp + 0x28]
push edx
push eax
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32W]
mov esi, dword [ebp + 0x10]
sub esi, dword [ebp + 0x20]
mov ecx, dword [esp + 0xc]
sub esi, dword [ebp + 8]
mov dword [esp + 0x18], ecx
add esi, dword [ebp + 0x18]
cmp ecx, esi
jle 0x41b18a
lea eax, [esp + 0x20]
lea edx, [eax + 2]
mov dword [esp + 8], edx
mov dx, word [eax]
add eax, 2
test dx, dx
jne 0x41b156
sub eax, dword [esp + 8]
sar eax, 1
imul eax, esi
cdq
idiv ecx
lea ecx, [esp + 0x230]
dec eax
push eax
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.0053f352
add esp, 0xc
mov dword [esp + 0x18], esi
jmp 0x41b1a5
xor eax, eax
lea esp, [esp]
movzx ecx, word [esp + eax + 0x20]
mov word [esp + eax + 0x230], cx
add eax, 2
test cx, cx
jne 0x41b190
push 1
mov ecx, edi
call fcn.00443dd6
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
sub eax, dword [ebp + 0xc]
mov ecx, edi
sub eax, dword [esp + 0x10]
cdq
sub eax, edx
mov edx, dword [edi]
mov edx, dword [edx + 0x30]
mov esi, eax
mov eax, dword [ebx + 0x98]
push eax
sar esi, 1
call edx
mov eax, dword [esp + 0x10]
mov edx, dword [edi + 4]
push 2
push eax
mov eax, dword [esp + 0x20]
push eax
push esi
push 6
push 0
lea ecx, [esp + 0x248]
push ecx
push 0
push 0
push edx
call dword [sym.imp.USER32.dll_DrawStateW]
mov ecx, dword [esp + 0x14]
mov eax, dword [edi]
mov edx, dword [eax + 0x28]
push ecx
mov ecx, edi
call edx
mov eax, dword [esp + 8]
push eax
mov ecx, edi
call fcn.00443dd6
mov ecx, dword [esp + 0x444]
pop esi
xor ecx, esp
call fcn.0053e694
mov esp, ebp
pop ebp
ret 0x20
Function at 0x420370
Capabilities:
Create thread
Resume thread

Disassembly:
sub esp, 8
cmp dword [esi + 0x8c], 0
je 0x4203d3
cmp dword [esi + 0x80], 0
je 0x4203d9
mov ecx, dword [esi + 0xd0]
sub ecx, dword [esi + 0xcc]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
jbe 0x4203d9
lea ecx, [esp + 4]
push ecx
push 4
push esi
push 0x420950
push 0
push 0
call fcn.0053f9cf
add esp, 0x18
mov dword [esi + 0xa8], eax
test eax, eax
je 0x4203d3
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
xor eax, eax
add esp, 8
ret
mov eax, dword [esi + 0xb0]
test eax, eax
je 0x4203d3
mov edx, dword [eax]
mov edx, dword [edx + 0x18]
push edi
lea ecx, [esp + 8]
push ecx
push eax
call edx
mov eax, dword [esi + 0xb0]
mov ecx, dword [eax]
lea edx, [esp + 4]
push edx
push eax
mov eax, dword [ecx + 0x1c]
call eax
mov ecx, dword [esp + 4]
mov eax, dword [esi + 0xb0]
mov edx, dword [eax]
push 0
mov edx, dword [edx + 0x20]
mov edi, ecx
neg edi
push edi
mov edi, dword [esp + 0x10]
push edi
push ecx
mov ecx, dword [esi + 0x68]
push 0
push ecx
mov ecx, dword [esi + 0x64]
push ecx
mov ecx, dword [esi + 0x90]
push 0
push 0
push ecx
push eax
call edx
pop edi
test eax, eax
jne 0x4203d3
push eax
push eax
mov eax, dword [esi + 0x20]
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov eax, 1
add esp, 8
ret
Function at 0x424150
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x56acd8
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5c6590]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
cmp dword [ebp + 0x58], 0
jne 0x424287
call fcn.00451c08
mov ebx, dword [sym.imp.USER32.dll_LoadCursorW]
push 0x7f89
push 0
call ebx
mov dword [ebp + 0x58], eax
test eax, eax
jne 0x424287
call fcn.004436d4
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x4241bb
push 0x80004005
call fcn.00402fd0
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], 0
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, 0x104
or eax, ecx
jge 0x4241f9
push 0x104
lea ecx, [esp + 0x28]
call fcn.00402f50
mov esi, dword [esp + 0x24]
push 0x104
push esi
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
mov eax, dword [esi - 8]
push eax
push esi
call fcn.0053ee47
add esp, 8
test eax, eax
jl 0x42429d
cmp eax, dword [esi - 8]
jg 0x42429d
xor ecx, ecx
mov dword [esi - 0xc], eax
push 0xd
mov word [esi + eax*2], cx
push 0x59f198
lea ecx, [esp + 0x2c]
call fcn.00408de0
mov edi, dword [esp + 0x24]
push edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x424263
push 0x6a
push esi
call ebx
test eax, eax
je 0x42425c
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [ebp + 0x58], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [edi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x424287
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
push 0x80070057
call fcn.00402fd0
int3
Function at 0x426ca0
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, eax
and byte [edi + 0xc], 9
mov al, byte [edi + 0xc]
test al, 1
je 0x426cd6
test al, 8
jne 0x426cd6
push 0xfffffffffffffff0
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x426cd6
or byte [edi + 0xc], 4
mov cl, byte [edi + 0xc]
test eax, 0x21000000
jne 0x426cd6
or cl, 2
mov byte [edi + 0xc], cl
test byte [edi + 0xc], 2
je 0x426cf0
mov eax, dword [edi + 4]
push 8
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
call fcn.004260e0
pop edi
ret
mov ecx, dword [edi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret

Function at 0x42a1d0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x228
mov eax, dword [0x5c6590]
xor eax, esp
mov dword [esp + 0x224], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 4], 3
mov dword [esp + 0x14], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x42a23a
cmp dword [esp + 0x20], 1
jne 0x42a211
cmp dword [esp + 0x18], 0
je 0x42a23a
push 0
lea ecx, [esp + 4]
push ecx
push 0
push 0x68
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
mov eax, dword [esp]
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.0053e694
add esp, 0x228
ret
lea edx, [esp + 4]
push edx
push 1
push 0
push 0x59ee78
push SysReAllocStringLen
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x42a2a8
lea eax, [esp + 8]
push eax
mov eax, dword [esp + 8]
lea ecx, [esp + 0x128]
push ecx
lea edx, [esp + 0x14]
push edx
push 0
push str.WheelScrollLines
push eax
mov dword [esp + 0x20], pe_nt_image_headers32
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x42a29d
push 0xa
push eax
lea ecx, [esp + 0x12c]
push ecx
call fcn.0053f630
add esp, 0xc
mov dword [esp], eax
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x224]
mov eax, dword [esp]
xor ecx, esp
call fcn.0053e694
add esp, 0x228
ret