joyce8/EMBER2024-capa huggingface dataset:
Function at 0x402b9e
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push dword [esp + 0xc]
mov esi, eax
push dword [esp + 0xc]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x402bb5
pop esi
ret
push edi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x402bea
push dword [esp + 0x10]
push dword [esp + 0x10]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
add eax, edi
and esi, 0xf
jbe 0x402be6
cmp edi, eax
jae 0x402bea
dec esi
movzx ecx, word [edi]
lea edi, [edi + ecx*2 + 2]
jne 0x402bd8
cmp edi, eax
jb 0x402bee
xor eax, eax
jmp 0x402bf8
mov ax, word [edi]
neg ax
sbb eax, eax
and eax, edi
pop edi
pop esi
ret

Function at 0x406ee0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp dword [edi + 0xc], 0xffffffff
jne 0x406f35
push esi
lea esi, [ebp - 4]
call fcn.00406f3b
push dword [eax]
push 0
push 0x50badc
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004012f9
test esi, esi
pop esi
je 0x406f26
push edi
call fcn.00407094
test eax, eax
jne 0x406f2f
call fcn.004072be
test eax, eax
je 0x406f32
xor eax, eax
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
pop edi
leave
ret

Function at 0x4071f4
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x18], 0
jne 0x40722a
push esi
lea esi, [ebp - 4]
call fcn.00406f3b
push dword [eax]
push 2
push 0x50bb04
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004012f9
pop esi
mov eax, dword [edi + 0x18]
leave
ret

Function at 0x4072be
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0xffffffff
jne 0x4072f4
push esi
lea esi, [ebp - 4]
call fcn.00406f3b
push dword [eax]
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004012f9
pop esi
mov eax, dword [edi + 4]
leave
ret

Function at 0x407498
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, edi
call fcn.004074e3
test eax, eax
jne 0x4074ac
push 0x60
pop eax
leave
ret
cmp dword [edi + 8], 0xffffffff
jne 0x4074de
push esi
lea esi, [ebp - 4]
call fcn.00406f3b
push dword [eax]
push 0x60
push str.debugdpi
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.004012f9
pop esi
mov eax, dword [edi + 8]
leave
ret
Function at 0x407551
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4faadb
call fcn.004d766c
and dword [ebp - 0x10], 0
mov edi, ecx
add edi, 0x14
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4075c4
lea esi, [ebp - 0x10]
call fcn.00406f3b
and dword [ebp - 4], 0
push dword [eax]
mov eax, 0x104
push eax
push eax
mov esi, edi
call fcn.00401918
push eax
push 0x50bbdc
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [edi]
test eax, eax
je 0x4075bd
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, edi
call fcn.00401385
mov eax, dword [edi]
sub eax, 0x10
call fcn.00401311
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
call fcn.004d7744
ret

