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

Disassembly:
push 0xffffffffffffffff
push 0x59cfcb
mov eax, dword fs:[0]
push eax
sub esp, 0x418
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x414], eax
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x424]
mov dword fs:[0], eax
mov esi, 0x5d79d4
lea edi, [esp + 0xc]
call fcn.00407de0
mov dword [esp + 0x42c], 0
mov edx, dword [esp + 0xc]
mov eax, dword [edx - 8]
mov ecx, 1
sub ecx, dword [edx - 4]
sub eax, 0x104
or eax, ecx
jge 0x4325fa
mov ecx, 0x104
mov eax, edi
call fcn.004073a0
mov edx, dword [esp + 0xc]
push str....._sites.dll
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax - 8]
push ecx
push eax
call fcn.004f7d60
add esp, 8
test eax, eax
jl 0x432780
mov ecx, dword [esp + 0xc]
cmp eax, dword [ecx - 8]
jg 0x432780
mov dword [ecx - 0xc], eax
mov edx, dword [esp + 0xc]
xor ecx, ecx
mov word [edx + eax*2], cx
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x432751
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x222]
push edx
mov word [esp + 0x224], cx
call fcn.004fe380
mov eax, dword [str.9.0.0.1001]
mov edx, dword [0x5d8438]
mov ecx, dword [0x5d8434]
mov dword [esp + 0x1c], eax
mov eax, dword [0x5d843c]
push 0x1f2
mov dword [esp + 0x2c], eax
mov dword [esp + 0x24], ecx
mov ecx, dword [0x5d8440]
mov dword [esp + 0x28], edx
mov dx, word [0x5d8444]
lea eax, [esp + 0x36]
push 0
push eax
mov dword [esp + 0x38], ecx
mov word [esp + 0x3c], dx
call fcn.004fe380
mov edi, dword [esp + 0x24]
add esp, 0x18
cmp dword [edi - 4], 1
jle 0x4326d5
mov ecx, dword [edi - 0xc]
push ecx
lea edx, [esp + 0x10]
push edx
call fcn.00407090
mov edi, dword [esp + 0xc]
lea eax, [esp + 0x218]
push eax
call fcn.0040ee60
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x220]
push edx
call fcn.0040ecc0
add esp, 0xc
test eax, eax
jl 0x432751
mov dword [esp + 0x42c], 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 0x432726
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [esp + 0x424]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0x414]
xor ecx, esp
call fcn.004f673f
add esp, 0x424
ret
mov dword [esp + 0x42c], 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 0x43277c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x43272b
push 0x80070057
call fcn.00401050
int3
Function at 0x432790
Capabilities:
Check if file exists

Disassembly:
sub esp, 0x81c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x814], eax
test esi, esi
jne 0x4327bf
xor eax, eax
mov ecx, dword [esp + 0x814]
xor ecx, esp
call fcn.004f673f
add esp, 0x81c
ret
push str.sites.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x432823
push 0x806
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004fe380
add esp, 0xc
push str.sites.dll
push esi
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4327a8
push ecx
mov ecx, esp
mov dword [esp + 8], esp
push ecx
lea ecx, [esp + 0x10]
call fcn.004066b0
call fcn.0049daa1
add esp, 4
test eax, eax
je 0x4327a8
mov dword [edi + 4], eax
test eax, eax
je 0x432844
call fcn.00432870
mov edx, dword [edi + 4]
push str.CreateShadowEdgeInstance
push edx
mov dword [edi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x814]
xor eax, eax
cmp dword [edi + 4], eax
setne al
xor ecx, esp
call fcn.004f673f
add esp, 0x81c
ret
Function at 0x434440
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x10c
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push ebp
mov ebp, dword [esp + 0x118]
push esi
push edi
mov edi, ecx
cmp edi, 1
jge 0x43446b
mov edi, 0x1e
push str.mobileloader.ini
call fcn.00403fa0
push eax
push 0x65fa18
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [esp + 0x10]
push eax
mov ecx, 0x65fa18
call fcn.004066b0
mov ecx, dword [esp + 0x10]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push ecx
push 0
push str.lastShowTime
push str.promote
call ebx
mov esi, eax
test esi, esi
jne 0x43451a
mov edx, dword [esp + 0x10]
push edx
push eax
push str.promote
push str.main
call ebx
mov esi, eax
test esi, esi
jle 0x43451a
push 0
call fcn.004f8fbf
mov ecx, eax
sub ecx, esi
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov eax, edx
shr eax, 0x1f
add eax, edx
add esp, 4
or edx, 0xffffffff
cmp eax, edi
mov eax, dword [esp + 0x10]
jl 0x4345dc
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x434510
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
jmp 0x4345f7
push 0
call fcn.004f8fbf
mov ecx, eax
sub ecx, esi
mov eax, 0xc22e4507
imul ecx
add edx, ecx
sar edx, 0x10
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
add esp, 4
cmp ecx, edi
jl 0x434555
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jmp 0x434504
test ebp, ebp
je 0x4345d5
mov eax, ebp
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x434560
sub eax, edx
sar eax, 1
je 0x4345d5
xor ecx, ecx
push 0xfe
push ecx
lea edx, [esp + 0x22]
push edx
mov word [esp + 0x24], cx
call fcn.004fe380
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
push 0x80
lea ecx, [esp + 0x20]
push ecx
push 0x5d74e0
push str.lastToken
push str.promote
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x4345c5
lea edx, [esp + 0x18]
push ebp
push edx
call fcn.004f69f9
add esp, 8
test eax, eax
je 0x4345d5
lea ecx, [esp + 0x10]
call fcn.00406760
mov eax, 1
jmp 0x4345f7
mov eax, dword [esp + 0x10]
or edx, 0xffffffff
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4345f5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x118]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004f673f
add esp, 0x10c
ret
Function at 0x435c20
Capabilities:
Hide graphical window

