joyce8/EMBER2024-capa huggingface dataset:
Function at 0x440c40
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x594da6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x26]
push ecx
mov word [esp + 0x28], ax
call fcn.004fe380
add esp, 0xc
push 0x104
lea edx, [esp + 0x20]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x1c]
push ecx
push str._smobileloader.ini
lea edi, [esp + 0x20]
mov dword [esp + 0x238], 0
call fcn.00407710
mov esi, dword [esp + 0x20]
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x440d36
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x440d2f
mov dword [esp + 0x230], eax
lea eax, [esi - 0x10]
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x440dfc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x14], eax
push 0
mov byte [esp + 0x234], 1
call fcn.004f8fbf
push edx
push eax
push 0x5d7fe4
lea edi, [esp + 0x24]
call fcn.00407710
mov ecx, dword [esp + 0x24]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
add esp, 0x10
push esi
push ecx
push str.LastShowTime
push str.loader_timer
call ebp
push 0x168
push 0x5d7fe4
call fcn.00407710
mov edi, dword [esp + 0x1c]
add esp, 8
push esi
push edi
push str.UnNotifyHours
push str.loader_timer
call ebp
push esi
push 0x5d7d28
push str.KEY_NAME_USER_UNINSTALL_DELAY_FLAG
push str.loader_timer
call ebp
lea eax, [edi - 0x10]
mov byte [esp + 0x230], 0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x440de1
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x230], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x440e08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004f673f
add esp, 0x224
ret
Function at 0x440e30
Capabilities:
Set registry value

Disassembly:
sub esp, 0x418
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x414], eax
cmp word [0x65f5f8], 0
jne 0x440e60
push 0x104
push 0x65f5f8
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [esp]
push eax
push str.ANZHUO360
push bind
mov dword [esp + 0xc], 0
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
test eax, eax
je 0x440e97
xor eax, eax
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004f673f
add esp, 0x418
ret
mov ecx, dword [esp]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueW]
push edi
xor edi, edi
push edi
push 0x5d74e0
push 1
push 0x5d74e0
push ecx
call esi
test eax, eax
jne 0x440f5b
mov eax, 0x65f5f8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x440ec4
sub eax, edx
sar eax, 1
lea edx, [eax + eax]
mov eax, dword [esp + 8]
push edx
push 0x65f5f8
push 1
push 0
push str.URL_Protocol
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x440f5b
mov ecx, dword [esp + 8]
push eax
push 0x65f5f8
push 1
push str.DefaultIcon
push ecx
call esi
test eax, eax
jne 0x440f5b
xor edx, edx
push 0x40e
push edx
lea eax, [esp + 0x16]
push eax
mov word [esp + 0x18], dx
call fcn.004fe380
push 0x65f5f8
push str.__s___e___1
lea ecx, [esp + 0x20]
push 0x208
push ecx
call fcn.004f67e6
mov eax, dword [esp + 0x24]
add esp, 0x1c
push 0
lea edx, [esp + 0x10]
push edx
push 1
push str.ShellOpenCommand
push eax
call esi
test eax, eax
jne 0x440f5b
lea edi, [eax + 1]
mov eax, dword [esp + 8]
test eax, eax
je 0x440f6a
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x41c]
mov eax, edi
pop edi
pop esi
xor ecx, esp
call fcn.004f673f
add esp, 0x418
ret
Function at 0x441130
Capabilities:
Check os version