Function at 0x407900
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4faa74
call fcn.004d766c
mov edi, ecx
mov eax, dword [edi + 0x20]
add edi, 0x1c
xor ebx, ebx
cmp eax, ebx
je 0x407928
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
jne 0x407a53
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.00406f3b
mov byte [ebp - 4], 1
push dword [eax]
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.00401918
push eax
push str.1.01.21.5
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004012f9
cmp dword [ebp - 0x10], ebx
jne 0x407988
xor eax, eax
jmp 0x407992
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401385
mov esi, 0x50bbd8
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.00407a5b
jmp 0x407a2f
push eax
call dword [sym.imp.MSVCR80.dll__wtof]
fstp qword [ebp - 0x20]
mov edx, dword [edi + 4]
test edx, edx
pop ecx
jne 0x4079ca
xor ecx, ecx
jmp 0x4079d2
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x4079f2
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x4079f2
mov eax, dword [edi + 8]
fld qword [ebp - 0x20]
fstp qword [eax]
add eax, 8
mov dword [edi + 8], eax
jmp 0x407a10
mov ebx, dword [edi + 8]
cmp edx, ebx
jbe 0x4079ff
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, edi
call fcn.00407b4c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.00407a5b
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x4079b4
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, edi
call fcn.004d7744
ret
Function at 0x409d9d
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x409e00
cmp dword [ebp + 0xc], 1
je 0x409dd9
cmp dword [ebp + 0xc], 2
je 0x409dd9
push 0xd
pop eax
jmp 0x409e00
test edi, edi
mov eax, dword [ebp - 4]
je 0x409dfa
test eax, eax
je 0x409df6
test al, 1
jne 0x409dd4
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x409dfa
jmp 0x409dd4
and word [edi], 0
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x409f09
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x4f7c7a
call fcn.004d766c
mov esi, ecx
call fcn.00409c7e
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.0040a036
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x40a028
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40a025
lea eax, [ebp - 0x24]
mov ebx, vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.gdiplus.dll_GdipNewPrivateFontCollection
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipPrivateAddFontFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sub.gdiplus.dll_GdipGetFontCollectionFamilyCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x40a012
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x409fdb
mov ecx, dword [ebp - 0x14]
push 0x409cb6
push 0x40a274
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.004d701a
mov eax, edi
jmp 0x409fdd
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x40a012
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.0040a27e
test eax, eax
jne 0x40a00d
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x40a00d
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x40a012
call fcn.00409c7e
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
call sub.gdiplus.dll_GdipDeletePrivateFontCollection
mov dword [ebp - 0x28], vtable.Gdiplus::FontCollection.0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d7744
ret
Function at 0x40a1a7
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp + 0x194], eax
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.00402cc5
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
mov eax, esi
call fcn.004d6e66
add ebp, 0x198
leave
ret
Function at 0x40ebaf
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push esi
inc ebx
cmp eax, 0xf
push edi
mov esi, ecx
jne 0x40ebde
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xbc]
mov dword [eax], ebx
and dword [ecx], 0
cmp dword [eax], 0
je 0x40ec15
mov eax, ebx
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x40ec36
push dword [esi + 0x10]
mov dword [esi + 0xbc], ebx
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, eax
test edi, edi
je 0x40ec0f
push edi
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x40ec0f
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xbc], 0
jne 0x40ebd5
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00408740
jmp 0x40ebd7
cmp eax, 0x47
jne 0x40ec5b
push dword [ebp + 0x14]
lea edi, [esi + 0xbc]
mov eax, esi
mov dword [edi], ebx
call fcn.0040ecb3
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [edi], 0
jmp 0x40ebd3
cmp eax, 0x18
jne 0x40ec15
push dword [ebp + 0x10]
mov dword [esi + 0xbc], ebx
call fcn.0040ac78
xor edi, edi
cmp dword [ebp + 0x10], edi
je 0x40ec93
push dword [esi + 8]
jmp 0x40ec89
mov ecx, dword [eax + 0x34]
shr ecx, 3
not ecx
test bl, cl
je 0x40ec9d
push dword [eax + 8]
call fcn.0040596d
cmp eax, edi
pop ecx
jne 0x40ec7a
mov eax, dword [ebp + 0x10]
mov ecx, esi
call fcn.0040bbbf
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
cmp dword [esi + 0xbc], edi
jne 0x40ebd5
jmp 0x40ec15

Function at 0x417bd9
Capabilities:
Print debug messages

