joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426dbc
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x254
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x3c
lea eax, [ebp - 0x24c]
mov edi, ecx
push 0
push eax
call fcn.004bf1a0
xor eax, eax
mov dword [ebp - 0x250], 0x40
push 0x206
push eax
mov word [ebp - 0x210], ax
lea eax, [ebp - 0x20e]
push eax
call fcn.004bf1a0
add esp, 0x18
lea eax, [ebp - 0x250]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
mov ecx, dword [ebp - 0x248]
mov eax, dword [ebp - 0x244]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [ebp - 0x240]
shr eax, 0x14
mov eax, dword [ebp - 0x23c]
shrd ecx, eax, 0x14
push ecx
shr eax, 0x14
push str._d_MB____d_MB__free_total_
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004212ec
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
lea eax, [ebp - 0x210]
add esp, 0x14
mov ebx, str.SystemInfo
push dword [edi]
push eax
push str.global_physical_memory
push ebx
call esi
mov ecx, dword [ebp - 0x238]
mov eax, dword [ebp - 0x234]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [ebp - 0x230]
shr eax, 0x14
mov eax, dword [ebp - 0x22c]
shrd ecx, eax, 0x14
push ecx
shr eax, 0x14
push str._d_MB____d_MB__free_total_
lea eax, [ebp - 0x210]
push 0x104
push eax
call fcn.004212ec
add esp, 0x14
lea eax, [ebp - 0x210]
push dword [edi]
push eax
push str.global_pageFile_memory
push ebx
call esi
mov ecx, dword [ebp - 0x228]
mov eax, dword [ebp - 0x224]
shrd ecx, eax, 0x14
push ecx
mov ecx, dword [ebp - 0x220]
shr eax, 0x14
mov eax, dword [ebp - 0x21c]
shrd ecx, eax, 0x14
push ecx
push str._d_MB____d_MB__free_total_
shr eax, 0x14
push 0x104
lea eax, [ebp - 0x210]
push eax
call fcn.004212ec
add esp, 0x14
lea eax, [ebp - 0x210]
push dword [edi]
push eax
push str.global_virtual_memory
push ebx
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x426f2b
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x165c
call fcn.004bf250
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
lea eax, [ebp - 0x1658]
mov dword [ebp - 0x1654], ecx
push eax
push 0x1000
lea eax, [ebp - 0x1620]
push eax
call dword [sym.imp.PSAPI.DLL_EnumProcesses]
test eax, eax
je 0x4270ff
mov ebx, dword [ebp - 0x1658]
xor eax, eax
shr ebx, 2
mov dword [ebp - 0x164c], eax
test ebx, ebx
je 0x4270ff
mov ecx, dword [ebp + eax*4 - 0x1620]
mov dword [ebp - 0x1650], ecx
test ecx, ecx
je 0x4270f0
push 5
pop ecx
push 0x1f4
lea eax, [ebp - 0x1fc]
mov esi, str._unknown_
lea edi, [ebp - 0x210]
push 0
rep movsd dword es:[edi], dword [esi]
push eax
call fcn.004bf1a0
add esp, 0xc
push dword [ebp - 0x1650]
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4270ea
push 0x104
lea eax, [ebp - 0x210]
push eax
push 0
push esi
call sub.PSAPI.DLL_GetModuleFileNameExW
test eax, eax
je 0x4270e3
push 9
pop ecx
xor eax, eax
lea edi, [ebp - 0x1644]
push 0x28
rep stosd dword es:[edi], eax
pop eax
push eax
mov dword [ebp - 0x1648], eax
lea eax, [ebp - 0x1648]
push eax
push esi
call sub.PSAPI.DLL_GetProcessMemoryInfo
test eax, eax
je 0x427080
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x418], ax
lea eax, [ebp - 0x416]
push eax
call fcn.004bf1a0
mov eax, dword [ebp - 0x1640]
mov edi, 0x104
shr eax, 0x14
push eax
mov eax, dword [ebp - 0x163c]
shr eax, 0x14
push eax
push str.___d_MB__d_MB_
lea eax, [ebp - 0x418]
push edi
push eax
call fcn.004212ec
add esp, 0x20
lea eax, [ebp - 0x418]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00426b68
jmp 0x427085
mov edi, 0x104
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x620], ax
lea eax, [ebp - 0x61e]
push eax
call fcn.004bf1a0
mov eax, dword [ebp - 0x164c]
push dword [ebp + eax*4 - 0x1620]
lea eax, [ebp - 0x620]
push str.running_process__d
push edi
push eax
call fcn.004212ec
mov eax, dword [ebp - 0x1654]
add esp, 0x1c
push dword [eax]
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x620]
push eax
push str.SystemInfo
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x164c]
inc eax
mov dword [ebp - 0x164c], eax
cmp eax, ebx
jb 0x426f85
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x4275f1
Capabilities:
Get file system object information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c0
mov eax, dword [0x52de80]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
xor esi, esi
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push esi
push eax
call fcn.004bf1a0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ecx, eax
call fcn.00420e24
mov edi, eax
cmp edi, 0xffffffff
je 0x4276d6
push str.psapi.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
test eax, eax
je 0x4276d6
push ebx
push 0x50f88c
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x4276d5
push edi
push esi
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov edi, eax
test edi, edi
je 0x4276d5
push 0x104
lea eax, [ebp - 0x20c]
push eax
push esi
push edi
call ebx
test eax, eax
je 0x4276ce
push 0x2b0
lea eax, [ebp - 0x4bc]
mov dword [ebp - 0x4c0], esi
push esi
push eax
call fcn.004bf1a0
add esp, 0xc
lea eax, [ebp - 0x4c0]
push 0x100
push 0x2b4
push eax
push esi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.SHELL32.dll_SHGetFileInfoW]
test eax, eax
cmovne esi, dword [ebp - 0x4c0]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
xor ecx, ebp
pop esi
call fcn.004bc11d
mov esp, ebp
pop ebp
ret
Function at 0x428f50
Capabilities:
Read .ini file