Disassembly:
push ecx
mov eax, dword [ebx + 0x18]
push esi
push edi
test eax, eax
je 0x435c44
mov ecx, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push ecx
mov ecx, dword [ebx + 0x20]
push edx
push eax
mov eax, dword [ebx + 4]
push eax
push ecx
call dword [sym.imp.USER32.dll_CallWindowProcW]
push 0x7f89
push 0
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebx + 0x188], eax
push ecx
mov eax, esp
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0x620ce8
mov edx, dword [ebx + 4]
push edx
lea esi, [ebx + 0x7c]
call fcn.0043a480
push ecx
mov eax, esp
mov dword [eax], 0x5d83e0
mov eax, 0xafcb
push eax
call fcn.0040a470
mov esi, eax
mov eax, dword [ebx + 4]
mov dword [ebx + 0x154], eax
mov dword [ebx + 0x13c], 4
mov eax, dword [ebx + 0x140]
add esp, 8
test eax, eax
je 0x435cb6
cmp eax, esi
je 0x435cb6
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
mov edi, dword [sym.imp.USER32.dll_CopyRect]
push 0x620ce8
lea eax, [ebx + 0x144]
push eax
mov dword [ebx + 0x140], esi
call edi
push ecx
mov eax, esp
mov dword [ebx + 0x134], 0x15b4
mov dword [eax], 0x5d83e0
mov eax, 0xafce
push eax
call fcn.0040a470
mov esi, eax
mov eax, dword [ebx + 4]
mov dword [ebx + 0x180], eax
mov dword [ebx + 0x168], 4
mov eax, dword [ebx + 0x16c]
add esp, 8
test eax, eax
je 0x435d1b
cmp eax, esi
je 0x435d1b
push eax
call dword [sym.imp.GDI32.dll_DeleteObject]
push 0x620ce8
lea ecx, [ebx + 0x170]
push ecx
mov dword [ebx + 0x16c], esi
call edi
push ecx
mov eax, esp
mov dword [ebx + 0x160], 0x15b5
mov dword [eax], 0
push ecx
mov eax, esp
mov dword [eax], 0x620ce8
mov edx, dword [ebx + 4]
push edx
lea esi, [ebx + 0x284]
call fcn.0043a4e0
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x435d6f
mov eax, dword [ebx + 0x288]
push 0
push eax
call esi
mov eax, 0x65e5a8
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x435d77
sub eax, edx
sar eax, 1
jne 0x435d9c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov edx, eax
mov ecx, 0x65e3a0
call fcn.0040efc0
push str.mobileloader.ini
push 0x65e5a8
push 0x5d7f74
lea edi, [ebx + 0x1d4]
call fcn.00407710
mov ecx, dword [ebx + 4]
add esp, 0xc
push 0
push ecx
call esi
mov edx, dword [ebx + 4]
push 0
push 0x5dc
push 0x64
push edx
mov dword [ebx + 0x1a8], 0
mov dword [ebx + 0x1a0], 0
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
xor eax, eax
pop esi
pop ecx
ret
Function at 0x435e30
Capabilities:
Terminate thread