Disassembly:
push 0x10
mov eax, 0x4f75a4
call fcn.004d766c
push dword [ebp + 8]
lea eax, [ebp + 8]
push eax
call fcn.00402cc5
and dword [ebp - 4], 0
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xe]
push eax
movzx eax, word [ebp - 0x10]
push eax
movzx eax, word [ebp - 0x12]
push eax
movzx eax, word [ebp - 0x14]
push eax
push str.__02d__02d__02d__03d__n
lea ecx, [ebp + 8]
call fcn.00417c3f
add esp, 0x14
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d7744
ret 4
Function at 0x418a81
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, eax
mov eax, dword [ebp + 0xc]
sub edi, dword [esi + 0x18]
sub eax, dword [esi + 0x14]
mov edx, dword [esi]
push 1
xor ebx, ebx
push edi
push eax
mov ecx, esi
mov dword [ebp + 0xc], eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call dword [edx + 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [esi + 0xfc]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x418bba
push eax
call fcn.0040596d
mov ebx, eax
test ebx, ebx
pop ecx
je 0x418b87
mov eax, dword [ebx + 0x10]
push 2
mov dword [ebp - 0xc], eax
mov eax, dword [ebx]
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x418afb
lea eax, [ebx + 0x14]
push eax
call fcn.0040e4f9
movzx eax, word [ebp + 0xc]
movzx edi, di
shl edi, 0x10
or edi, eax
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x202
call fcn.004057e7
mov eax, dword [ebp - 0x10]
cmp dword [esi + 0xfc], eax
jne 0x418b51
mov ecx, dword [ebx + 0x40]
xor eax, eax
cmp ecx, eax
je 0x418b43
cmp word [ecx], ax
je 0x418b43
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x418b87
cmp dword [ebx + 0x10], eax
je 0x418b87
mov dword [ebp - 4], 1
jmp 0x418b87
mov eax, dword [ebx]
push 1
push 0
mov ecx, ebx
call dword [eax + 0x28]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x34]
test eax, eax
je 0x418b70
lea eax, [ebx + 0x14]
push eax
call fcn.0040e4f9
push edi
push dword [ebp + 8]
mov ecx, ebx
push 0x2a3
call fcn.004057e7
mov dword [ebp - 8], 1
xor ecx, ecx
cmp dword [ebp - 4], ecx
mov dword [esi + 0xfc], ecx
je 0x418b98
push 0x67
jmp 0x418bb3
cmp dword [ebp - 8], ecx
je 0x418bba
cmp dword [ebp - 0xc], ecx
je 0x418bba
mov edx, dword [ebp - 0x14]
lea eax, [esi + 0xf8]
cmp edx, dword [eax]
jne 0x418bb1
mov dword [eax], ecx
push 0x6a
mov edi, ebx
call fcn.004187cd
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42072a
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x420783
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x420774
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x420774
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x420783
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4

