joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42b33a
Capabilities:
Create thread

Disassembly:
push 0x24
mov eax, 0x482e4c
call fcn.0048062c
or dword [ebp - 0x14], 0xffffffff
xor ebx, ebx
push str.KUpdateInst::DownloadIndex_...
mov esi, 0x4b4d74
mov dword [ebp - 0x18], 0xd
mov dword [edi + 0x28], ebx
mov dword [edi + 0x2c], ebx
call fcn.00411a60
pop ecx
lea eax, [edi + 0x10]
call fcn.0041fe76
test eax, eax
je 0x42b477
cmp dword [0x4b4ed0], ebx
jne 0x42b477
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x1c], 3
push 0xc
call fcn.0047f87e
cmp eax, ebx
pop ecx
jne 0x42b3a8
xor eax, eax
jmp 0x42b3ca
push ebx
push ebx
push eax
push 0x4257c5
lea ecx, [ebp - 0x14]
push ebx
push ebx
mov dword [eax], edi
mov dword [eax + 8], ecx
mov dword [eax + 4], fcn.0042ce36
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x20]
push eax
lea esi, [ebp - 0x30]
call fcn.0041fe89
dec dword [ebp - 0x1c]
jne 0x42b398
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0042ce36
cmp dword [ebp - 0x2c], ebx
je 0x42b3fb
mov eax, dword [ebp - 0x28]
mov ecx, eax
sub ecx, dword [ebp - 0x2c]
sar ecx, 2
jne 0x42b404
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x2c], ebx
jne 0x42b40d
xor eax, eax
jmp 0x42b413
sub eax, dword [ebp - 0x2c]
sar eax, 2
push 0xffffffffffffffff
push 1
push dword [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor esi, esi
mov ecx, dword [ebp - 0x2c]
cmp ecx, ebx
je 0x42b442
mov eax, dword [ebp - 0x28]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x42b442
push dword [ecx + esi*4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
inc esi
jmp 0x42b423
or dword [ebp - 4], 0xffffffff
cmp dword [edi + 0x2c], ebx
je 0x42b461
cmp ecx, ebx
je 0x42b456
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
jmp 0x42b489
cmp ecx, ebx
je 0x42b46c
push ecx
call sub.MSVCR80.dll_void___cdecl_operator_delete_void__
pop ecx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
jmp 0x42b486
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0042ce36
test eax, eax
jne 0x42b489
mov dword [ebp - 0x18], ebx
push dword [ebp - 0x18]
mov esi, 0x4b4d74
push str.KUpdateInst::DownloadIndex_return:_d
call fcn.00411a60
mov eax, dword [ebp - 0x18]
pop ecx
pop ecx
call fcn.00480704
ret
Function at 0x42f988
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push edi
mov edi, eax
cmp dword [edi + 0xc], 0xffffffff
jne 0x42f9dd
push esi
lea esi, [ebp - 4]
call fcn.0043014a
push dword [eax]
push 0
push str.switch
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040214e
test esi, esi
pop esi
je 0x42f9ce
push edi
call fcn.0042fc55
test eax, eax
jne 0x42f9d7
call fcn.0043025b
test eax, eax
je 0x42f9da
xor eax, eax
inc eax
mov dword [edi + 0xc], eax
mov eax, dword [edi + 0xc]
pop edi
leave
ret

Function at 0x42fe61
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 0x18], 0
jne 0x42fe97
push esi
lea esi, [ebp - 4]
call fcn.0043014a
push dword [eax]
push 2
push 0x49b2f4
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 0x18], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040214e
pop esi
mov eax, dword [edi + 0x18]
leave
ret

Function at 0x430210
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, edi
call fcn.0042fdf3
test eax, eax
jne 0x430224
push 0x60
pop eax
leave
ret
cmp dword [edi + 8], 0xffffffff
jne 0x430256
push esi
lea esi, [ebp - 4]
call fcn.0043014a
push dword [eax]
push 0x60
push str.debugdpi
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 8], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040214e
pop esi
mov eax, dword [edi + 8]
leave
ret

Function at 0x43025b
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [edi + 4], 0xffffffff
jne 0x430291
push esi
lea esi, [ebp - 4]
call fcn.0043014a
push dword [eax]
push 0
push str.debug
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov dword [edi + 4], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040214e
pop esi
mov eax, dword [edi + 4]
leave
ret
Function at 0x430296
Capabilities:
Read .ini file