Disassembly:
mov eax, dword [esi + 4]
push edi
push 0x64
push eax
call dword [sym.imp.USER32.dll_KillTimer]
xor edi, edi
cmp dword [esi + 0x18c], edi
je 0x435e5e
mov ecx, dword [esi + 0x18c]
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x435e5e
mov dword [esi + 0x18c], edi
mov eax, dword [esi + 0x1b8]
cmp eax, edi
je 0x435e9d
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x435e8a
mov edx, dword [esi + 0x1b8]
push 1
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [esi + 0x1b8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x1b8], edi
mov dword [esi + 0x64], edi
pop edi
ret

Function at 0x4360d0
Capabilities:
Hide graphical window

Disassembly:
cmp dword [esi + 0x280], 0
push edi
je 0x436124
mov eax, dword [esi + 4]
push 0x66
push eax
call dword [sym.imp.USER32.dll_KillTimer]
mov edi, 4
mov eax, esi
call fcn.004361e0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
lea edx, [esi + 0x310]
push edx
lea ecx, [esi + 0x2fc]
push ecx
push 0x65d
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret
cmp dword [esi + 0x310], 5
jne 0x436159
mov eax, dword [esi + 4]
push 2
push 1
push 0x65a
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
ret
cmp dword [esi + 0x1dc], 2
je 0x4361cf
mov edi, 1
mov eax, esi
call fcn.004361e0
test eax, eax
jne 0x436184
mov edx, dword [esi + 4]
push 2
push edi
push 0x65a
push edx
call dword [sym.imp.USER32.dll_SendMessageW]
cmp dword [esi + 0x218], 0
push 1
jne 0x4361ca
mov ecx, dword [esi + 4]
lea eax, [esi + 0x1e8]
push eax
push ecx
mov dword [esi + 0x1dc], 2
call dword [sym.imp.USER32.dll_InvalidateRect]
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
mov edx, dword [esi + 4]
push 0
push 0
push 0x659
push edx
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
ret
call fcn.00437ea0
pop edi
ret
Function at 0x4362d0
Capabilities:
Hide graphical window