Disassembly:
push 0x2c
mov eax, 0x4ef7ca
call fcn.004bcf2f
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 0x50f00c
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004046c0
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push esi
call fcn.00428e01
cmp eax, 9
jb 0x429089
mov esi, dword [ebp - 0x34]
push 8
pop edi
cmp dword [esi + 0x14], edi
jb 0x428fc2
mov eax, dword [esi]
jmp 0x428fc4
mov eax, esi
push dword [esi + 0x10]
lea ecx, [ebx + 0x110]
push eax
push 0x28
pop edx
call fcn.0042122b
lea eax, [esi + 0x18]
cmp dword [eax + 0x14], edi
jb 0x428fe0
mov eax, dword [eax]
push dword [esi + 0x28]
lea ecx, [ebx + 0x160]
push eax
push 0x28
pop edx
call fcn.0042122b
lea eax, [esi + 0x30]
cmp dword [eax + 0x14], edi
jb 0x428ffc
mov eax, dword [eax]
push dword [esi + 0x40]
lea ecx, [ebx + 0x70]
push eax
push 0x28
pop edx
call fcn.0042122b
lea eax, [esi + 0x48]
cmp dword [eax + 0x14], edi
jb 0x429015
mov eax, dword [eax]
push dword [esi + 0x58]
lea ecx, [ebx + 0xc0]
push eax
push 0x28
pop edx
call fcn.0042122b
lea eax, [esi + 0x90]
cmp dword [eax + 0x14], edi
jb 0x429034
mov eax, dword [eax]
push eax
call fcn.004bfc61
mov dword [ebx], eax
mov eax, dword [esi + 0xd0]
add esi, 0xc0
pop ecx
cmp dword [esi + 0x14], edi
jb 0x429050
mov esi, dword [esi]
push eax
push esi
push 0x28
lea ecx, [ebx + 0x20]
pop edx
call fcn.0042122b
mov ecx, dword [ebp - 0x38]
mov eax, dword [ecx + 0x28]
sub eax, 0xffffff80
cmp dword [eax + 0x14], edi
jb 0x42906d
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.00409770
mov eax, edi
call fcn.004bcede
ret 8