Disassembly:
push esi
mov esi, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
cmp ecx, 0x110
jne 0x441166
mov edi, esi
mov dword [esi + 0x20], 1
call fcn.004418b0
mov dword [ebx], eax
cmp dword [esi + 0x20], 0
je 0x441274
mov eax, 1
pop edi
pop esi
ret 8
cmp ecx, 0x111
jne 0x4411a6
mov ecx, 2
cmp cx, ax
jne 0x441274
lea edx, [esp + 0x10]
push edx
push ecx
mov dword [esp + 0x18], 1
call fcn.00441f90
cmp dword [esp + 0x10], 0
mov dword [ebx], eax
je 0x441274
mov eax, 1
pop edi
pop esi
ret 8
cmp ecx, 2
jne 0x4411d2
push esi
mov dword [esi + 0x20], 1
call fcn.00441f00
mov dword [ebx], 0
cmp dword [esi + 0x20], 0
je 0x441274
mov eax, 1
pop edi
pop esi
ret 8
cmp ecx, 0xf
jne 0x4411ee
push ecx
mov ecx, esp
mov dword [esi + 0x20], 1
mov dword [esp + 0x14], esp
mov dword [ecx], eax
call fcn.00441bb0
jmp 0x4411b8
cmp ecx, 0x139f
jne 0x441209
mov ecx, edi
call fcn.00442100
mov dword [ebx], eax
mov eax, 1
pop edi
pop esi
ret 8
cmp ecx, 0x83
jne 0x441274
cmp dword [0x65dc60], 0
mov esi, 1
jne 0x441230
push 0x623ae0
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [0x65dc60], esi
cmp dword [0x623af0], 2
jne 0x441269
cmp dword [0x623ae4], 5
jne 0x441269
cmp dword [0x623ae8], esi
jne 0x441269
add dword [edi + 4], 0x15
add dword [edi], 3
mov eax, 0xfffffffd
add dword [edi + 0xc], eax
add dword [edi + 8], eax
mov dword [ebx], 0
test esi, esi
jmp 0x4411c2
xor esi, esi
mov dword [ebx], esi
test esi, esi
jmp 0x4411c2
pop edi
xor eax, eax
pop esi
ret 8
Function at 0x441420
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x597206
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x238]
push 0x104
lea eax, [esp + 0x20]
push eax
push 0
mov dword [esp + 0x1c], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [esp + 0x1c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x1c]
push ecx
push str._s360MobileMgr.exe
lea edi, [esp + 0x18]
mov dword [esp + 0x238], 0
call fcn.00407710
mov esi, dword [esp + 0x18]
add esp, 8
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x441508
push ebp
mov ecx, 0x5d74e0
call fcn.004066b0
lea eax, [esi - 0x10]
mov dword [esp + 0x230], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44159d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x44159d
lea ecx, [esp + 0x14]
push ecx
mov ecx, 0x5d74e0
call fcn.004066b0
lea edx, [esp + 0x14]
push edx
push ecx
add esi, 0xfffffff0
mov eax, esi
mov byte [esp + 0x238], 1
mov dword [esp + 0x20], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
mov dword [edi], eax
call fcn.004415d0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004073f0
add eax, 0x10
mov dword [ebp], eax
mov byte [esp + 0x230], 0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441579
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x230], 0xffffffff
lea ecx, [esi + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44159d
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push esi
call edx
mov eax, ebp
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004f673f
add esp, 0x224
ret 4
Function at 0x4415d0
Capabilities:
Get file version info

Disassembly:
push 0xffffffffffffffff
push 0x597138
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
xor edi, edi
mov dword [esp + 0x2c], edi
mov ecx, dword [esp + 0x34]
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x1c], edi
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, edi
jne 0x441637
mov dword [esp + 0x2c], 0xffffffff
mov eax, dword [esp + 0x34]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x4416fb
push esi
call fcn.004f499a
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x38]
add esp, 4
mov edi, eax
push edi
push esi
push ecx
push edx
mov dword [esp + 0x2c], edi
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x4416d6
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0x5d7f4c
push edi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4416d6
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
movzx esi, word [eax + 0xa]
movzx edi, word [eax + 8]
movzx ebx, word [eax + 0xe]
movzx ebp, word [eax + 0xc]
push edx
call fcn.004f744f
push ebp
push ebx
push edi
mov edi, dword [esp + 0x48]
push esi
push 0x5d7f50
call fcn.00407710
mov dword [esp + 0x44], 0xffffffff
mov eax, dword [esp + 0x4c]
add eax, 0xfffffff0
add esp, 0x18
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4416cf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x441709
push edi
call fcn.004f744f
mov dword [esp + 0x30], 0xffffffff
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
add esp, 4
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x441707
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 8
Function at 0x441f90
Capabilities:
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x596968
mov eax, dword fs:[0]
push eax
push ecx
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 8]
mov dword fs:[0], eax
lea eax, [esp + 4]
push eax
mov ecx, str.360MobileMgr
call fcn.004066b0
lea ecx, [esp + 4]
push ecx
lea edx, [esi + 0x24]
push edx
mov dword [esp + 0x18], 0
call fcn.0043b740
test eax, eax
je 0x441ffc
mov eax, dword [esi + 4]
push 0x31
push 0x5de9ac
push 0x5deaa8
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 1
jne 0x44202b
push 0
call fcn.00441280
push esi
call fcn.00441f00
movzx ecx, word [esp + 0x18]
mov edx, dword [esi + 4]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndDialog]
mov eax, dword [esp + 0x1c]
push 0
mov dword [eax], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [esp + 4]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x442053
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 8]
mov dword fs:[0], ecx
pop ecx
add esp, 0x10
ret 8
Function at 0x442200
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5971b6
mov eax, dword fs:[0]
push eax
sub esp, 0x21c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x218], eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
push 0x104
lea eax, [esp + 0x20]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x1c]
push ecx
call esi
lea edx, [esp + 0x1c]
push edx
call esi
lea eax, [esp + 0xc]
push eax
mov ecx, 0x5d74e0
call fcn.004066b0
lea ecx, [esp + 0x1c]
push ecx
push str._s360ver.dll
lea edi, [esp + 0x14]
mov dword [esp + 0x238], 0
call fcn.00407710
mov edx, dword [esp + 0x14]
add esp, 8
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4422d0
mov dword [esp + 0x230], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4422c9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x44239c
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
mov dword [esp + 0x14], 0
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x1c]
mov byte [esp + 0x234], 1
mov eax, dword [esp + 0x10]
push edx
push eax
call fcn.0040cc40
movzx ecx, word [esp + 0x14]
push ecx
push 0x5d7fe4
lea edi, [esp + 0x18]
call fcn.00407710
mov esi, dword [esp + 0x18]
push esi
call fcn.004f7d3f
mov ecx, eax
mov eax, 0x10624dd3
imul ecx
sar edx, 6
mov eax, edx
shr eax, 0x1f
add eax, edx
xor edx, edx
add esp, 0xc
cmp eax, 1
sete dl
lea eax, [esi - 0x10]
mov byte [esp + 0x230], 0
lea ecx, [eax + 0xc]
mov edi, edx
mov edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44236f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x230], 0xffffffff
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x44239a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.004f673f
add esp, 0x228
ret
Function at 0x4462f0
Capabilities:
Read file on windows