Disassembly:
push ecx
push ebx
push edi
mov edi, 2
cmp dword [esi + 0x1e0], edi
jae 0x4363d8
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, esi
call fcn.004361e0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x436310
mov ecx, dword [esi + 4]
push 1
push 1
push 0x65a
push ecx
call ebx
cmp dword [esi + 0x218], 0
jne 0x436363
mov eax, dword [esi + 4]
push 1
lea edx, [esi + 0x1f8]
push edx
push eax
mov dword [esi + 0x1e0], edi
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
push str.ChooseNeverNotify
push str.adapter
mov ecx, esi
call fcn.00437ab0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x7d0
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
pop edi
pop ebx
pop ecx
ret
mov eax, dword [esi + 0x310]
cmp eax, edi
jne 0x43639a
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4363d8
mov eax, dword [esi + 4]
push eax
call edi
push 0
push 0
push 0x65b
push eax
call ebx
pop edi
pop ebx
pop ecx
ret
cmp eax, 1
jne 0x4363aa
push 0
call fcn.00437ea0
pop edi
pop ebx
pop ecx
ret
cmp eax, 5
jne 0x4363d8
mov ecx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push ecx
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4363d8
mov edx, dword [esi + 4]
push edx
call edi
push 0
push 0
push 0x65b
push eax
call ebx
pop edi
pop ebx
pop ecx
ret
Function at 0x4363e0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push ecx
push ebx
push esi
mov esi, eax
mov eax, dword [esi + 0x130]
mov eax, dword [eax + 4]
lea ecx, [esi + 0x130]
push edi
lea edx, [ebp + 8]
push edx
call eax
mov eax, dword [esi + 0x1b4]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
test eax, eax
jne 0x436445
cmp dword [esi + 0x1dc], 3
je 0x4364d5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [esi + 0x1e8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4364d5
call fcn.004360d0
jmp 0x4364d5
cmp eax, 1
jne 0x43647b
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [esi + 0x228]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4364d5
mov ecx, dword [esi + 4]
push 2
push 1
push 0x65a
push ecx
call edi
mov ecx, esi
call fcn.00438860
jmp 0x4364af
cmp eax, 2
jne 0x4364d5
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [esi + 0x244]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4364d5
mov ecx, dword [esi + 4]
push 2
push 1
push 0x65a
push ecx
call edi
mov ebx, esi
call fcn.00438a40
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [esi + 4]
push eax
call dword [sym.imp.USER32.dll_GetParent]
push 0
push 0x7d0
push 1
push eax
call dword [sym.imp.USER32.dll_SetTimer]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push ecx
push edx
lea eax, [esi + 0x1f8]
push eax
call dword [sym.imp.USER32.dll_PtInRect]
test eax, eax
je 0x4364fc
cmp dword [esi + 0x1b4], 0
jne 0x4364fc
call fcn.004362d0
mov ecx, dword [esi + 4]
push ecx
call dword [sym.imp.USER32.dll_SetFocus]
movzx edx, word [ebp + 0xc]
movzx eax, word [ebp + 8]
mov ecx, dword [esi + 4]
shl edx, 0x10
or edx, eax
push edx
push 2
push 0xa1
push ecx
mov dword [esi + 0x64], 0
call edi
mov edx, dword [esi + 0x15c]
mov edx, dword [edx + 4]
lea ecx, [esi + 0x15c]
lea eax, [ebp + 8]
push eax
call edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x437a10
Capabilities:
Hide graphical window

Disassembly:
push edi
push 0
call fcn.004f8fbf
add esp, 4
push eax
push str.LastShowTime
push str.loader_timer
mov ecx, esi
call fcn.00437ab0
push 0x168
push str.UnNotifyHours
push str.loader_timer
mov ecx, esi
call fcn.00437ab0
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
mov dword [esi + 0x20c], 1
call edi
cmp dword [esi + 0x1b4], 1
jne 0x437a6f
mov ecx, dword [esi + 0x288]
push 0
push ecx
call edi
cmp dword [esi + 0x27c], 0
jne 0x437aa9
mov edx, dword [esi + 4]
mov edi, dword [sym.imp.USER32.dll_GetParent]
push edx
call edi
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x437aa9
cmp dword [esp + 8], 0
je 0x437aa9
mov eax, dword [esi + 4]
push eax
call edi
push 0
push 0
push 0x10
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
ret 4

Function at 0x437ab0
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x595438
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x1d4]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437b27
mov eax, dword [esi + 0x1d4]
push 0
push 0x80
push 2
push 0
push 0
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
jne 0x437b20
xor eax, eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [0x6285c4]
mov edx, dword [eax + 0xc]
mov ecx, 0x6285c4
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [esp + 0x28]
push eax
push 0x5d7fe4
lea edi, [esp + 0x14]
mov dword [esp + 0x20], 0
call fcn.00407710
mov esi, dword [esi + 0x1d4]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x28]
add esp, 8
push esi
mov esi, dword [esp + 0x10]
push esi
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x437b9d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x10
ret 0xc
Function at 0x437cd0
Capabilities:
Check if file exists

Disassembly:
sub esp, 8
push ebx
push ebp
mov ebp, dword [esp + 0x14]
mov eax, dword [ebp + 0x1d4]
push esi
push edi
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x437cff
mov ecx, ebp
call fcn.00437bc0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
mov esi, dword [ebp + 0x1d4]
lea eax, [ebp + 0x68]
push eax
mov ebx, str.LastShowTime
mov edi, str.loader_timer
mov dword [esp + 0x18], eax
call fcn.00437df0
mov esi, dword [ebp + 0x1d4]
lea eax, [ebp + 0x6c]
add esp, 4
push eax
mov ebx, str.UnNotifyHours
mov dword [esp + 0x20], eax
call fcn.00437df0
mov esi, dword [ebp + 0x1d4]
lea eax, [ebp + 0x70]
add esp, 4
push eax
mov ebx, str.ChooseNeverNotify
mov edi, str.adapter
call fcn.00437df0
mov esi, dword [ebp + 0x1d4]
lea eax, [ebp + 0x1e4]
add esp, 4
push eax
mov ebx, str.UninstallDelay
mov edi, str.loader_timer
call fcn.00437df0
add esp, 4
cmp dword [ebp + 0x70], 1
je 0x437cf3
cmp dword [ebp + 0x1e4], 0
jne 0x437d8f
mov ecx, ebp
call fcn.00437bc0
push 0
call fcn.004f8fbf
mov ecx, dword [esp + 0x18]
mov ecx, dword [ecx]
add esp, 4
cmp ecx, 0xffffffff
jne 0x437db3
mov eax, 1
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret 4
test ecx, ecx
jne 0x437dc3
mov edx, dword [esp + 0x1c]
cmp dword [edx], ecx
je 0x437cf3
sub eax, ecx
mov ecx, dword [esp + 0x1c]
mov edx, dword [ecx]
imul edx, edx, 0xe10
pop edi
cmp edx, eax
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
add esp, 8
ret 4

