joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1004635c
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push str.renderObjectTexts__
call fcn.1005b96b
xor esi, esi
push esi
push 0xffffffffffffffff
call fcn.1002adb8
mov ecx, dword [0x1015c888]
add esp, 0xc
mov ebx, eax
cmp dword [ecx + 0xd09f], esi
jne 0x10046501
test ebx, ebx
je 0x10046501
mov ecx, dword [0x1018d148]
mov ecx, dword [ecx + 0x3de]
cmp dword [ecx + 0x14], esi
je 0x10046501
push 9
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100463c5
cmp dword [0x101709a0], esi
jne 0x10046501
mov eax, dword [0x1018d160]
cmp dword [eax], esi
jne 0x10046501
push edi
mov edi, 0x20d4
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
cmp dword [edi + eax - 0x20d0], 1
jne 0x100464f0
mov eax, dword [edi + eax]
test eax, eax
je 0x100464f0
mov eax, dword [eax + 0x40]
test eax, eax
je 0x100464f0
mov eax, dword [eax + 0x14]
lea ecx, [ebp - 0x10]
push ecx
add eax, 0x30
push eax
call fcn.1003f6bd
lea eax, [ebp - 0x10]
push eax
call fcn.1003f7b3
add esp, 0xc
test eax, eax
jne 0x100464f0
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.1003f6cd
fstp dword [ebp - 4]
movss xmm0, dword [ebp - 4]
comiss xmm0, dword [0x10187b79]
pop ecx
pop ecx
ja 0x100464f0
movss xmm0, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
movss dword [ebp - 0x1c], xmm0
movss xmm0, dword [ebp - 0xc]
push eax
movss dword [ebp - 0x18], xmm0
lea eax, [ebp - 0x1c]
movss xmm0, dword [ebp - 8]
push eax
movss dword [ebp - 0x14], xmm0
call fcn.100030b8
movss xmm0, dword [0x10083148]
comiss xmm0, dword [ebp - 0x20]
pop ecx
pop ecx
ja 0x100464f0
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x14]
mov eax, dword [eax + edi]
mov eax, dword [eax + 0x40]
movzx eax, word [eax + 0x22]
push eax
push esi
push str.Object:__d__ModelID:__d
lea eax, [ebp - 0x48]
push 0x1f
push eax
call fcn.10043254
movss xmm0, dword [ebp - 0x24]
lea eax, [ebp - 0x48]
subss xmm0, dword [0x10089688]
add esp, 0x14
push eax
push 0xffc8c800
push ecx
push ecx
mov ecx, dword [0x10194f24]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x28]
movss dword [esp], xmm0
call fcn.10042e7f
add edi, 4
inc esi
cmp edi, 0x41a4
jl 0x100463d8
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10046685
Capabilities:
Log keystrokes via polling