Disassembly:
push ecx
mov eax, dword [eax]
push esi
push edi
push 0x5dee8c
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x14], 0
call fcn.004f92b0
add esp, 0xc
test eax, eax
jne 0x44638c
mov eax, dword [esp + 8]
test eax, eax
je 0x44638c
push 2
push 0
push eax
call fcn.004f9855
mov edx, dword [esp + 0x14]
push edx
call fcn.004f975d
push 0
mov edi, eax
mov eax, dword [esp + 0x1c]
push 0
push eax
call fcn.004f9855
push edi
call fcn.004f499a
push edi
mov esi, eax
push 0
push esi
call fcn.004fe380
mov ecx, dword [esp + 0x34]
push ecx
push edi
push 1
push esi
call fcn.004f95a3
mov edx, dword [esp + 0x44]
push edx
call fcn.004f9951
add esp, 0x40
push edi
mov eax, esi
call fcn.00446290
add esp, 4
mov edi, eax
test esi, esi
je 0x446386
push esi
call fcn.004f744f
add esp, 4
mov eax, edi
pop edi
pop esi
pop ecx
ret
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x44afb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5a15d3
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x54], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi], vtable.VDialogImpl_class_CDlgUninstallCommon__struct_VWindow_.1.0
mov dword [esi + 0x38], vtable.VDialogImpl_class_CDlgUninstallCommon__struct_VWindow_.0
lea eax, [esi + 0x6c]
push eax
mov dword [esp + 0x18], edi
call fcn.0043e280
mov byte [esp + 0x14], 1
mov dword [esi + 0xa8], 1
mov dword [esi], vtable.CDlgUninstallCommon.0
mov dword [esi + 0x38], vtable.CDlgUninstallCommon.1.0
mov dword [esi + 0xac], edi
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esi + 0xc0], eax
lea ecx, [esi + 0xc4]
push ecx
mov ecx, 0x5d74e0
mov byte [esp + 0x18], 2
call fcn.004066b0
mov edx, dword [0x6285c4]
mov eax, dword [edx + 0xc]
mov ecx, 0x6285c4
call eax
add eax, 0x10
mov dword [esi + 0xc8], eax
mov dword [esi + 0xcc], edi
mov dword [esi + 0xd0], edi
mov dword [esi + 0xd8], edi
mov dword [esi + 0xdc], 1
mov dword [esi + 0xe0], edi
mov dword [esi + 0xe4], edi
mov dword [esi + 0xe8], edi
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x457a40
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esp + 4], 0
je 0x457a56
mov eax, dword [ecx + 0x54]
push 1
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
mov ecx, dword [ecx + 0x54]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4

