joyce8/EMBER2024-capa huggingface dataset:
Function at 0x428e7d
Capabilities:
Read .ini file

Disassembly:
push 0x2c
mov eax, 0x4efb0a
call fcn.004bd27f
mov dword [ebp - 0x38], ecx
mov esi, dword [ebp + 8]
xor eax, eax
mov ebx, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], eax
push eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], 7
call fcn.00402830
push 0x50f06c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404700
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00428d2e
cmp eax, 9
jb 0x428fb6
mov esi, dword [ebp - 0x34]
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x428eef
mov eax, dword [esi]
jmp 0x428ef1
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebx + 0x110]
push eax
push 0x28
pop edx
call fcn.004211db
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], edi
jb 0x428f0d
mov eax, dword [eax]
push dword [esi + 0x28]
lea ecx, [ebx + 0x160]
push eax
push 0x28
pop edx
call fcn.004211db
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], edi
jb 0x428f29
mov eax, dword [eax]
push dword [esi + 0x40]
lea ecx, [ebx + 0x70]
push eax
push 0x28
pop edx
call fcn.004211db
lea eax, [esi + 0x48]
cmp dword [eax + 0x14], edi
jb 0x428f42
mov eax, dword [eax]
push dword [esi + 0x58]
lea ecx, [ebx + 0xc0]
push eax
push 0x28
pop edx
call fcn.004211db
lea eax, [esi + 0x90]
cmp dword [eax + 0x14], edi
jb 0x428f61
mov eax, dword [eax]
push eax
call fcn.004bffb1
mov dword [ebx], eax
mov eax, dword [esi + 0xd0]
add esi, 0xc0
pop ecx
cmp dword [esi + 0x14], edi
jb 0x428f7d
mov esi, dword [esi]
push eax
push esi
push 0x28
lea ecx, [ebx + 0x20]
pop edx
call fcn.004211db
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x28]
sub eax, 0xffffff80
cmp dword [eax + 0x14], edi
jb 0x428f9a
mov eax, dword [eax]
push eax
push 0xc
lea eax, [ebx + 8]
push eax
push 0
push str.Value
push str.DumpKey
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor edi, edi
inc edi
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.004097b0
mov eax, edi
call fcn.004bd22e
ret 8

Function at 0x429db3
Capabilities:
Hide graphical window
Print debug messages