Disassembly:
sub esp, 0x48
push ebp
push str.renderPickupTexts__
call fcn.1005b96b
mov eax, dword [0x1015c888]
xor ebp, ebp
pop ecx
cmp dword [eax + 0xd09f], ebp
jne 0x1004682c
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
cmp dword [eax + 0x10], ebp
je 0x1004682c
push ebx
push ebp
push 0xffffffffffffffff
call fcn.1002adb8
pop ecx
pop ecx
push 9
mov ebx, eax
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
test ax, ax
jns 0x100466e1
cmp dword [0x101709a0], ebp
jne 0x1004682b
mov eax, dword [0x1018d160]
cmp dword [eax], ebp
jne 0x1004682b
test ebx, ebx
je 0x1004682b
push esi
push edi
mov edi, ebp
mov esi, ebp
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
cmp dword [eax + esi + 0xf004], ebp
je 0x10046819
cmp dword [eax + esi + 0xf008], ebp
je 0x10046819
lea ecx, [esp + 0x14]
add eax, 0xf00c
push ecx
add eax, esi
push eax
call fcn.1003f6bd
lea eax, [esp + 0x1c]
push eax
call fcn.1003f7b3
add esp, 0xc
test eax, eax
jne 0x10046819
mov eax, dword [ebx + 0x14]
add eax, 0x30
push eax
lea eax, [esp + 0x18]
push eax
call fcn.1003f6cd
fstp dword [esp + 0x18]
movss xmm0, dword [esp + 0x18]
comiss xmm0, dword [0x10187b71]
pop ecx
pop ecx
ja 0x10046819
movss xmm0, dword [esp + 0x14]
lea eax, [esp + 0x2c]
movss dword [esp + 0x20], xmm0
movss xmm0, dword [esp + 0x18]
push eax
movss dword [esp + 0x28], xmm0
lea eax, [esp + 0x24]
movss xmm0, dword [esp + 0x20]
push eax
movss dword [esp + 0x30], xmm0
call fcn.100030b8
movss xmm0, dword [0x10083148]
comiss xmm0, dword [esp + 0x3c]
pop ecx
pop ecx
ja 0x10046819
mov eax, dword [0x1018d148]
mov eax, dword [eax + 0x3de]
mov eax, dword [eax + 0x10]
push dword [eax + esi + 0xf004]
lea eax, [esp + 0x3c]
push edi
push str.Pickup:__d__ModelID:__d
push 0x1f
push eax
call fcn.10043254
movss xmm0, dword [esp + 0x44]
lea eax, [esp + 0x4c]
subss xmm0, dword [0x10089688]
add esp, 0x14
push eax
push 0xff00c800
push ecx
push ecx
mov ecx, dword [0x10194f24]
movss dword [esp + 4], xmm0
movss xmm0, dword [esp + 0x3c]
movss dword [esp], xmm0
call fcn.10042e7f
add esi, 0x14
inc edi
cmp esi, 0x14000
jl 0x100466fc
pop edi
pop esi
pop ebx
pop ebp
add esp, 0x48
ret
Function at 0x10048dab
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov eax, dword [0x1015c888]
sub esp, 0x34
push ebx
push ebp
xor ebx, ebx
mov ebp, 0x3e8
cmp byte [eax + 0x23ba], 1
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
jne 0x10048ecd
call esi
sub eax, dword [0x1019a58c]
cmp eax, ebp
jbe 0x10048de9
inc dword [0x1019a588]
call esi
mov dword [0x1019a58c], eax
lea eax, [esp + 0xc]
mov dword [esp + 0xc], 0x4534e000
push ebx
push eax
mov dword [esp + 0x18], 0xc500e000
mov dword [esp + 0x1c], 0x408947ae
call fcn.1002f656
cmp dword [0x1019a588], 2
pop ecx
pop ecx
jl 0x10048ecd
mov eax, dword [0x1015c888]
cmp byte [eax + 0x23b5], 1
jne 0x10048ecd
mov ecx, dword [0x1018d138]
push edi
push ebx
push 1
mov edi, 0x7fbc
push edi
call fcn.1003fdaa
mov ecx, dword [0x1018d138]
push 0x10082624
push 0xa
push 1
push edi
call fcn.1003fe59
xor eax, eax
mov dword [esp + 0x34], ebx
push 0x12
mov word [esp + 0x32], ax
xor ecx, ecx
pop eax
mov word [esp + 0x2c], ax
inc ecx
push 0x1c
lea eax, [esp + 0x2c]
mov dword [esp + 0x2c], ecx
push eax
push ecx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x3c], 2
call dword [sym.imp.USER32.dll_SendInput]
mov eax, dword [0x1015c888]
push ebx
mov dword [0x1019a588], ebx
mov byte [eax + 0x23ba], bl
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x24], 0x45366000
mov dword [esp + 0x28], 0xc5022000
mov dword [esp + 0x2c], 0x3efae148
call fcn.1002f656
push str._baliktut
call fcn.10040f6d
add esp, 0xc
pop edi
mov eax, dword [0x1015c888]
cmp byte [eax + 0x23c6], 1
jne 0x10048f25
call esi
sub eax, dword [0x1019a594]
cmp eax, ebp
jbe 0x10048ef4
inc dword [0x1019a590]
call esi
mov dword [0x1019a594], eax
cmp dword [0x1019a590], 3
jl 0x10048f25
push str._karakterdegistir
call fcn.10040f6d
mov eax, dword [0x1015c888]
pop ecx
mov dword [0x1019a590], ebx
mov byte [eax + 0x23c4], 1
mov eax, dword [0x1015c888]
mov byte [eax + 0x23c6], bl
mov eax, dword [0x1015c888]
cmp byte [eax + 0x23c7], 1
jne 0x10048f71
call esi
sub eax, dword [0x1019a59c]
cmp eax, ebp
jbe 0x10048f4c
inc dword [0x1019a598]
call esi
mov dword [0x1019a59c], eax
cmp dword [0x1019a598], 8
jl 0x10048f71
push str._baliktut
call fcn.10040f6d
mov eax, dword [0x1015c888]
pop ecx
mov dword [0x1019a598], ebx
mov byte [eax + 0x23c7], bl
pop esi
pop ebp
pop ebx
add esp, 0x34
ret
Function at 0x1004f988
Capabilities:
Check for time delay via gettickcount