Function at 0x437df0
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x210
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x20c], eax
push ebp
mov ebp, dword [esp + 0x218]
test esi, esi
je 0x437e88
test edi, edi
je 0x437e88
test ebx, ebx
je 0x437e88
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004fe380
add esp, 0xc
push esi
push 0x104
lea edx, [esp + 0x10]
push edx
push 0x5d74e0
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x437e88
push 0xa
lea eax, [esp + 8]
push eax
lea ecx, [esp + 0x10]
push ecx
mov dword [esp + 0x10], 0
call fcn.004f7cfd
add esp, 0xc
mov dword [ebp], eax
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.004f673f
add esp, 0x210
ret
mov ecx, dword [esp + 0x210]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.004f673f
add esp, 0x210
ret
Function at 0x438860
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5a11a6
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x61e69c]
xor eax, esp
mov dword [esp + 0x214], eax
push ebx
push esi
push edi
mov eax, dword [0x61e69c]
xor eax, esp
push eax
lea eax, [esp + 0x228]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 0x23c]
cmp eax, 1
jne 0x43899b
push 0x104
lea eax, [esp + 0x20]
push eax
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea ecx, [esp + 0x1c]
push ecx
call edi
lea edx, [esp + 0x1c]
push edx
call edi
lea eax, [esp + 0x10]
push eax
mov ecx, 0x5d74e0
call fcn.004066b0
lea ecx, [esp + 0x1c]
push ecx
push str._sSoftMgrSoftManager.exe
lea edi, [esp + 0x18]
mov dword [esp + 0x238], ebx
call fcn.00407710
mov edx, dword [esp + 0x18]
add esp, 8
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmp eax, ebx
jne 0x43891c
push str.http:__baoku.360.cn_soft_show_appid_104217071
call fcn.0049d495
add esp, 4
jmp 0x43896a
mov eax, dword [esi + 0x238]
push ebx
push 5
push 1
push ecx
sub eax, 0x10
mov dword [esp + 0x24], esp
mov edi, esp
call fcn.004073f0
add eax, 0x10
mov dword [edi], eax
mov byte [esp + 0x240], 1
mov eax, dword [esp + 0x20]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x2c], esp
mov esi, esp
call fcn.004073f0
add eax, 0x10
mov dword [esi], eax
mov byte [esp + 0x244], bl
call fcn.0049daf3
add esp, 0x14
mov dword [esp + 0x230], 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 0x438a15
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x438a15
cmp eax, 2
jne 0x4389b1
mov ecx, dword [esi + 0x238]
push ecx
call fcn.0049d495
add esp, 4
jmp 0x438a15
cmp eax, 3
jne 0x438a05
mov edx, dword [esi + 4]
mov ebx, dword [sym.imp.USER32.dll_GetParent]
push edx
call ebx
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x438a15
mov eax, dword [esi + 0x238]
lea edi, [esi + 0x238]
sub eax, 0x10
cmp dword [eax + 0xc], 1
jle 0x4389ec
mov eax, dword [eax + 4]
push eax
push edi
call fcn.00407090
mov ecx, dword [esi + 4]
mov edi, dword [edi]
push ecx
call ebx
push 0
push edi
push 0x659
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
jmp 0x438a15
cmp eax, 4
jne 0x438a15
lea ecx, [esi + 0x238]
call fcn.00438c30
mov ecx, dword [esp + 0x228]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.004f673f
add esp, 0x224
ret