Disassembly:
push ebx
push esi
push edi
mov edi, ecx
cmp dword [edi + 0x5e0], 1
mov dword [edi + 0x248], 0x1000
jne 0x429dfb
push str.Force_Upload...
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [edi + 4]
call ebx
mov ecx, edi
mov esi, eax
call fcn.004296bd
test esi, esi
je 0x429df4
push 5
jmp 0x429df6
push 0
push dword [edi + 4]
call ebx
push 0
push dword [edi + 4]
call dword [sym.imp.USER32.dll_EndDialog]
pop edi
pop esi
xor eax, eax
pop ebx
ret 0x10
Function at 0x429ecb
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
lea eax, [ebp - 0x24c]
push eax
mov dword [ebp - 0x250], esi
push dword [esi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
push dword [esi + 0x28]
mov ebx, eax
push ebx
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x24]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push 1
push ebx
mov esi, eax
call dword [sym.imp.GDI32.dll_SetBkMode]
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
lea eax, [ebp - 0x24c]
push eax
mov eax, dword [ebp - 0x250]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [ebp - 4]
xor eax, eax
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a1bc
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x26c
mov eax, dword [0x52de80]
xor eax, esp
mov dword [esp + 0x268], eax
push ebx
push esi
push edi
mov edi, ecx
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x14], edi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_BeginPaint]
push 0x10
pop esi
push 0
push 0
push 0xf2
push dword [edi + 4]
mov ebx, eax
mov dword [esp + 0x24], ebx
call dword [sym.imp.USER32.dll_SendMessageW]
test al, 4
lea edi, [esp + 0x1c]
mov eax, 0x210
cmovne esi, eax
and dword [esp + 0x18], 0
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [esp + 0x18]
mov edi, dword [esp + 0x10]
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push esi
push 4
lea eax, [esp + 0x20]
push eax
push ebx
call dword [sym.imp.USER32.dll_DrawFrameControl]
xor eax, eax
push 0x206
push eax
mov word [esp + 0x70], ax
lea eax, [esp + 0x72]
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [esp + 0x68]
push 0x104
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 1
push ebx
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0xfffffffffffffffa
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov esi, dword [sym.imp.USER32.dll_GetSystemMetrics]
mov edi, eax
push 0
push 0xc
call esi
push eax
push 0xb
call esi
push eax
push 1
push 0x86
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
sub eax, 0x1e
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x70]
push eax
call ebx
imul eax, eax, 0xe
mov esi, dword [esp + 0x1c]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0x20]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
sub eax, 0x18
push eax
push esi
call dword [sym.imp.USER32.dll_DrawIcon]
mov eax, dword [esp + 0x10]
mov edi, dword [sym.imp.GDI32.dll_SelectObject]
push dword [eax + 0x24]
push esi
call edi
mov esi, eax
lea eax, [esp + 0x68]
push eax
call ebx
push eax
lea eax, [esp + 0x6c]
push eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
sub eax, 0xe
cdq
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x74]
push eax
call ebx
imul eax, eax, 0xe
mov ebx, dword [esp + 0x20]
cdq
sub eax, edx
mov ecx, eax
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x24]
cdq
sub eax, edx
sar ecx, 1
sar eax, 1
sub eax, ecx
add eax, 0x14
push eax
push ebx
call dword [sym.imp.GDI32.dll_TextOutW]
push esi
push ebx
call edi
lea eax, [esp + 0x28]
push eax
mov eax, dword [esp + 0x14]
push dword [eax + 4]
call dword [sym.imp.USER32.dll_EndPaint]
mov ecx, dword [esp + 0x274]
xor eax, eax
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a677
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4efc4a
call fcn.004bd27f
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.004045f0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
add eax, 0xd4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412120
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004046c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00402120
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
push 0x50f004
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402120
xor eax, eax
call fcn.004bd22e
ret 0x10

Function at 0x42a6fa
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4efc7f
call fcn.004bd27f
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.004045f0
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [esi + 0x28]
add eax, 0xd4
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.00412120
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004046c0
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call fcn.00402120
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
push 5
cmovae eax, dword [ebp - 0x28]
push ebx
push ebx
push eax
push 0x50f004
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00402120
xor eax, eax
call fcn.004bd22e
ret 0x10

Function at 0x42a77d
Capabilities:
Create process on windows
Get common file path
Get program files directory
Get startup folder

Disassembly:
push 0x224
mov eax, 0x4efcaf
call fcn.004bd27f
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x2e0], edi
je 0x42a83b
mov dword [ebp - 0x21c], edi
lea ecx, [ebp - 0x230]
push edi
mov dword [ebp - 0x220], edi
mov dword [ebp - 0x21c], 7
call fcn.00402830
lea eax, [ebp - 0x218]
mov dword [ebp - 4], edi
push eax
push edi
push edi
push 0x26
push edi
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
js 0x42a7e9
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.00404700
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x230]
call fcn.00405550
lea ecx, [esi + 0x2d0]
cmp dword [ecx + 0x14], 8
jb 0x42a807
mov ecx, dword [ecx]
cmp dword [ebp - 0x21c], 8
lea eax, [ebp - 0x230]
push 5
cmovae eax, dword [ebp - 0x230]
push edi
push ecx
push eax
push 0x50f004
push edi
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x230]
call fcn.00402120
xor eax, eax
call fcn.004bd22e
ret 0x10
Function at 0x42b079
Capabilities:
Get common file path