Disassembly:
push str.getFPS__
call fcn.1005b96b
inc dword [0x10194db4]
pop ecx
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, 0xf0
cmp eax, dword [0x10194f3c]
jbe 0x1004fa21
mov eax, dword [0x10194db4]
movss xmm2, dword [0x10194da8]
movss xmm3, dword [0x10194dac]
movss xmm0, dword [0x10194da4]
shl eax, 2
and dword [0x10194db4], 0
movss dword [0x10194dac], xmm2
addss xmm2, xmm3
movss dword [0x10194db0], xmm3
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [0x10194da8], xmm0
movss dword [0x10194da4], xmm1
addss xmm1, xmm0
addss xmm1, xmm2
mulss xmm1, dword [0x10089600]
movss dword [0x10194da0], xmm1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x10194f3c], eax
fld dword [0x10194da0]
ret

Function at 0x1004fa28
Capabilities:
Check for time delay via gettickcount

Disassembly:
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1015c888]
sub eax, dword [ecx + 0x9608]
cmp eax, 0x3e8
jbe 0x1004fa5f
inc dword [ecx + 0x9604]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x1015c888]
mov dword [ecx + 0x9608], eax
mov ecx, dword [0x1015c888]
cmp dword [ecx + 0x9604], 0xa
jle 0x1004fa93
xor eax, eax
mov dword [eax + ecx + 0x8653], 0x3e9
add eax, 4
cmp eax, 0xfb0
jge 0x1004fa87
mov ecx, dword [0x1015c888]
jmp 0x1004fa6a
mov eax, dword [0x1015c888]
and dword [eax + 0x9604], 0
ret
Function at 0x1005126b
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push str.mapMenuTeleport__
call fcn.1005b96b
cmp dword [0x10187b89], 0
pop ecx
je 0x10051292
cmp byte [0xba68a5], 5
jne 0x1005133b
cmp dword [0xba6774], 0
je 0x1005133b
push dword [0x10187b85]
call dword [sym.imp.USER32.dll_GetAsyncKeyState]
cwde
test eax, 0x10000
je 0x1005133b
cmp dword [0x1019a9a4], 0
je 0x1005133b
push esi
push edi
mov esi, 0xba8720
mov edi, 0xaf
mov eax, 0x1203
cmp word [esi + 0x1d], ax
jne 0x10051331
push 0
call fcn.1002b11b
movss xmm0, dword [esi]
pop ecx
mov ecx, dword [0x1019a9a4]
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [esi + 4]
movss dword [ebp - 8], xmm0
mov eax, dword [ecx]
call dword [eax + 0x38]
movss xmm0, dword [ebp - 8]
push ecx
push ecx
mov edx, dword [eax]
mov ecx, eax
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0xc]
movss dword [esp], xmm0
call dword [edx + 0x18]
fadd dword [0x10089668]
lea eax, [ebp - 0xc]
push 0
push eax
fstp dword [ebp - 4]
call fcn.1002f656
pop ecx
pop ecx
add esi, 0x28
sub edi, 1
jne 0x100512cc
pop edi
pop esi
leave
ret
Function at 0x1005b6b9
Capabilities:
Create process on windows
Get common file path
Schedule task via at

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
push ebx
push edi
push str.init__
call fcn.1005b96b
cmp dword [0x1019a9c4], 0
pop ecx
jne 0x1005b863
push 0xe4
mov edi, 0x1019a788
push edi
push dword [0x1019a780]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
xor ebx, ebx
test eax, eax
je 0x1005b715
push 0x5c
push edi
call fcn.10061420
pop ecx
pop ecx
test eax, eax
je 0x1005b715
push 0x5c
push edi
call fcn.10061420
pop ecx
pop ecx
mov byte [eax], bl
jmp 0x1005b71e
push 0x2e
pop eax
mov word [0x1019a788], ax
push esi
push str.erosqwe_1.0_DEV
push str.Initializing__s
call fcn.1005b389
push 0x789
push str.May__4_2024_13:35:02
push str.Compiled:__s_CL:_d
call fcn.1005b389
mov eax, dword [0xc9ac08]
add esp, 0x14
mov dword [0x1019a9b4], eax
mov ecx, dword [0xc9ac0c]
mov dword [0x1019a9b8], ecx
mov edx, dword [0xc9ac10]
mov dword [0x1019a9bc], edx
mov esi, dword [0xc9ac14]
mov dword [0x1019a9c0], esi
push ecx
push edx
push esi
cmp eax, 2
jne 0x1005b782
push str.OS:_Windows_Version__d._d._d
jmp 0x1005b787
push str.OS:_Not_Windows___d._d._d_
call fcn.1005b389
add esp, 0x10
call fcn.1003e97d
pop esi
cmp dword [0x1016c124], ebx
jne 0x1005b7cf
push ebx
push str.Youre_a_retard.
push str.Looks_like_youve_not_edited_the_.ini_file_like_you_were_told_to__n_nBefore_you_can_use_mod_sa__you_have_to_set__i_have_edited_the_ini_fqle__to_true._nWe_did_this_so_you_would_read_the_INI_file_to_see_the_configurability_of_mod_sa._n
push ebx
call dword [sym.imp.USER32.dll_MessageBoxA]
push 5
push edi
push str.erosqweerosqwe.ini
push str.notepad
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
xor eax, eax
jmp 0x1005b866
call fcn.10040886
push 0xfa
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
push 0x104
lea eax, [ebp - 0x104]
push 0x1009748c
push eax
call fcn.1002d02e
add esp, 0xc
lea eax, [ebp - 0x104]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [0x1019a9c4], eax
test eax, eax
jne 0x1005b82a
lea eax, [ebp - 0x104]
push eax
push str.Failed_to_load__s
call fcn.1005b389
pop ecx
pop ecx
jmp 0x1005b7c8
push 0x100974ac
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10194ec0], eax
test eax, eax
jne 0x1005b863
lea eax, [ebp - 0x104]
push eax
push str._s_does_not_export_Direct3DCreate9__
call fcn.1005b389
pop ecx
pop ecx
push dword [0x1019a9c4]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x1005b7c8
xor eax, eax
inc eax
pop edi
pop ebx
leave
ret