Disassembly:
push 0x1c
mov eax, 0x4844e6
call fcn.0048062c
mov edi, ecx
mov eax, dword [edi + 0x20]
add edi, 0x1c
xor ebx, ebx
cmp eax, ebx
je 0x4302be
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
jne 0x4303e9
mov eax, dword [0x4b457c]
mov ecx, 0x4b457c
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x18]
mov dword [ebp - 4], ebx
call fcn.0043014a
mov byte [ebp - 4], 1
push dword [eax]
mov eax, 0x104
push eax
push eax
lea esi, [ebp - 0x10]
call fcn.004021fc
push eax
push str.1.01.21.5
push str.supportrate
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.0040214e
cmp dword [ebp - 0x10], ebx
jne 0x43031e
xor eax, eax
jmp 0x430328
push dword [ebp - 0x10]
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
lea edx, [ebp - 0x10]
call fcn.0040212d
mov esi, 0x49b3f0
push esi
lea eax, [ebp - 0x14]
mov dword [ebp - 0x18], ebx
push eax
lea ecx, [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.00449881
jmp 0x4303c5
push eax
call dword [sym.imp.MSVCR80.dll__wtof]
fstp qword [ebp - 0x20]
mov edx, dword [edi + 4]
test edx, edx
pop ecx
jne 0x430360
xor ecx, ecx
jmp 0x430368
mov ecx, dword [edi + 8]
sub ecx, edx
sar ecx, 3
test edx, edx
je 0x430388
mov eax, dword [edi + 0xc]
sub eax, edx
sar eax, 3
cmp ecx, eax
jae 0x430388
mov eax, dword [edi + 8]
fld qword [ebp - 0x20]
fstp qword [eax]
add eax, 8
mov dword [edi + 8], eax
jmp 0x4303a6
mov ebx, dword [edi + 8]
cmp edx, ebx
jbe 0x430395
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
push edi
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x28]
push eax
mov eax, edi
call fcn.0044a664
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040214e
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x18]
lea ebx, [ebp - 0x10]
call fcn.00449881
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x14]
cmp dword [eax - 0xc], 0
jne 0x43034a
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, edi
call fcn.00480704
ret

Function at 0x4303f1
Capabilities:
Read .ini file

Disassembly:
push 4
mov eax, 0x481f3f
call fcn.0048062c
and dword [ebp - 0x10], 0
mov edi, ecx
add edi, 0x14
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x430464
lea esi, [ebp - 0x10]
call fcn.0043014a
and dword [ebp - 4], 0
push dword [eax]
mov eax, 0x104
push eax
push eax
mov esi, edi
call fcn.004021fc
push eax
push 0x49b3f4
push str.supportprocess
push str.basesetting
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
or dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, dword [edi]
test eax, eax
je 0x43045d
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
pop ecx
mov edx, edi
call fcn.0040212d
mov eax, dword [edi]
sub eax, 0x10
call fcn.00402441
add eax, 0x10
mov dword [ebx], eax
mov eax, ebx
call fcn.00480704
ret
Function at 0x4308ae
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx eax, word [ebp + 0xc]
push esi
push dword [ebp + 0x14]
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x430931
push ebx
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x4308fa
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
mov dword [ebp - 4], eax
je 0x4308fa
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
mov dword [ebp + 0xc], eax
jne 0x4308fe
xor eax, eax
jmp 0x430930
mov esi, dword [ebp + 0x10]
push edi
lea edi, [ebx + 1]
push edi
call fcn.0040f7bf
test eax, eax
je 0x43091c
push ebx
push dword [ebp + 0xc]
push eax
call sub.MSVCR80.dll_memcpy
add esp, 0xc
mov eax, edi
call fcn.00449868
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_FreeResource]
xor eax, eax
inc eax
pop edi
pop ebx
pop esi
leave
ret

Function at 0x430a9b
Capabilities:
Get file size
Read file on windows