Function at 0x420787
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x4207a7
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x420804
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x420809
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x420809
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x420804
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x4207fb
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.0042081d
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x420804
cmp dword [edi + 0x18], esi
je 0x420804
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x420818
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
pop edi
leave
ret 8
Function at 0x421b0f
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
push esi
push edi
mov esi, eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SetFocus]
xor ebx, ebx
lea edi, [esi + 0x300]
cmp dword [edi], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 8], ebx
je 0x421b40
call dword [sym.imp.USER32.dll_ReleaseCapture]
mov dword [edi], ebx
mov ebx, dword [ebp + 0x10]
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x28]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x421b84
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x10c]
mov eax, dword [ecx]
call dword [eax + 0x30]
test eax, eax
mov dword [ebp - 4], eax
jne 0x421b84
push 1
push ebx
push dword [ebp + 0xc]
lea ecx, [esi + 0x1f0]
mov eax, dword [ecx]
call dword [eax + 0x30]
mov dword [ebp - 4], eax
mov eax, dword [esi + 0x2ec]
test eax, eax
mov dword [ebp - 0x14], eax
je 0x421cd6
push eax
call fcn.0040596d
mov edi, eax
test edi, edi
pop ecx
je 0x421c55
mov eax, dword [edi + 0x10]
push 2
mov dword [ebp - 8], eax
mov eax, dword [edi]
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x421bca
push 1
push edi
call fcn.0040590b
movzx eax, word [ebp + 0xc]
movzx ebx, bx
shl ebx, 0x10
or ebx, eax
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x202
call fcn.004057e7
mov eax, dword [ebp - 4]
cmp dword [esi + 0x2ec], eax
jne 0x421c20
mov ecx, dword [edi + 0x40]
xor eax, eax
cmp ecx, eax
je 0x421c12
cmp word [ecx], ax
je 0x421c12
push 1
push eax
push eax
push ecx
push str.open
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x421c55
cmp dword [edi + 0x10], eax
je 0x421c55
mov dword [ebp - 0xc], 1
jmp 0x421c55
mov eax, dword [edi]
push 1
push 0
mov ecx, edi
call dword [eax + 0x28]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x34]
test eax, eax
je 0x421c3e
push 1
push edi
call fcn.0040590b
push ebx
push dword [ebp + 8]
mov ecx, edi
push 0x2a3
call fcn.004057e7
mov dword [ebp - 0x10], 1
xor eax, eax
cmp dword [ebp - 0xc], eax
mov dword [esi + 0x2ec], eax
je 0x421c97
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [edi]
mov ecx, edi
mov dword [ebp - 0x20], 1
call dword [eax + 8]
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
push eax
push dword [ebp - 0x24]
push 0x4e
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x421cd6
cmp dword [ebp - 0x10], eax
je 0x421cd6
mov ecx, dword [ebp - 8]
cmp ecx, eax
je 0x421cd6
mov eax, dword [esi + 4]
or dword [ebp - 0x24], 0xffffffff
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x28]
push ecx
push 0xffffffffffffffff
push 0x4e
push eax
mov dword [ebp - 0x20], 4
mov dword [ebp - 0x28], eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 0x14]
add esi, 0x2e8
cmp eax, dword [esi]
jne 0x421cd6
and dword [esi], 0
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x421ded
Capabilities:
Check os version

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0x120
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov esi, 0x11c
push esi
xor edi, edi
lea eax, [ebp - 0xa8]
push edi
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp - 0xa8]
mov dword [ebp - 0xa8], esi
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
push eax
call esi
cmp eax, edi
jne 0x421e50
lea eax, [ebp - 0xa8]
push eax
mov dword [ebp - 0xa8], 0x114
call esi
cmp eax, edi
je 0x421efe
mov eax, dword [ebp - 0x98]
dec eax
je 0x421eea
dec eax
jne 0x421efe
cmp dword [ebp - 0xa4], 6
jne 0x421e9b
inc eax
cmp dword [ebp - 0xa0], eax
jne 0x421e83
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
add ecx, 8
jmp 0x421e97
cmp dword [ebp - 0xa0], edi
jne 0x421ed7
xor ecx, ecx
cmp byte [ebp + 0x72], al
setne cl
lea ecx, [ecx + ecx + 7]
mov edi, ecx
jmp 0x421efe
cmp dword [ebp - 0xa4], 5
jne 0x421eca
cmp dword [ebp - 0xa0], 2
jne 0x421eb1
push 5
jmp 0x421ee7
cmp dword [ebp - 0xa0], 1
jne 0x421ebe
push 6
jmp 0x421ee7
cmp dword [ebp - 0xa0], edi
jne 0x421efe
push 3
jmp 0x421ee7
cmp dword [ebp - 0xa4], 4
ja 0x421efe
push 4
jmp 0x421ee7
cmp dword [ebp - 0xa0], 2
jne 0x421efe
cmp byte [ebp + 0x72], al
jne 0x421efe
push 0xa
pop edi
jmp 0x421efe
mov eax, dword [ebp - 0x9c]
and eax, 0xffff0000
cmp eax, 0x45a0000
sbb edi, edi
inc edi
inc edi
mov ecx, dword [ebp + 0x74]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.004d6e66
add ebp, 0x78
leave
ret