Function at 0x1006f79a
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.1006f610
Function at 0x10002b10
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10012908
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x1001b008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edx, 0x10018d81
mov dword [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.10005640
test al, al
jne 0x10002bcd
mov eax, dword [ebp + 0x18]
inc eax
push eax
call fcn.10006308
add esp, 4
lea ecx, [ebp + 8]
cmp dword [ebp + 0x1c], 0x10
mov ebx, eax
mov edx, ebx
cmovae ecx, dword [ebp + 8]
sub edx, ecx
nop
mov al, byte [ecx]
lea ecx, [ecx + 1]
mov byte [edx + ecx - 1], al
test al, al
jne 0x10002b70
mov esi, ebx
lea ecx, [esi + 1]
mov al, byte [esi]
inc esi
test al, al
jne 0x10002b82
sub esi, ecx
inc esi
push esi
push 2
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push esi
mov edi, eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
call fcn.10008f60
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push 0
call dword [sym.imp.USER32.dll_OpenClipboard]
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push 1
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov edx, dword [ebp + 0x1c]
cmp edx, 0x10
jb 0x10002bfd
mov ecx, dword [ebp + 8]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10002bf3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10002c0f
push edx
push ecx
call fcn.10005d92
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
call fcn.10009690
int3
Function at 0x42859d
Capabilities:
Terminate process

Disassembly:
push 0x14
push 0x438ef0
call fcn.004290e4
push 1
call fcn.00428707
pop ecx
test al, al
jne 0x428454
push 7
call fcn.00428eac
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.004286d2
mov byte [ebp - 0x24], al
mov eax, dword [0x43f814]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x42844d
test eax, eax
jne 0x4284be
mov dword [0x43f814], ecx
push 0x42c30c
push 0x42c2f4
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm_e
pop ecx
pop ecx
test eax, eax
je 0x4284a1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x428597
push 0x42c2f0
push 0x42c2c0
call sub.api_ms_win_crt_runtime_l1_1_0.dll__initterm
pop ecx
pop ecx
mov dword [0x43f814], 2
jmp 0x4284c3
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.00428874
pop ecx
call fcn.00428ea0
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x4284f3
push esi
call fcn.004287ea
pop ecx
test al, al
je 0x4284f3
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.00428e38
call esi
call fcn.00428ea6
mov esi, eax
cmp dword [esi], edi
je 0x428511
push esi
call fcn.004287ea
pop ecx
test al, al
je 0x428511
push dword [esi]
call sub.api_ms_win_crt_runtime_l1_1_0.dll__register_thread_local_exe_atexit_callback
pop ecx
call fcn.00428fc2
movzx eax, ax
push eax
call sub.api_ms_win_crt_runtime_l1_1_0.dll__get_narrow_winmain_command_line
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.00428ff5
test al, al
jne 0x42853c
push esi
call sub.api_ms_win_crt_runtime_l1_1_0.dll_exit
test bl, bl
jne 0x428545
call sub.api_ms_win_crt_runtime_l1_1_0.dll__cexit
push edi
push 1
call fcn.00428891
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x428597
call fcn.00429129
ret
call fcn.004282db
jmp 0x428435

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x404eba
Capabilities:
Check for time delay via gettickcount

Disassembly:
push 0xc
mov eax, 0x46c0c3
call fcn.004508b2
mov esi, ecx
push str.DownloadFiles...
lea ecx, [ebp - 0x14]
call fcn.004012e2
xor ebx, ebx
push ebx
lea eax, [ebp - 0x14]
push eax
push 2
mov dword [ebp - 4], ebx
call fcn.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x14]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [esi + 0xc0], ebx
je 0x404f07
xor eax, eax
jmp 0x404f95
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call edi
mov dword [ebp - 0x18], eax
lea eax, [esi + 0x24c]
push eax
call fcn.004182c0
mov dword [ebp - 0x14], eax
cmp dword [esi + 0xc0], ebx
je 0x404f47
lea eax, [ebp - 0xd]
push eax
push ebx
push str.UserCanceled
push str.Payload_Download_Status
mov esi, 0x4b26d8
mov byte [ebp - 0xd], bl
call fcn.00406bc3
jmp 0x404f00
call edi
sub eax, dword [ebp - 0x18]
lea ecx, [ebp - 0xd]
push ecx
dec eax
push eax
push str.Download_Update_Time
mov ecx, esi
mov byte [ebp - 0xd], bl
call fcn.00406c2e
cmp dword [ebp - 0x14], ebx
je 0x404f6b
call fcn.0041b46f
mov byte [ebp - 0xd], bl
mov eax, str.Succeeded
cmp dword [ebp - 0x14], ebx
jne 0x404f7d
mov eax, str.Failed
lea ecx, [ebp - 0xd]
push ecx
push ebx
push eax
push str.Payload_Download_Status
mov esi, 0x4b26d8
call fcn.00406bc3
mov eax, dword [ebp - 0x14]
call fcn.0045098a
ret
Function at 0x405e79
Capabilities:
Create process on windows