Disassembly:
push 0x638
mov eax, 0x4efd28
call fcn.004bd27f
xor eax, eax
xor esi, esi
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push esi
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x224]
push esi
push 0x1c
push eax
push esi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x63c]
call fcn.004045f0
push 0x50fbb8
lea ecx, [ebp - 0x63c]
mov dword [ebp - 4], esi
call fcn.00404750
push str.User_Data
lea ecx, [ebp - 0x63c]
call fcn.00404750
push str.install_log.log
lea ecx, [ebp - 0x63c]
call fcn.00404750
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
push 0x50fb04
cmovae eax, dword [ebp - 0x63c]
push eax
call fcn.004c2e15
mov dword [ebp - 0x640], eax
pop ecx
pop ecx
test eax, eax
jne 0x42b12f
inc esi
jmp 0x42b1e2
xor eax, eax
push 0x3fe
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push esi
push eax
call fcn.004bf4f0
push dword [ebp - 0x640]
mov dword [ebp - 0x644], esi
mov edi, esi
mov ebx, esi
call fcn.004c1075
add esp, 0x10
test eax, eax
jne 0x42b1c4
mov esi, dword [ebp - 0x640]
push esi
lea eax, [ebp - 0x624]
push 0x1ff
push eax
call fcn.004c5ab9
lea eax, [ebp - 0x624]
inc ebx
push str.RealInstallFunc_Success
push eax
call fcn.004c013b
add esp, 0x14
test eax, eax
je 0x42b19f
mov dword [ebp - 0x644], ebx
jmp 0x42b1b7
lea eax, [ebp - 0x624]
push str.Extract...
push eax
call fcn.004c013b
test eax, eax
pop ecx
pop ecx
cmovne edi, ebx
push esi
call fcn.004c1075
pop ecx
test eax, eax
je 0x42b16c
xor esi, esi
push dword [ebp - 0x640]
call fcn.004c0ffe
mov eax, dword [ebp - 0x644]
pop ecx
test eax, eax
je 0x42b1e2
xor ecx, ecx
inc ecx
cmp edi, eax
cmovb esi, ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x63c]
call fcn.00402120
mov eax, esi
call fcn.004bd22e
ret 4

Function at 0x42b43e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x30
mov eax, 0x4efdb7
call fcn.004bd24c
lea ecx, [ebp - 0x3c]
call fcn.0042b493
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b47a
test al, 0x10
jne 0x42b47a
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.0043e10a
test eax, eax
jne 0x42b47a
inc esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], vtable.WinMod::CWinModule.0
call fcn.00424a4e
mov eax, esi
call fcn.004bd21a
ret 4
Function at 0x42b4ca
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
push edi
mov dword [ebp - 0x218], ebx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b58d
test al, 0x10
jne 0x42b58d
lea eax, [ebp - 0x220]
mov dword [ebp - 0x210], ebx
push eax
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x214], ebx
push eax
lea eax, [ebp - 0x214]
mov ecx, edi
push eax
lea edx, [ebp - 0x210]
call fcn.00420d04
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf4f0
mov ecx, dword [ebp - 0x214]
movzx eax, cx
push eax
shr ecx, 0x10
push ecx
mov ecx, dword [ebp - 0x210]
movzx eax, cx
push eax
shr ecx, 0x10
lea eax, [ebp - 0x20c]
push ecx
push 0x50c710
push 0x104
push eax
call fcn.004c2ef4
add esp, 0x34
lea eax, [ebp - 0x20c]
push eax
jmp 0x42b592
push str.unexisted
mov ecx, esi
call fcn.004045f0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc45f
mov esp, ebp
pop ebp
ret 8