Disassembly:
push 8
mov eax, 0x482d0e
call fcn.0048062c
mov edi, ecx
mov eax, dword [0x4b457c]
mov esi, 0x4b457c
xor ebx, ebx
mov ecx, esi
mov dword [ebp - 0x14], ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
cmp dword [ebp + 0x14], ebx
lea eax, [edi + 0xc]
jne 0x430ad0
mov eax, edi
lea edi, [ebp - 0x10]
call fcn.004024a3
mov edi, dword [ebp - 0x10]
cmp dword [edi - 0xc], ebx
je 0x430bba
mov eax, dword [0x4b457c]
mov ecx, esi
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 0x14], eax
push dword [ebp + 0x10]
mov byte [ebp - 4], 1
push dword [ebp + 8]
lea eax, [ebp + 0x14]
push edi
push str._s_d._s
push eax
call fcn.00404e7f
add esp, 0x14
push ebx
push 0x80
push 3
push ebx
push 1
push connect
push dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp + 0x10], eax
je 0x430baf
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, ebx
je 0x430ba6
mov esi, dword [ebp + 0xc]
push ebx
lea eax, [ebp + 8]
push eax
push edi
lea eax, [edi + 0xa]
push eax
mov dword [ebp + 8], ebx
call fcn.0040f7bf
push eax
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
cmp eax, ebx
mov dword [ebp - 0x14], eax
je 0x430b9d
cmp dword [ebp + 8], edi
jne 0x430b9d
mov eax, edi
call fcn.00449868
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040214e
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
mov eax, esi
call fcn.00480704
ret 0x10
xor eax, eax
mov edx, esi
call fcn.0040f0f1
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x14]
add eax, 0xfffffff0
call fcn.0040214e
mov esi, dword [ebp - 0x14]
jmp 0x430b88
Function at 0x431263
Capabilities:
Check if file exists

Disassembly:
push 0x1c
mov eax, 0x482cb5
call fcn.0048062c
mov esi, ecx
call fcn.00431235
push dword [esi]
lea eax, [ebp - 0x10]
push eax
push esi
call fcn.00431390
xor edi, edi
mov dword [ebp - 4], edi
mov eax, dword [ebp - 0x10]
cmp dword [eax - 0xc], edi
je 0x431382
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x43137f
lea eax, [ebp - 0x24]
mov ebx, vtable.Gdiplus::PrivateFontCollection.0
push eax
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], edi
call sub.gdiplus.dll_GdipNewPrivateFontCollection
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x10]
push dword [ebp - 0x24]
call sub.gdiplus.dll_GdipPrivateAddFontFile
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x24]
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
call sub.gdiplus.dll_GdipGetFontCollectionFamilyCount
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x14]
cmp eax, edi
jle 0x43136c
xor ecx, ecx
push 8
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
xor eax, eax
add ecx, 4
setb al
neg eax
or eax, ecx
push eax
call sub.gdiplus.dll_GdipAlloc
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 2
je 0x431335
mov ecx, dword [ebp - 0x14]
push 0x401596
push 0x42f541
push ecx
lea edi, [eax + 4]
push 8
push edi
mov dword [eax], ecx
call fcn.0047f9d0
mov eax, edi
jmp 0x431337
xor eax, eax
test eax, eax
mov byte [ebp - 4], 1
mov dword [esi + 4], eax
je 0x43136c
push eax
push dword [ebp - 0x14]
lea edi, [ebp - 0x18]
lea eax, [ebp - 0x28]
call fcn.0042f471
test eax, eax
jne 0x431367
mov eax, dword [ebp - 0x18]
test eax, eax
jle 0x431367
mov ecx, dword [ebp - 0x14]
mov dword [esi + 8], ecx
mov dword [esi + 0xc], eax
jmp 0x43136c
call fcn.00431235
lea eax, [ebp - 0x24]
push eax
mov dword [ebp - 0x28], ebx
call sub.gdiplus.dll_GdipDeletePrivateFontCollection
mov dword [ebp - 0x28], vtable.Gdiplus::FontCollection.0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
call fcn.00480704
ret

