joyce8/EMBER2024-capa huggingface dataset:
Function at 0x511c70
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58d583
mov eax, dword fs:[0]
push eax
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
mov esi, dword [esp + 0x1c]
fldz
xor edi, edi
fst dword [esi + 4]
mov ecx, 0x5f7780
fst dword [esi + 8]
fst dword [esi + 0xc]
fstp dword [esi + 0x10]
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi], vtable.CBkRichtextObjBase.0
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
call edx
add eax, 0x10
mov dword [esi + 0x24], eax
mov dword [esi + 0x1c], edi
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esp + 0x14], edi
mov dword [esi], vtable.CBkRichtextObj.0
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esi + 0x2c], eax
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x44], edi
mov dword [esi + 0x34], 1
mov dword [esi + 0x30], 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 0x515390
Capabilities:
Log keystrokes

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov edi, eax
cmp edi, ebx
mov dword [esp + 0x10], ebx
jne 0x5153bf
mov eax, dword [0x5f8cb4]
cmp eax, ebx
je 0x5153b3
mov edi, dword [eax + 4]
cmp edi, ebx
jne 0x5153bf
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov edi, eax
cmp edi, ebx
je 0x5153e4
call dword [sym.imp.USER32.dll_GetDesktopWindow]
cmp edi, eax
je 0x5153e4
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x5153e4
push ebx
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
mov dword [esp + 0x10], 1
mov esi, dword [esp + 0x1c]
push ecx
mov eax, esp
push edi
mov dword [esi + 0x378], ebx
push esi
mov dword [eax], ebx
call fcn.00515510
mov ebp, eax
cmp ebp, ebx
jne 0x515415
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov eax, dword [0x5f8cb4]
cmp eax, ebx
mov dword [esp + 0x14], ebx
je 0x51542c
mov ecx, dword [eax + 4]
mov dword [esp + 0x14], ecx
mov dword [eax + 4], ebp
lea eax, [esi + 4]
push eax
mov eax, edi
call fcn.0044bbb0
cmp dword [esi + 0x36c], ebx
je 0x5154a4
push ebx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 0
push 0
push 0
push 0x2001
mov esi, eax
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
push 0x43
push 0
push 0
push 0
push 0
push 0
push ebp
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp ebx, esi
je 0x515489
push 1
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
push ebp
call dword [sym.imp.USER32.dll_SetForegroundWindow]
cmp ebx, esi
je 0x51549e
push 0
push ebx
push esi
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov esi, dword [esp + 0x1c]
xor ebx, ebx
call fcn.00515720
mov edx, dword [esi + 4]
push 0x97
push ebx
push ebx
push ebx
push ebx
push ebx
push edx
mov dword [esi + 0x378], ebx
call dword [sym.imp.USER32.dll_SetWindowPos]
cmp dword [esp + 0x10], ebx
je 0x5154e8
push 1
push edi
call dword [sym.imp.USER32.dll_EnableWindow]
cmp edi, ebx
je 0x5154e8
call dword [sym.imp.USER32.dll_GetActiveWindow]
cmp eax, dword [esi + 4]
jne 0x5154e8
push edi
call dword [sym.imp.USER32.dll_SetActiveWindow]
mov eax, dword [0x5f8cb4]
cmp eax, ebx
je 0x5154f8
mov ecx, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov edx, dword [esi + 4]
push edx
call dword [sym.imp.USER32.dll_DestroyWindow]
mov eax, dword [esi + 0x28]
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
Function at 0x515e00
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x58d4f0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
lea eax, [esp + 8]
push eax
mov ecx, 0x5adcfc
call fcn.00481430
lea ecx, [esp + 4]
push ecx
mov ecx, str.callback
mov dword [esp + 0x1c], 0
call fcn.00481430
push ecx
mov edx, esp
mov dword [esp + 0x10], esp
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov byte [esp + 0x28], 1
call fcn.0047db80
mov ecx, dword [esp + 0x24]
call fcn.00515ee0
mov byte [esp + 0x18], 0
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x515e97
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x18], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x515ebf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
add esp, 0x18
ret 8
Function at 0x5169e0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x595f2f
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov edi, dword [esp + 0x3c]
xor ebx, ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [esp + 0x34], ebx
mov dword [edi + 0x10], ebx
mov dword [edi + 0x18], ebx
mov dword [edi + 0x1c], ebx
mov dword [edi + 0x20], ebx
mov dword [edi + 0x24], ebx
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
mov byte [edi + 0x30], bl
mov dword [edi + 0x4c], 7
mov dword [edi + 0x48], ebx
mov word [edi + 0x38], bx
lea esi, [edi + 0x54]
mov byte [esp + 0x34], 2
push esi
mov byte [edi + 0x50], 0xff
call fcn.0044d3d0
mov dword [esi], vtable.boost::io::basic_altstringbuf_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__.0
mov dword [esi + 0x3c], ebx
mov byte [esi + 0x40], bl
mov dword [esi + 0x44], 3
mov byte [edi + 0xa0], bl
mov byte [esp + 0x34], 4
mov eax, str.pp_surl_stitle_s
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], ebx
mov word [esp + 0x14], bx
lea edx, [eax + 2]
jmp 0x516a90
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x516a90
sub eax, edx
sar eax, 1
push eax
push str.pp_surl_stitle_s
lea esi, [esp + 0x18]
call fcn.0043a8d0
mov eax, esi
push eax
mov ecx, edi
mov byte [esp + 0x38], 5
call fcn.00509620
cmp dword [esp + 0x28], 8
jb 0x516ad1
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00563626
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x517fc0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58a138
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
lea eax, [esp + 0x14]
xor edi, edi
push eax
mov ecx, str.gamebox
mov dword [esp + 0x30], edi
call fcn.00481430
lea ebx, [esp + 0x14]
lea esi, [esp + 0x18]
mov dword [esp + 0x24], edi
call fcn.005180e0
mov byte [esp + 0x24], 1
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
push ecx
mov ecx, eax
call fcn.00481430
mov byte [esp + 0x24], 3
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x518049
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 4
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 0x51806e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x30]
mov eax, dword [ecx]
cmp dword [eax - 0xc], edi
je 0x518082
lea edi, [esp + 0x2c]
call fcn.0047da50
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.00481090
add eax, 0x10
mov dword [ebp], eax
mov dword [esp + 0x24], 0xffffffff
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5180bc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
Function at 0x5180e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x58a0eb
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x214], eax
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
xor edi, edi
push 0x208
lea eax, [esp + 0x16]
push edi
mov dword [esp + 0x10], edi
push eax
mov word [esp + 0x1c], di
call fcn.005695a0
add esp, 0xc
lea ecx, [esp + 0x10]
push ecx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp eax, edi
je 0x5181d4
cmp eax, 0x104
jae 0x5181d4
lea eax, [esp + 0x10]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x518160
sub eax, edx
sar eax, 1
je 0x5181d4
lea edx, [esp + 8]
push edx
lea ecx, [esp + 0x14]
call fcn.00481430
mov dword [esp + 0x228], edi
mov eax, dword [ebx]
cmp dword [eax - 0xc], edi
je 0x518196
lea edi, [esp + 8]
call fcn.0047da50
mov eax, dword [esp + 8]
add eax, 0xfffffff0
call fcn.00481090
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x228], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5181df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x5181df
push esi
mov ecx, 0x5adcfc
call fcn.00481430
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop edi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.00564207
add esp, 0x224
ret
Function at 0x518240
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x592de0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x40]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x50]
lea eax, [esp + 0x50]
xor edi, edi
push eax
mov ecx, 0x5aead8
mov dword [esp + 0x54], edi
call fcn.00481430
mov edx, dword [esp + 0x54]
push 1
lea ecx, [esp + 0x54]
push ecx
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x58], edi
call fcn.0047b540
mov byte [esp + 0x48], 2
mov eax, dword [esp + 0x50]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5182c0
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
push ecx
lea eax, [esp + 0x28]
call fcn.00518380
test eax, eax
je 0x51830b
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], vtable.BkJson::Error.0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.kvip::json::document.0
mov dword [esi + 0x1c], vtable.kvip::json::handle.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
jmp 0x518355
lea eax, [esp + 0x18]
lea ecx, [esp + 0x10]
call fcn.00518540
mov dword [esi + 4], edi
mov dword [esi + 8], edi
mov dword [esi + 0xc], vtable.BkJson::Error.0
mov dword [esi + 0x10], edi
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi], vtable.kvip::json::document.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x24], edi
mov dword [esi + 0x1c], vtable.kvip::json::handle.0
mov ecx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
mov dword [esp + 0x18], vtable.BkJson::Handle.0
lea eax, [esp + 0x24]
call fcn.004679a0
mov eax, esi
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x3c
ret
Function at 0x518640
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x58a0c1
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x18], eax
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push eax
lea ecx, [esp + 0x18]
mov ebx, 1
push ecx
mov dword [esp + 0x2c], ebx
call fcn.00473e80
mov byte [esp + 0x2c], 2
mov edx, dword [eax]
push edx
push str.http:__show.liebao.cn_api_jump_yy_dst_s
lea edi, [esp + 0x20]
call fcn.00481690
mov byte [esp + 0x34], bl
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5186df
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
mov ecx, 0x5f7780
call eax
add eax, 0x10
mov dword [esi], eax
mov dword [esp + 0x18], ebx
push str.http:__show.liebao.cn_api_tlogin_tk_token_pp_pp_service
mov ebx, 0x3c
mov eax, esi
call fcn.00480ff0
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
push edx
call fcn.00473e80
add esp, 8
mov byte [esp + 0x24], 3
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push ecx
push eax
push esi
call fcn.00473c80
mov byte [esp + 0x24], 1
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 0x518752
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x24], 0
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 0x518777
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 edi
pop esi
pop ebx
add esp, 0x18
ret
Function at 0x518790
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x58d2d0
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push ebx
push ebp
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
lea eax, [esp + 0x14]
push eax
mov ecx, str.enterwebgame
call fcn.00481430
xor ebx, ebx
lea esi, [esp + 0x1c]
mov dword [esp + 0x4c], ebx
call fcn.004b6300
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x18]
mov esi, eax
push edx
mov dword [esp + 0x18], ebx
call fcn.00479280
test eax, eax
je 0x5187f2
cmp dword [esi], 2
jne 0x5187f6
xor esi, esi
jmp 0x5187fa
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
cmp eax, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x51880f
push eax
call ebp
mov dword [esp + 0x2c], ebx
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x51882f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 0xffffffff
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 0x518857
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp esi, ebx
jne 0x51890b
lea ecx, [esp + 0x10]
push ecx
mov ecx, str.enterwebgame
call fcn.00481430
lea esi, [esp + 0x30]
mov dword [esp + 0x4c], 1
call fcn.004b6300
mov esi, eax
cmp esi, ebx
je 0x51888c
mov eax, dword [esi + 0x10]
cmp eax, ebx
jne 0x518894
mov dword [esi], 0xd
jmp 0x5188b4
mov ecx, dword [esp + 0x10]
push 4
lea edx, [esp + 0x1c]
push edx
push 4
push ebx
push ecx
push eax
mov dword [esp + 0x30], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov dword [esi], eax
mov eax, dword [esp + 0x40]
cmp eax, ebx
je 0x5188c3
push eax
call ebp
mov dword [esp + 0x40], ebx
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5188e3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x4c], 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 0x51890b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x40
ret
Function at 0x5193c0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ecx
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
push esi
call ebp
mov esi, eax
mov dword [esp + 0xc], esi
call ebp
sub eax, esi
cmp eax, 0x2710
ja 0x519439
mov ebx, dword [sym.imp.USER32.dll_GetMessageW]
lea esi, [edi + 0x1c]
push 0
push 0
push 0
push 0
push esi
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x519426
push 0
push 0
push 0
push esi
call ebx
cmp eax, 0xffffffff
je 0x51942c
test eax, eax
je 0x519439
mov eax, dword [edi]
mov edx, dword [eax]
push esi
mov ecx, edi
call edx
test eax, eax
jne 0x519426
push esi
call dword [sym.imp.USER32.dll_TranslateMessage]
push esi
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp dword [edi + 0x40], 0
jne 0x519440
call ebp
sub eax, dword [esp + 0xc]
cmp eax, 0x2710
jbe 0x5193e6
pop esi
pop ebp
xor eax, eax
pop ebx
pop ecx
ret
mov eax, dword [edi + 0x44]
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0x521850
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push esi
mov esi, eax
lea eax, [esp + 4]
push eax
mov ecx, str.alarmclockused
call fcn.00481430
test esi, esi
je 0x521870
mov eax, dword [esi + 0x10]
test eax, eax
jne 0x52187a
mov dword [esi], 0xd
xor esi, esi
jmp 0x5218a4
mov edx, dword [esp + 4]
push 4
lea ecx, [esp + 0xc]
push ecx
push 4
push 0
push edx
push eax
mov dword [esp + 0x20], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi], eax
mov esi, ecx
mov eax, dword [esp + 4]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5218c4
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
pop esi
add esp, 8
ret
Function at 0x525b10
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x589e60
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x28], eax
lea ebx, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00471030
mov byte [esp + 0x20], 1
mov eax, dword [eax]
push 0x5bb9ec
push eax
push 0x5aeadc
lea edi, [esp + 0x34]
call fcn.00481690
mov byte [esp + 0x2c], 0
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
add esp, 0xc
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x525ba3
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ebx, dword [esp + 0x28]
xor esi, esi
push 0
call fcn.00564426
push esi
push edx
push eax
push ebx
push str._s_I64d_03d.scrpt
mov edi, ebp
call fcn.00481690
mov eax, dword [ebp]
add esp, 0x18
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x525c15
add esi, 1
cmp esi, 0x64
jl 0x525ba9
add ebx, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea eax, [ebx + 0xc]
or ecx, 0xffffffff
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x525bfd
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
xor eax, eax
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
add ebx, 0xfffffff0
mov dword [esp + 0x20], 0xffffffff
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x525c39
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov eax, 1
jmp 0x525bff
Function at 0x5261e0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x595b50
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [esp + 0x10]
push eax
call fcn.00525ab0
mov dword [esp + 0x28], 0
mov ecx, dword [esp + 0x10]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x526329
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00523890
test eax, eax
setne al
test al, al
je 0x526329
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x14], eax
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea eax, [esp + 0x10]
lea edi, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00480f90
mov eax, esi
lea edi, [esp + 0x14]
call fcn.00480f90
mov esi, dword [ebp + 8]
add esi, 0xc
mov ebx, edi
call fcn.00526570
mov byte [esp + 0x28], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x5262c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
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 0x5262e7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 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 0x52630f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x28], 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 0x526351
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4