Disassembly:
push 4
mov eax, 0x46ac7c
call fcn.004508b2
mov ebx, ecx
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x10]
call fcn.00413a25
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00433924
pop ecx
lea ecx, [ebp + 0xc]
test eax, eax
jne 0x405ef4
push str.Failed_to_create_launcher_path
call fcn.004012e2
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x1b2c4
add ebx, 0x4d4
mov ecx, eax
lea edx, [ebp + 0xc]
call fcn.0040f2d9
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017ba
push 0xd
pop eax
jmp 0x40600e
push str.Launcher_path:
call fcn.004012e2
push edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 2
call fcn.00410886
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add esp, 0x10
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push 5
push edi
push eax
push dword [ebp - 0x10]
push edi
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, 0x271c8
mov dword [ebp + 8], eax
cmp dword [0x4b2bb4], esi
je 0x405f97
cmp eax, 0x21
jl 0x405f97
push str.ShellExecute_succeded.
lea ecx, [ebp + 0xc]
mov dword [ebx + 0xbc], 1
call fcn.004012e2
push edi
lea eax, [ebp + 0xc]
push eax
push 2
mov byte [ebp - 4], 5
call fcn.00410d56
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017ba
xor eax, eax
jmp 0x40600e
push str.ShellExecute_failed
lea ecx, [ebp + 0xc]
call fcn.004012e2
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push esi
add ebx, 0x4d4
mov ecx, eax
lea edx, [ebp + 0xc]
call fcn.0040f2d9
mov byte [ebp - 4], 0
mov ecx, dword [ebp + 0xc]
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp + 8], 5
jne 0x406000
push str.ShellExecute_failed_with_SE_ERR_ACCESSDENIED
lea ecx, [ebp + 0xc]
call fcn.004012e2
push 0
lea eax, [ebp + 0xc]
push eax
push 1
mov byte [ebp - 4], 4
call fcn.00410d56
mov ecx, dword [ebp + 0xc]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.004017ba
mov eax, dword [ebp + 8]
call fcn.0045098a
ret 8
Function at 0x4063d6
Capabilities:
Delete registry key