Function at 0x431492
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x4b2068]
xor eax, ebp
mov dword [ebp + 0x194], eax
xor eax, eax
push 0x20e
push eax
mov dword [ebp - 0x80], eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push 0x104
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.00402357
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
mov eax, esi
call fcn.0047f7b2
add ebp, 0x198
leave
ret
Function at 0x43d47c
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
xor edi, edi
inc edi
cmp eax, 0xf
mov esi, ecx
jne 0x43d4ab
mov ecx, dword [ebp + 0x18]
lea eax, [esi + 0xbc]
mov dword [eax], edi
and dword [ecx], 0
cmp dword [eax], 0
je 0x43d4e2
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x14
cmp eax, 2
jne 0x43d503
push dword [esi + 0x10]
mov dword [esi + 0xbc], edi
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov ebx, eax
test ebx, ebx
je 0x43d4dc
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x43d4dc
push 0
push ebx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [esi + 0xbc], 0
jne 0x43d4a2
push dword [ebp + 0x18]
mov ecx, esi
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00439d6d
jmp 0x43d4a4
cmp eax, 0x47
jne 0x43d528
push dword [ebp + 0x14]
lea ebx, [esi + 0xbc]
mov eax, esi
mov dword [ebx], edi
call fcn.0043d366
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jmp 0x43d4a0
cmp eax, 0x18
jne 0x43d4e2
push dword [ebp + 0x10]
lea ebx, [esi + 0xbc]
mov dword [ebx], edi
call fcn.0043d430
mov eax, dword [ebp + 0x18]
and dword [eax], 0
cmp dword [ebx], 0
jne 0x43d4a2
jmp 0x43d4e2

Function at 0x44416d
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
test byte [esi + 0x14], 2
je 0x4441c6
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
sub eax, ecx
je 0x4441b7
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x10]
sub edx, eax
je 0x4441b7
mov edx, dword [esi + 0x10]
push 0x11
push 0
push 0
sub ecx, edx
push ecx
sub eax, edx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.USER32.dll_SetWindowPos]
jmp 0x4441c6
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [esi + 0x14], 0xfd
leave
ret 4

Function at 0x4441ca
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 0xc], 1
push edi
mov edi, eax
jne 0x4441ea
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
jmp 0x444247
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 4]
sub eax, dword [ebp - 0xc]
je 0x44424c
mov eax, dword [ebp - 8]
sub eax, dword [ebp - 0x10]
je 0x44424c
push 0xfffffffffffffff0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x444247
or byte [edi + 0x14], 4
mov al, byte [edi + 0x14]
test al, 2
jne 0x44423e
push dword [ebp + 8]
or al, 2
mov byte [edi + 0x14], al
call fcn.00444329
push 8
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x444247
cmp dword [edi + 0x18], esi
je 0x444247
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], esi
jmp 0x44425b
push 0
push dword [edi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
and byte [edi + 0x14], 0xfd
pop edi
leave
ret 8
Function at 0x44511a
Capabilities:
Check if file exists

Disassembly:
push 0xc
mov eax, 0x486dd2
call fcn.0048062c
mov esi, ecx
mov eax, dword [0x4b457c]
or dword [ebp - 0x18], 0xffffffff
mov ecx, 0x4b457c
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x14], edi
and dword [ebp - 4], 0
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call fcn.00402357
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
cmp dword [esi], 0
jne 0x445160
push esi
call fcn.00445204
lea eax, [ebp + 8]
push eax
mov ecx, ebx
lea eax, [ebp - 0x10]
call fcn.0040f1a5
mov eax, dword [eax]
cmp dword [eax - 0xc], ebx
jne 0x44517d
cmp word [eax], 0x5c
jne 0x44517d
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.0040214e
test bl, bl
je 0x44519a
push 0x48ee24
lea eax, [ebp - 0x10]
push eax
call fcn.004021d8
add esi, 4
mov eax, esi
xor ebx, ebx
call fcn.0041fe63
test eax, eax
jbe 0x4451e6
push ebx
call fcn.00449c41
push dword [eax]
lea eax, [ebp - 0x14]
push dword [ebp - 0x10]
push str._skav_s.txt
push eax
call fcn.00404e7f
mov edi, dword [ebp - 0x14]
add esp, 0x10
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4451e2
mov eax, esi
inc ebx
call fcn.0041fe63
cmp ebx, eax
jb 0x4451aa
jmp 0x4451e6
and dword [ebp - 0x18], 0
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040214e
lea eax, [edi - 0x10]
call fcn.0040214e
mov eax, dword [ebp - 0x18]
call fcn.00480704
ret 4