Function at 0x42b783
Capabilities:
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x4efe8b
call fcn.004bd27f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.0043c9c2
xor ecx, ecx
mov eax, 0xfffffe00
mov dword [ebp - 4], ecx
and dword [ebp - 0xa4], eax
mov dword [ebp - 0xa0], ecx
and dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], ecx
and dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
push 0x50fe0c
push esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x88], ecx
call fcn.004c2e15
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x42b8e2
push 2
push 0
push ebx
call fcn.004c16ad
add esp, 0xc
push ebx
call fcn.004c1ac0
pop ecx
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x8c], esi
call fcn.004c16ad
add esp, 0xc
inc esi
push esi
call fcn.004bc592
pop ecx
push esi
mov edi, eax
push 0
push edi
call fcn.004bf4f0
mov esi, dword [ebp - 0x8c]
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.004c1572
add esp, 0x10
cmp eax, esi
jne 0x42b8d0
push ecx
lea eax, [ebp - 0xac]
push eax
lea eax, [esi - 1]
add eax, edi
lea ecx, [ebp - 0x84]
push eax
push edi
call fcn.0043ca63
test al, al
je 0x42b8d0
lea ecx, [ebp - 0xac]
call fcn.0043be7d
test al, al
je 0x42b8d0
push ecx
push 0x50fe28
call fcn.0043bd81
push eax
lea ecx, [ebp - 0xbc]
call fcn.0043bb14
lea ecx, [ebp - 0xbc]
call fcn.0043be7d
test al, al
je 0x42b8d0
push ecx
push str.kAdFilter
call fcn.0043bd81
push eax
lea ecx, [ebp - 0x9c]
call fcn.0043bb14
cmp byte [ebp - 0x94], 5
jne 0x42b8d0
lea ecx, [ebp - 0x9c]
call fcn.0043bc00
movzx eax, al
mov dword [ebp - 0x88], eax
push ebx
call fcn.004c0ffe
pop ecx
test edi, edi
je 0x42b8e2
push edi
call fcn.004bbf10
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0043ba97
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0043ba97
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.0043ba97
lea ecx, [ebp - 0x84]
call fcn.0042b928
mov eax, dword [ebp - 0x88]
call fcn.004bd22e
ret 4
Function at 0x42ed1a
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4f061f
call fcn.004bd27f
mov edi, ecx
xor ebx, ebx
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], ebx
push ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], 7
call fcn.00402830
lea eax, [ebp - 0x28]
mov dword [ebp - 4], ebx
push eax
call fcn.0042eb24
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmovae eax, dword [ebp - 0x28]
push eax
push ebx
push str.crashcount
mov ebx, str.CrashCount
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.year
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 4], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push str.month
push ebx
call esi
cmp dword [ebp - 0x14], 8
mov dword [edi + 8], eax
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
push 0
push 0x510400
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [edi + 0xc], eax
call fcn.00402120
call fcn.004bd22e
ret
Function at 0x42f5c4
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0x93c
mov eax, 0x4f0765
call fcn.004bd27f
mov esi, edx
mov edi, ecx
xor eax, eax
xor ebx, ebx
push 0x7fe
mov word [ebp - 0x810], ax
lea eax, [ebp - 0x80e]
push ebx
push eax
call fcn.004bf4f0
push 0x118
lea eax, [ebp - 0x944]
mov dword [ebp - 0x948], 0x11c
push ebx
push eax
call fcn.004bf4f0
add esp, 0x18
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x50f004
lea ecx, [ebp - 0x828]
call fcn.004045f0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x944], 6
jb 0x42f64c
push 0x50ca90
lea ecx, [ebp - 0x828]
call fcn.00404700
cmp dword [esi + 0x14], 8
jb 0x42f654
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x810]
push str._patchurl__s
push eax
call fcn.0042c6d2
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42f671
mov edi, dword [edi]
cmp dword [ebp - 0x814], 8
lea ecx, [ebp - 0x810]
push 5
push ebx
push ecx
lea eax, [ebp - 0x828]
cmovae eax, dword [ebp - 0x828]
push edi
push eax
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x828]
call fcn.00402120
call fcn.004bd22e
ret
Function at 0x4306cd
Capabilities:
Create thread
Terminate thread