Function at 0x429e86
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 0x429ece
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.00429790
test esi, esi
je 0x429ec7
push 5
jmp 0x429ec9
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 0x429f9e
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.004bf1a0
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.004bc11d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a28f
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.004bf1a0
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.004bc11d
mov esp, ebp
pop ebp
ret 0x10
Function at 0x42a74a
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4ef90a
call fcn.004bcf2f
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.004045b0
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.004121d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404680
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 0x50f000
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.004bcede
ret 0x10

Function at 0x42a7cd
Capabilities:
Create process on windows

Disassembly:
push 0x34
mov eax, 0x4ef93f
call fcn.004bcf2f
mov esi, ecx
push str.tencent:__message__uin
lea ecx, [ebp - 0x28]
call fcn.004045b0
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.004121d0
add esp, 0xc
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00404680
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 0x50f000
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.004bcede
ret 0x10

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

Disassembly:
push 0x224
mov eax, 0x4ef96f
call fcn.004bcf2f
mov esi, ecx
xor edi, edi
cmp dword [esi + 0x2e0], edi
je 0x42a90e
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 0x42a8bc
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x230]
call fcn.004046c0
push str.Internet_Exploreriexplore.exe
lea ecx, [ebp - 0x230]
call fcn.00405510
lea ecx, [esi + 0x2d0]
cmp dword [ecx + 0x14], 8
jb 0x42a8da
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 0x50f000
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.004bcede
ret 0x10
Function at 0x42b14c
Capabilities:
Get common file path

Disassembly:
push 0x638
mov eax, 0x4ef9e8
call fcn.004bcf2f
xor eax, eax
xor esi, esi
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push esi
push eax
call fcn.004bf1a0
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.004045b0
push 0x50fbb8
lea ecx, [ebp - 0x63c]
mov dword [ebp - 4], esi
call fcn.00404710
push str.User_Data
lea ecx, [ebp - 0x63c]
call fcn.00404710
push str.install_log.log
lea ecx, [ebp - 0x63c]
call fcn.00404710
cmp dword [ebp - 0x628], 8
lea eax, [ebp - 0x63c]
push 0x50fab0
cmovae eax, dword [ebp - 0x63c]
push eax
call fcn.004c2ac5
mov dword [ebp - 0x640], eax
pop ecx
pop ecx
test eax, eax
jne 0x42b202
inc esi
jmp 0x42b2b5
xor eax, eax
push 0x3fe
mov word [ebp - 0x624], ax
lea eax, [ebp - 0x622]
push esi
push eax
call fcn.004bf1a0
push dword [ebp - 0x640]
mov dword [ebp - 0x644], esi
mov edi, esi
mov ebx, esi
call fcn.004c0d25
add esp, 0x10
test eax, eax
jne 0x42b297
mov esi, dword [ebp - 0x640]
push esi
lea eax, [ebp - 0x624]
push 0x1ff
push eax
call fcn.004c5769
lea eax, [ebp - 0x624]
inc ebx
push str.RealInstallFunc_Success
push eax
call fcn.004bfdeb
add esp, 0x14
test eax, eax
je 0x42b272
mov dword [ebp - 0x644], ebx
jmp 0x42b28a
lea eax, [ebp - 0x624]
push str.Extract...
push eax
call fcn.004bfdeb
test eax, eax
pop ecx
pop ecx
cmovne edi, ebx
push esi
call fcn.004c0d25
pop ecx
test eax, eax
je 0x42b23f
xor esi, esi
push dword [ebp - 0x640]
call fcn.004c0cae
mov eax, dword [ebp - 0x644]
pop ecx
test eax, eax
je 0x42b2b5
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.004bcede
ret 4

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