Disassembly:
push 0x42c
mov eax, 0x469c73
call fcn.0045091b
xor edi, edi
mov dword [ebp - 0x42c], 0x15
mov dword [esi + 0xd0], edi
cmp dword [esi + 0xc8], edi
je 0x40644a
push 0xc5
call fcn.004370c5
pop ecx
test eax, eax
je 0x40644a
push str.cleanup_serviced
lea ecx, [ebp - 0x428]
call fcn.004012e2
push edi
lea eax, [ebp - 0x428]
push eax
push 2
mov dword [ebp - 4], edi
call fcn.00410d56
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x428]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
jmp 0x406536
xor eax, eax
mov ebx, 0x206
push ebx
mov word [ebp - 0x424], ax
lea eax, [ebp - 0x422]
push edi
push eax
mov dword [ebp - 0x438], edi
call fcn.0044e740
add esp, 0xc
xor eax, eax
push ebx
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push edi
push eax
call fcn.0044e740
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x424]
push eax
lea eax, [ebp - 0x438]
push eax
call fcn.0042acf4
add esp, 0xc
test eax, eax
je 0x406553
call fcn.0043ce9a
push eax
lea ecx, [ebp - 0x428]
call fcn.00413a25
lea eax, [ebp - 0x428]
push eax
mov dword [ebp - 4], 1
call fcn.00433873
pop ecx
test eax, eax
je 0x40651c
push str._ArmCleanup
lea ecx, [ebp - 0x430]
call fcn.004012e2
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x430]
push eax
lea eax, [ebp - 0x428]
push eax
mov byte [ebp - 4], 2
call fcn.0042aa73
mov ecx, dword [ebp - 0x430]
add esp, 0xc
add ecx, 0xfffffff0
mov dword [ebp - 0x42c], eax
call fcn.004017ba
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x428]
add ecx, 0xfffffff0
call fcn.004017ba
cmp dword [ebp - 0x42c], edi
jne 0x406553
xor ebx, ebx
jmp 0x40654b
cmp ebx, 0x14
jge 0x406553
push 0xc8
inc ebx
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [esi + 0xd0], edi
je 0x40653a
cmp dword [esi + 0xd0], edi
jne 0x406592
push str.launch_cleanup_not_confirmed
lea ecx, [ebp - 0x42c]
call fcn.004012e2
push edi
lea eax, [ebp - 0x42c]
push eax
push 2
mov dword [ebp - 4], 3
call fcn.00410d56
mov ecx, dword [ebp - 0x42c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017ba
lea eax, [ebp - 0x434]
push eax
push 0xf003f
push edi
push 0x473600
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4065d0
push str.Cleanup
push dword [ebp - 0x434]
call dword [sym.imp.SHLWAPI.dll_SHDeleteKeyW]
push dword [ebp - 0x434]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.0045099e
ret