Function at 0x446d1f
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, eax
lea ebx, [edi + 0x50]
mov esi, ebx
neg esi
lea eax, [ebx - 0x24]
sbb esi, esi
mov ebp, 0x3e9
push ebp
and esi, eax
call fcn.00449bad
push 0x496754
push str.progresspos
push ebp
mov ecx, ebx
mov dword [edi + 0x3c4], eax
call fcn.0044ad86
xor esi, esi
push esi
push 0xc8
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [edi + 0x3d0]
cmp eax, esi
je 0x446d80
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0x3d0], esi
push esi
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push 0x18
mov dword [edi + 0x3d0], eax
mov ebx, 0x447017
call fcn.0047f87e
cmp eax, esi
pop ecx
jne 0x446da6
xor ebx, ebx
jmp 0x446dc6
push esi
push esi
push eax
push 0x44ee1e
push esi
push esi
mov dword [eax], edi
mov dword [eax + 0x10], esi
mov dword [eax + 8], ebx
mov dword [eax + 0xc], esi
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov ebx, eax
add edi, 0x3c8
mov eax, dword [edi]
cmp eax, esi
je 0x446dd9
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi], ebx
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret
Function at 0x446de2
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x48838b
mov eax, dword fs:[0]
push eax
sub esp, 0x108
push ebx
push esi
push edi
mov eax, dword [0x4b2068]
xor eax, esp
push eax
lea eax, [esp + 0x118]
mov dword fs:[0], eax
push 6
xor ebx, ebx
pop ecx
xor eax, eax
mov dword [esp + 0x18], ebx
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
lea edi, [esp + 0x34]
call fcn.00444740
mov eax, dword [ebp + 0xc]
mov dword [esp + 0x120], ebx
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
mov eax, dword [eax + 0xc]
xor edi, edi
inc edi
push edi
push ecx
sub eax, edx
mov dword [esp + 0x34], eax
mov eax, esp
mov dword [esp + 0x1c], esp
push str.0_0__0__0
sub esi, ecx
push eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], esi
call fcn.00449823
push ecx
mov byte [esp + 0x12c], 1
mov eax, esp
mov dword [esp + 0x1c], esp
push 0x49bb00
push eax
call fcn.00449823
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00444e26
lea eax, [esp + 0x18]
push eax
push ebx
push 0x47
lea ecx, [esp + 0x40]
call fcn.004388d3
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
mov esi, 0x49c134
push esi
push eax
call fcn.00449823
push ecx
mov byte [esp + 0x12c], 2
mov eax, esp
mov dword [esp + 0x20], esp
push str.margin_left
push eax
call fcn.00449823
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00444e26
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push esi
push eax
call fcn.00449823
push ecx
mov byte [esp + 0x12c], 3
mov eax, esp
mov dword [esp + 0x20], esp
push str.margin_right
push eax
call fcn.00449823
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00444e26
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push esi
push eax
call fcn.00449823
push ecx
mov byte [esp + 0x12c], 4
mov eax, esp
mov dword [esp + 0x20], esp
push str.margin_top
push eax
call fcn.00449823
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00444e26
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push esi
push eax
call fcn.00449823
push ecx
mov byte [esp + 0x12c], 5
mov eax, esp
mov dword [esp + 0x20], esp
push str.margin_bottom
push eax
call fcn.00449823
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00444e26
push edi
push ecx
mov eax, esp
mov dword [esp + 0x18], esp
push str.cnm_showdow
push eax
call fcn.00449823
push ecx
mov byte [esp + 0x12c], 6
mov eax, esp
mov dword [esp + 0x20], esp
push str.skin
push eax
call fcn.00449823
lea ecx, [esp + 0x40]
mov byte [esp + 0x12c], bl
call fcn.00444e26
push ebx
push dword [ebp + 8]
lea ecx, [esp + 0x3c]
push 0xf
call fcn.004388d3
or dword [esp + 0x120], 0xffffffff
mov eax, dword [esp + 0x110]
add eax, 0xfffffff0
call fcn.0040214e
lea ecx, [esp + 0x34]
call fcn.00438785
xor eax, eax
mov ecx, dword [esp + 0x118]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8