Disassembly:
push 0x82c
mov eax, 0x4f0b14
call fcn.004bd27f
mov esi, ecx
mov edi, dword [ebp + 8]
push edi
call fcn.00431049
lea eax, [edi + 4]
cmp dword [eax + 0x14], 8
jb 0x4306f2
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x834]
call fcn.00425ac1
and dword [ebp - 4], 0
push 0x5c
push dword [ebp - 0x834]
call fcn.004c0a85
pop ecx
pop ecx
test eax, eax
je 0x43075a
sub eax, dword [ebp - 0x834]
sar eax, 1
cmp eax, 0xffffffff
je 0x43075a
inc eax
lea ecx, [ebp - 0x834]
push eax
lea eax, [ebp - 0x838]
push eax
call fcn.004311d8
push eax
lea ecx, [ebp - 0x834]
mov byte [ebp - 4], 1
call fcn.00425b83
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x838]
lea ecx, [ecx - 0x10]
call fcn.0042095b
jmp 0x430765
lea ecx, [ebp - 0x834]
call fcn.00423c71
push dword [ebp - 0x834]
lea ebx, [edi + 0x1c]
mov ecx, ebx
call fcn.00404700
xor eax, eax
push 0x81e
push eax
mov word [ebp - 0x830], ax
lea eax, [ebp - 0x82e]
push eax
call fcn.004bf4f0
lea ecx, [esi + 0x1e0]
add esp, 0xc
cmp dword [ecx + 0x14], 8
jb 0x4307a1
mov ecx, dword [ecx]
lea eax, [edi + 0x34]
cmp dword [eax + 0x14], 8
jb 0x4307ac
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
jb 0x4307b4
mov ebx, dword [ebx]
push ecx
push eax
push ebx
lea eax, [ebp - 0x830]
push 0x510750
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x14
lea eax, [ebp - 0x830]
lea ecx, [esi + 0x1a8]
push eax
call fcn.00404700
xor eax, eax
push eax
push eax
push esi
push 0x430870
push eax
push eax
call fcn.004bf7fc
mov ebx, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
add esp, 0x18
mov dword [esi + 0xc4], eax
push 0xbb8
push eax
call ebx
test eax, eax
je 0x43082c
mov ecx, esi
call fcn.00430b19
push 0xbb8
push dword [esi + 0xc4]
call ebx
push 0
push dword [esi + 0xc4]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, esi
call fcn.00430b19
mov eax, dword [esi + 0xc4]
test eax, eax
je 0x43084b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
and dword [esi + 0xc4], 0
push edi
mov ecx, esi
call fcn.00430b67
or dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x834]
add ecx, 0xfffffff0
call fcn.0042095b
xor eax, eax
inc eax
call fcn.004bd22e
ret 8
Function at 0x430eb5
Capabilities:
Get common file path
Get startup folder
Read .ini file

Disassembly:
push 0x340
mov eax, 0x4f0c22
call fcn.004bd27f
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x34c]
push 7
xor eax, eax
pop esi
mov dword [ebp - 0x338], eax
push eax
mov dword [ebp - 0x33c], eax
mov dword [ebp - 0x338], esi
call fcn.00402830
xor ecx, ecx
lea eax, [ebp - 0x31c]
push ecx
push 0x1c
push eax
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x31c]
push eax
lea ecx, [ebp - 0x34c]
call fcn.00404700
push str.liebaoUser_Datacrashcount.ini
lea ecx, [ebp - 0x34c]
call fcn.00405550
xor eax, eax
lea ecx, [ebp - 0x334]
mov dword [ebp - 0x320], eax
push eax
mov dword [ebp - 0x324], eax
mov dword [ebp - 0x320], esi
call fcn.00402830
lea eax, [ebx + 0x1c]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x334]
cmp ecx, eax
je 0x430f5d
push 0xffffffffffffffff
push 0
push eax
call fcn.004055a0
push 0x51092c
lea ecx, [ebp - 0x334]
call fcn.00405550
push 0xffffffffffffffff
push 0
lea eax, [ebx + 0x34]
push eax
lea ecx, [ebp - 0x334]
call fcn.00405480
cmp dword [ebp - 0x338], 8
lea ecx, [ebp - 0x34c]
lea eax, [ebp - 0x334]
cmovae ecx, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push ecx
cmovae eax, dword [ebp - 0x334]
push 0
push str.crashcount
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
push 0xfe
lea edi, [eax + 1]
xor eax, eax
push eax
mov word [ebp - 0x114], ax
lea eax, [ebp - 0x112]
push eax
call fcn.004bf4f0
add esp, 0xc
lea eax, [ebp - 0x34c]
cmp dword [ebp - 0x338], 8
lea esi, [ebp - 0x334]
cmovae eax, dword [ebp - 0x34c]
cmp dword [ebp - 0x320], 8
push eax
cmovae esi, dword [ebp - 0x334]
lea eax, [ebp - 0x114]
push 0xa
push eax
push edi
call fcn.004c5c7f
add esp, 0xc
push eax
push str.crashcount
push esi
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov dword [ebx + 0x4c], edi
lea ecx, [ebp - 0x334]
mov byte [ebp - 4], 0
call fcn.00402120
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34c]
call fcn.00402120
call fcn.004bd22e
ret 4