Function at 0x458bb0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x5937c6
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
xor edi, edi
xor eax, eax
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi], vtable.CSomTextWnd.0
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esi + 0x28], eax
mov dword [esp + 0x14], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x34], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x68], edi
mov byte [esp + 0x14], 3
or eax, 0xffffffff
mov dword [esi + 0x48], eax
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], eax
mov eax, dword [0x660254]
mov dword [esi + 0x40], 0x984e00
mov dword [esi + 0x44], 0xda7003
mov dword [esi + 0x4c], edi
mov ecx, dword [eax + 0x58]
mov dword [esi + 0x38], ecx
mov edx, dword [esi]
mov eax, dword [edx + 0x64]
mov ecx, esi
call eax
cmp dword [esi + 0x3c], edi
je 0x458c73
mov ecx, dword [esi + 0x1c]
mov dword [esi + 0x3c], edi
cmp ecx, edi
je 0x458c73
mov edx, dword [ecx]
mov eax, dword [edx + 0x28]
push edi
push edi
push edi
push esi
call eax
mov eax, esi
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0xc
ret 4
Function at 0x459a50
Capabilities:
Create process on windows

Disassembly:
sub esp, 0xc
push esi
mov esi, ecx
mov eax, dword [esi + 0x54]
cmp eax, 0xffffffff
je 0x459b22
push ebx
xor ebx, ebx
cmp eax, ebx
mov dword [esi + 0x54], 0xffffffff
jl 0x459bc7
cmp eax, dword [esi + 0x30]
jge 0x459bc7
mov ecx, dword [esi + 0x1c]
push edi
cmp ecx, ebx
je 0x459a9d
mov edx, dword [ecx]
mov edx, dword [edx + 0x28]
lea edi, [eax + 1]
push edi
mov edi, dword [esi + 0x2c]
shl eax, 5
push ebx
lea eax, [eax + edi + 4]
push eax
push esi
call edx
mov eax, dword [esi + 0x50]
cmp eax, 0xffffffff
je 0x459b20
cmp eax, ebx
jl 0x459bb8
cmp eax, dword [esi + 0x30]
jge 0x459bb8
mov ecx, dword [esi + 0x2c]
shl eax, 5
mov edi, dword [eax + ecx + 0x1c]
push 7
push str.button:
push edi
call fcn.004f9ab7
add esp, 0xc
test eax, eax
jne 0x459b3b
add edi, 0xe
cmp word [edi], 0x30
jne 0x459af9
movzx eax, word [edi + 2]
cmp ax, 0x78
je 0x459aed
cmp ax, 0x58
jne 0x459af9
push 0x10
lea edx, [esp + 0x18]
push edx
add edi, 4
jmp 0x459b00
push 0xa
lea eax, [esp + 0x18]
push eax
push edi
call fcn.004f7cd2
add esp, 0xc
cmp dword [esi + 0x68], ebx
je 0x459b27
mov byte [esp + 0x10], bl
mov ecx, dword [esp + 0x10]
push ecx
push esi
lea eax, [esi + 0x58]
call fcn.004603c0
pop edi
pop ebx
pop esi
add esp, 0xc
ret
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 0x14]
push ebx
push esi
call eax
pop edi
pop ebx
pop esi
add esp, 0xc
ret
push 4
push str.msg:
push edi
call fcn.004f9ab7
add esp, 0xc
test eax, eax
jne 0x459ba0
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0x14]
push edx
lea eax, [esp + 0x1c]
push eax
push str._u__u__u
add edi, 8
push edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ebx
call fcn.004f87c7
add esp, 0x14
cmp eax, 3
jne 0x459b20
mov eax, dword [esp + 0xc]
mov ecx, dword [esi + 0x1c]
mov edx, dword [ecx]
mov edx, dword [edx + 0x10]
push eax
mov eax, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x1c]
push eax
call edx
pop edi
pop ebx
pop esi
add esp, 0xc
ret
push 1
push ebx
push ebx
push edi
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
pop edi
pop ebx
pop esi
add esp, 0xc
ret
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
push ebx
push ebx
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
Function at 0x45a9b0
Capabilities:
Hide graphical window