Disassembly:
push 0x30
mov eax, 0x4efa77
call fcn.004bcefc
lea ecx, [ebp - 0x3c]
call fcn.0042b566
push dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x42b54d
test al, 0x10
jne 0x42b54d
push ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
call fcn.0043e1da
test eax, eax
jne 0x42b54d
inc esi
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], 0x4fb6e8
call fcn.00424a9e
mov eax, esi
call fcn.004bceca
ret 4
Function at 0x42b59d
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 0x42b660
test al, 0x10
jne 0x42b660
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.00420d54
xor eax, eax
push 0x206
mov word [ebp - 0x20c], ax
lea eax, [ebp - 0x20a]
push ebx
push eax
call fcn.004bf1a0
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 0x50c6d0
push 0x104
push eax
call fcn.004c2ba4
add esp, 0x34
lea eax, [ebp - 0x20c]
push eax
jmp 0x42b665
push str.unexisted
mov ecx, esi
call fcn.004045b0
mov ecx, dword [ebp - 4]
mov eax, esi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004bc11d
mov esp, ebp
pop ebp
ret 8

Function at 0x42b856
Capabilities:
Read file on windows

Disassembly:
push 0xb0
mov eax, 0x4efb4b
call fcn.004bcf2f
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x84]
call fcn.0043ca92
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 0x50fde0
push esi
mov byte [ebp - 4], 6
mov dword [ebp - 0x88], ecx
call fcn.004c2ac5
mov ebx, eax
pop ecx
pop ecx
test ebx, ebx
je 0x42b9b5
push 2
push 0
push ebx
call fcn.004c135d
add esp, 0xc
push ebx
call fcn.004c1770
pop ecx
push 0
mov esi, eax
push 0
push ebx
mov dword [ebp - 0x8c], esi
call fcn.004c135d
add esp, 0xc
inc esi
push esi
call fcn.004bc250
pop ecx
push esi
mov edi, eax
push 0
push edi
call fcn.004bf1a0
mov esi, dword [ebp - 0x8c]
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.004c1222
add esp, 0x10
cmp eax, esi
jne 0x42b9a3
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.0043cb33
test al, al
je 0x42b9a3
lea ecx, [ebp - 0xac]
call fcn.0043bf4d
test al, al
je 0x42b9a3
push ecx
push 0x50fdd4
call fcn.0043be51
push eax
lea ecx, [ebp - 0xbc]
call fcn.0043bbe4
lea ecx, [ebp - 0xbc]
call fcn.0043bf4d
test al, al
je 0x42b9a3
push ecx
push str.kAdFilter
call fcn.0043be51
push eax
lea ecx, [ebp - 0x9c]
call fcn.0043bbe4
cmp byte [ebp - 0x94], 5
jne 0x42b9a3
lea ecx, [ebp - 0x9c]
call fcn.0043bcd0
movzx eax, al
mov dword [ebp - 0x88], eax
push ebx
call fcn.004c0cae
pop ecx
test edi, edi
je 0x42b9b5
push edi
call fcn.004bbbce
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 4
call fcn.0043bb67
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 2
call fcn.0043bb67
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 0
call fcn.0043bb67
lea ecx, [ebp - 0x84]
call fcn.0042b9fb
mov eax, dword [ebp - 0x88]
call fcn.004bcede
ret 4
Function at 0x42eded
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4f02df
call fcn.004bcf2f
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.0042ebf7
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 0x5103c0
push ebx
call esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
mov dword [edi + 0xc], eax
call fcn.00402120
call fcn.004bcede
ret
Function at 0x42f697
Capabilities:
Check os version
Create process on windows

Disassembly:
push 0x93c
mov eax, 0x4f0425
call fcn.004bcf2f
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.004bf1a0
push 0x118
lea eax, [ebp - 0x944]
mov dword [ebp - 0x948], 0x11c
push ebx
push eax
call fcn.004bf1a0
add esp, 0x18
lea eax, [ebp - 0x948]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
push 0x50f000
lea ecx, [ebp - 0x828]
call fcn.004045b0
mov dword [ebp - 4], ebx
cmp dword [ebp - 0x944], 6
jb 0x42f71f
push 0x50ca60
lea ecx, [ebp - 0x828]
call fcn.004046c0
cmp dword [esi + 0x14], 8
jb 0x42f727
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x810]
push str._patchurl__s
push eax
call fcn.0042c7a5
add esp, 0xc
cmp dword [edi + 0x14], 8
jb 0x42f744
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.004bcede
ret