Function at 0x4227ce
Capabilities:
Get common file path

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x4f742a
call fcn.004d766c
mov eax, dword [ebp + 0x41c]
xor edi, edi
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], edi
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [ebp - 0x10], ebx
push 0x40e
lea eax, [ebp + 2]
push edi
mov dword [ebp - 4], edi
push eax
mov word [ebp], di
call sub.MSVCR80.dll_memset
add esp, 0xc
lea eax, [ebp]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
test eax, eax
jbe 0x422889
mov edi, dword [sym.imp.MSVCR80.dll_wcslen]
lea eax, [ebp]
push eax
call edi
test eax, eax
pop ecx
jbe 0x422889
lea eax, [ebp]
push eax
call edi
pop ecx
lea ecx, [ebp]
mov ebx, eax
push ecx
lea eax, [ebp - 0x10]
call fcn.00402a8d
lea eax, [ebp - 0x10]
push eax
call fcn.0049085e
push dword [ebp - 0x14]
lea ecx, [ebp - 0x10]
push str._d.tmp
call fcn.00417c3f
mov edi, dword [ebp - 0x10]
add esp, 0xc
add edi, 0xfffffff0
jmp 0x42288c
lea edi, [ebx - 0x10]
mov eax, edi
call fcn.00401311
add eax, 0x10
mov dword [esi], eax
mov eax, edi
call fcn.004012f9
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.004d6e66
add ebp, 0x414
leave
ret
Function at 0x4228e7
Capabilities:
Copy file

Disassembly:
push 8
mov eax, 0x4fa543
call fcn.004d766c
mov eax, dword [ebx + 4]
sub eax, 0x10
call fcn.00401311
add eax, 0x10
mov dword [ebp - 0x10], eax
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.0049085e
lea eax, [ebp - 0x10]
mov dword [esp], str.closepop.dat
push eax
call fcn.004029d7
push dword [ebp + 8]
lea esi, [ebp - 0x14]
call fcn.004227ce
pop ecx
lea edi, [ebx + 8]
mov byte [ebp - 4], 1
call fcn.00402a4c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov edi, dword [edi]
xor esi, esi
cmp dword [edi - 0xc], esi
jne 0x422959
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x4229a7
push esi
push edi
mov edi, dword [ebp - 0x10]
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x4229a4
push esi
xor eax, eax
inc eax
push eax
push eax
push esi
push dword [ebp + 8]
mov dword [ebx], eax
push dword [0x55ab64]
push 0xffff
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
cmp dword [0x55ac14], esi
je 0x4229a4
push str.KClosePopSend:_OK
call fcn.004022da
call fcn.00402322
mov esi, eax
call fcn.0040234b
lea eax, [edi - 0x10]
call fcn.004012f9
xor eax, eax
call fcn.004d7744
ret 4

Function at 0x4241ab
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4ef738
call fcn.004d766c
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
mov edi, dword [ecx]
push eax
push 0x20
push 0x20
lea esi, [ebp - 0x10]
call fcn.00401918
push eax
push ebx
push str.show
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x10]
cmp esi, ebx
mov edi, eax
jne 0x424201
xor eax, eax
jmp 0x424209
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401385
cmp edi, ebx
jbe 0x424235
push esi
call dword [sym.imp.MSVCR80.dll__wtoi64]
pop ecx
mov edi, eax
mov ebx, edx
lea eax, [esi - 0x10]
call fcn.004012f9
mov eax, edi
mov edx, ebx
call fcn.004d7744
ret 8
xor edi, edi
jmp 0x424221

Function at 0x424239
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x4ef715
call fcn.004d766c
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [eax]
mov edi, dword [ecx]
push eax
push 0x20
push 0x20
lea esi, [ebp - 0x10]
call fcn.00401918
push eax
push ebx
push str.click
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov esi, dword [ebp - 0x10]
cmp esi, ebx
mov edi, eax
jne 0x42428f
xor eax, eax
jmp 0x424297
push esi
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.00401385
cmp edi, ebx
jbe 0x4242c3
push esi
call dword [sym.imp.MSVCR80.dll__wtoi64]
pop ecx
mov edi, eax
mov ebx, edx
lea eax, [esi - 0x10]
call fcn.004012f9
mov eax, edi
mov edx, ebx
call fcn.004d7744
ret 8
xor edi, edi
jmp 0x4242af