Disassembly:
push ecx
cmp dword [esp + 0x1c], 0
push ebx
push ebp
push esi
push edi
mov esi, ecx
jne 0x45aba1
mov ecx, dword [esp + 0x28]
mov ebx, dword [esp + 0x20]
mov ebp, dword [esp + 0x24]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
push ecx
lea eax, [esi + 0x30]
push ebx
mov dword [esp + 0x34], eax
push eax
mov ecx, ebp
mov eax, edi
call fcn.00457670
test eax, eax
jne 0x45aa54
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
push edx
push edi
lea edi, [esi + 0xa0]
mov ecx, ebp
mov edx, ebx
call fcn.00460710
test eax, eax
jne 0x45aa54
mov eax, dword [esp + 0x1c]
cmp eax, 0x201
jne 0x45aa61
mov eax, dword [esi + 4]
push 0
push 0xf012
push 0x112
push eax
mov dword [esp + 0x2c], 1
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [esp + 0x2c]
lea ecx, [esp + 0x1c]
push ecx
mov eax, ebp
call fcn.00458030
cmp dword [esp + 0x1c], 0
mov edx, dword [esp + 0x28]
mov dword [edx], eax
je 0x45aba1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp eax, 5
jne 0x45aaa9
mov dword [esp + 0x1c], 1
cmp ebx, 1
je 0x45aa87
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
mov ebx, esi
call fcn.0045b020
mov ecx, dword [esp + 0x1c]
jmp 0x45aa8e
xor ecx, ecx
mov eax, 1
mov edx, dword [esp + 0x28]
mov dword [edx], eax
test ecx, ecx
je 0x45aba1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp eax, 0x110
jne 0x45aae0
push esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 1
call fcn.0045ad60
cmp dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
je 0x45aba1
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
cmp eax, 0x111
jne 0x45aba1
mov edx, 0x403
cmp dx, bx
jne 0x45ab18
mov eax, dword [esi + 4]
push 2
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esp + 0x28]
mov dword [ecx], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov edx, 0x404
cmp dx, bx
jne 0x45ab5b
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
test eax, eax
je 0x45ab38
mov ecx, dword [esi + 4]
push 9
push ecx
jmp 0x45ab3e
mov edx, dword [esi + 4]
push 3
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esp + 0x28]
mov dword [eax], 0
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret 0x18
mov ecx, ebx
shr ecx, 0x10
xor edx, edx
cmp dx, cx
jne 0x45aba1
lea eax, [ebx - 1]
cmp ax, 0xa
ja 0x45aba1
movzx ecx, bx
lea edi, [edx + 1]
mov edx, dword [esi + 0x88]
push ecx
push edx
call dword [sym.imp.USER32.dll_EndDialog]
cmp dword [esi + 0x1ec], 0
je 0x45ab8f
xor edi, edi
mov eax, dword [esp + 0x28]
mov dword [eax], 0
test edi, edi
jne 0x45ab0b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret 0x18
Function at 0x45b6f0
Capabilities:
Check os version

Disassembly:
sub esp, 0x118
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x114], eax
push 0x110
lea eax, [esp + 8]
push 0
push eax
call fcn.004fe380
add esp, 0xc
lea ecx, [esp]
push ecx
mov dword [esp + 4], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov ecx, dword [esp + 0x114]
xor eax, eax
cmp dword [esp + 4], 6
sete al
xor ecx, esp
call fcn.004f673f
add esp, 0x118
ret