joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4b724a
Capabilities:
Get common file path

Disassembly:
push ecx
push ebx
xor ebx, ebx
cmp dword [esi], ebx
push edi
jne 0x4b72d1
cmp dword [esi + 4], 0xffffffff
jne 0x4b72d1
lea edi, [esi + 0x244]
push edi
push 0x103
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push edi
call dword [sym.imp.MSVCR80.dll_wcslen]
lea eax, [esi + eax*2 + 0x242]
pop ecx
movzx ecx, word [eax]
cmp cx, 0x5c
je 0x4b7293
cmp cx, 0x2f
je 0x4b7293
mov word [eax + 2], 0x2f
mov word [eax + 4], bx
push 0x20
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov ecx, dword [esp + 0x10]
mov dword [eax + 0x14], ecx
mov ecx, dword [esp + 0x14]
push eax
mov byte [eax], bl
mov byte [eax + 1], 1
mov byte [eax + 0x10], bl
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ebx
mov dword [eax + 0xc], ebx
call fcn.004b686d
mov dword [esi], eax
neg eax
sbb eax, eax
and eax, 0xfffffe00
pop ecx
add eax, 0x200
jmp 0x4b72d6
mov eax, 0x1000000
pop edi
pop ebx
pop ecx
ret 8

Function at 0x4b7a1a
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp + 8], 0x4645414b
and dword [ebp - 4], 0
cmp dword [ebp + 0xc], 0
jne 0x4b7a3a
mov eax, dword [ebp - 4]
jmp 0x4b7b15
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 8]
shr ecx, 3
xor eax, 0xffffffff
test ecx, ecx
je 0x4b7af0
push ebp
mov ebp, ecx
xor edx, edx
xor ecx, ecx
mov edi, edi
mov ebx, dword [esi]
add esi, 4
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x506b60]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x506b60]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x506b60]
mov cl, bh
xor eax, edi
mov ebx, dword [esi]
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x506b60]
add esi, 4
xor eax, edi
mov dl, bl
mov cl, bh
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x506b60]
shr ebx, 0x10
xor eax, edi
xor cl, al
shr eax, 8
mov edi, dword [ecx*4 + 0x506b60]
mov dl, bl
xor eax, edi
xor dl, al
shr eax, 8
mov edi, dword [edx*4 + 0x506b60]
mov cl, bh
xor eax, edi
xor cl, al
shr eax, 8
xor eax, dword [ecx*4 + 0x506b60]
dec ebp
jne 0x4b7a5a
pop ebp
mov ecx, dword [ebp + 0x10]
xor edx, edx
and ecx, 7
je 0x4b7b0c
mov dl, byte [esi]
inc esi
xor dl, al
shr eax, 8
xor eax, dword [edx*4 + 0x506b60]
dec ecx
jne 0x4b7afa
xor eax, 0xffffffff
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x4b864c
Capabilities:
Read file on windows

Disassembly:
push ebx
push ebp
mov ebx, eax
xor ebp, ebp
cmp ebx, ebp
push edi
mov edi, esi
jne 0x4b8669
push ebp
push ebp
push 2
xor ecx, ecx
pop eax
call fcn.004b9b8c
xor al, al
jmp 0x4b86e6
call fcn.004b7e2b
or dword [esi + 8], 0xffffffff
or dword [esi + 4], 0xffffffff
push 2
push ebp
mov ebp, dword [sym.imp.MSVCR80.dll_fseek]
push ebx
call ebp
push ebx
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call ebp
add esp, 0x1c
test edi, edi
jne 0x4b86a1
push edi
push edi
push 0xd
mov edi, esi
jmp 0x4b865d
lea eax, [edi + 1]
push eax
call fcn.004cfd86
push ebx
push 1
mov ebp, eax
push edi
push ebp
mov byte [ebp], 0
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, 1
je 0x4b86d2
push ebp
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
push 0
push 0
push 2
jmp 0x4b869d
mov edx, ebp
mov ecx, esi
call fcn.004b86ea
push ebp
mov bl, al
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov al, bl
pop edi
pop ebp
pop ebx
ret

Function at 0x4be9c7
Capabilities:
Read .ini file

Disassembly:
push 0xc
mov eax, 0x4f169c
call fcn.004d1298
mov edi, ecx
lea eax, [ebp - 0x10]
call fcn.00492f26
and dword [ebp - 4], 0
mov esi, dword [edi + 4]
push 0
lea ebx, [ebp - 0x10]
call fcn.00492f37
test eax, eax
jne 0x4bea5a
cmp dword [0x550bdc], eax
je 0x4beaa9
push dword [edi + 4]
lea eax, [ebp - 0x14]
push str.open_record_file_false__record_is
push 0x509228
push str.StragegyMgr::FindStrategy
push 0x5091f4
push eax
push 0x5091f0
push ecx
mov dword [ebp - 0x14], 0x89
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
jmp 0x4beaa9
lea esi, [edi + 0xc]
mov eax, esi
xor ebx, ebx
call fcn.0049aa9f
test eax, eax
jbe 0x4beaa9
push ebx
call fcn.004beae1
push dword [ebp - 0x10]
add eax, 4
mov eax, dword [eax]
push 0
push eax
push str.taguser
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test eax, eax
jne 0x4bea98
mov eax, esi
inc ebx
call fcn.0049aa9f
cmp ebx, eax
jb 0x4bea6a
jmp 0x4beaa9
push ebx
mov dword [edi + 0x2c], eax
call fcn.004beae1
add edi, 0x28
call fcn.00402a90
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d1370
ret
Function at 0x4bfdac
Capabilities:
Read .ini file

Disassembly:
push ebp
lea ebp, [esp - 0x198]
sub esp, 0x218
mov eax, dword [0x54b0c4]
xor eax, ebp
mov dword [ebp + 0x194], eax
push esi
lea eax, [ebp - 0x7c]
push eax
push 0x20019
xor esi, esi
push esi
push str.SOFTWAREkingsoft_antivirus
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [ebp - 0x7c], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x4bfe51
push ebx
mov ebx, dword [ebp - 0x7c]
push edi
push 0x208
lea eax, [ebp - 0x76]
push esi
push eax
mov dword [ebp - 0x7c], ebx
mov word [ebp - 0x78], si
call sub.MSVCR80.dll_memset
add esp, 0xc
push str.ProgramPath
lea eax, [ebp - 0x7c]
push eax
lea esi, [ebp - 0x80]
lea edi, [ebp - 0x78]
mov dword [ebp - 0x80], 0x104
call fcn.00409a54
test ebx, ebx
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4bfe33
push ebx
call esi
xor ebx, ebx
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.MSVCR80.dll_wcslen]
test eax, eax
pop ecx
jne 0x4bfe59
test ebx, ebx
je 0x4bfe49
push ebx
call esi
mov eax, dword [ebp + 0x1a0]
jmp 0x4bfe8d
mov eax, dword [ebp + 0x1a0]
jmp 0x4bfe8f
push str.ressrcchsuplive.svr
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x78]
push eax
push dword [ebp + 0x1a0]
push str.TryNo
push str.Common
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
test ebx, ebx
mov edi, eax
je 0x4bfe8b
push ebx
call esi
mov eax, edi
pop edi
pop ebx
mov ecx, dword [ebp + 0x194]
xor ecx, ebp
pop esi
call fcn.004d0736
add ebp, 0x198
leave
ret

Function at 0x4bfea5
Capabilities:
Create process on windows

Disassembly:
push 8
mov eax, 0x4f408d
call fcn.004d1298
mov ebx, 0x400000
lea ecx, [ebp - 0x10]
call fcn.0048afb1
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
push 0x50f2c0
push ecx
mov ecx, eax
call fcn.004062ff
pop ecx
pop ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push str._lahuospeedball:4__from:_d
mov byte [ebp - 4], 3
call fcn.00401a57
mov esi, dword [ebp - 0x10]
pop ecx
pop ecx
push 5
push 0
push esi
push dword [ebp - 0x14]
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
lea eax, [esi - 0x10]
call fcn.004012f9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
call fcn.004d1370
ret

Function at 0x4c129f
Capabilities:
Create thread

Disassembly:
mov eax, esi
call fcn.004c1223
test eax, eax
jne 0x4c1307
push 0x5031a8
lea eax, [esi + 8]
push eax
call fcn.00401919
test eax, eax
je 0x4c1307
push edi
xor edi, edi
cmp dword [esi + 4], edi
je 0x4c1306
push ebx
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
cmp eax, edi
pop ecx
jne 0x4c12d5
xor ebx, ebx
jmp 0x4c12f6
push edi
push edi
push eax
push 0x4c35db
push edi
push edi
mov dword [eax], esi
mov dword [eax + 8], edi
mov dword [eax + 4], 0x4c1308
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
mov ebx, eax
mov eax, dword [esi]
cmp eax, edi
je 0x4c1303
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi], ebx
pop ebx
pop edi
ret
Function at 0x4c1434
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4e949f
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x54b0c4]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov edi, dword [esp + 0x24]
xor ebp, ebp
lea esi, [edi + 4]
mov dword [edi], ebp
mov eax, vtable.KEvent.0
mov dword [esi], eax
mov dword [esi + 4], ebp
lea ebx, [edi + 0xc]
mov dword [ebx], eax
mov dword [ebx + 4], ebp
lea eax, [edi + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push 1
push ebp
mov dword [edi + 0x30], ebp
mov dword [edi + 0x34], ebp
mov dword [edi + 0x38], ebp
call fcn.0042a446
push ebp
push ebp
mov esi, ebx
call fcn.0042a446
mov eax, edi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x4c20ff
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x4f3e53
call fcn.004d1298
xor ebx, ebx
lea ecx, [ebp - 0x10]
call fcn.0048afb1
lea eax, [ebp - 0x14]
push str.rcmdhelper.exe
xor edi, edi
push eax
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.004062ff
pop ecx
pop ecx
mov byte [ebp - 4], 1
push dword [ebp - 0x14]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call esi
test eax, eax
jne 0x4c2182
cmp dword [0x550bdc], edi
je 0x4c2162
push str.KDubaPushPop::_OpenUrlByRcmdHelper::rcmdhelper.exe_is_not_exsit
push ecx
call fcn.004022f5
add esp, 4
call fcn.0040233d
mov esi, eax
call fcn.00402366
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
call fcn.004d1370
ret 4
lea eax, [ebp - 0x18]
push str.dataopen_url_tool_cfg.xml
push eax
lea ecx, [ebp - 0x10]
call fcn.004062ff
pop ecx
pop ecx
mov byte [ebp - 4], 2
push dword [ebp - 0x18]
call esi
test eax, eax
jne 0x4c21eb
cmp dword [0x550bdc], edi
je 0x4c21c4
push str.KDubaPushPop::_OpenUrlByRcmdHelper::open_url_tool_cfg.xml_is_not_exsit
push ecx
call fcn.004022f5
add esp, 4
call fcn.0040233d
mov esi, eax
call fcn.00402366
xor esi, esi
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
jmp 0x4c217a
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 8]
mov byte [ebp - 4], 3
push dword [eax]
lea eax, [ebp - 0x1c]
push str._openurl:1__from:dbpushpop__url:__s_
call fcn.00401a57
mov edi, dword [ebp - 0x1c]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
mov edx, edi
call fcn.0048dab4
mov esi, eax
neg esi
sbb esi, esi
lea eax, [edi - 0x10]
inc esi
call fcn.004012f9
jmp 0x4c21c6
Function at 0x4c2ad1
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x4f153d
call fcn.004d1298
cmp dword [0x550bdc], 0
mov edi, 0x5091f0
je 0x4c2b35
push str.OpenUrlByUserToken
push 0x509228
push str.KDubaPushPop::_OpenUrlByCmpp
push 0x5091f4
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], 0x121
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
mov esi, dword [ebp + 8]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x4c2b47
xor eax, eax
jmp 0x4c2d1a
xor ebx, ebx
lea ecx, [ebp - 0x14]
call fcn.0048ae26
and dword [ebp - 4], ebx
mov eax, dword [0x550310]
mov ecx, 0x550310
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
push dword [esi]
lea eax, [ebp - 0x10]
push str._url:__s_
call fcn.00401a57
cmp dword [0x550bdc], 0
pop ecx
pop ecx
mov ebx, 0x5091f4
je 0x4c2c3e
push dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push str.OpenUrlByUserToken::
push 0x509228
push str.KDubaPushPop::_OpenUrlByCmpp
push ebx
push eax
push edi
push ecx
mov dword [ebp - 0x18], 0x12b
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
cmp dword [0x550bdc], 0
je 0x4c2c3b
push dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push str.OpenUrlByUserToken::
push 0x509228
push str.KDubaPushPop::_OpenUrlByCmpp
push ebx
push eax
push edi
push ecx
mov dword [ebp - 0x18], 0x12c
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
mov esi, dword [ebp + 8]
mov edx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
call fcn.0048dab4
test eax, eax
je 0x4c2cff
mov eax, dword [esi]
push 1
xor ecx, ecx
push ecx
push ecx
push eax
push str.open
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp dword [0x550bdc], 0
cdq
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], edx
je 0x4c2cf0
test edx, edx
jl 0x4c2c87
jg 0x4c2c81
cmp eax, 0x20
jbe 0x4c2c87
mov byte [ebp + 0xb], 1
jmp 0x4c2c8b
mov byte [ebp + 0xb], 0
mov esi, dword [esi]
lea eax, [ebp + 0xb]
push eax
push str.___result:
push esi
push str.ShellExecute_
push 0x509228
push str.KDubaPushPop::_OpenUrlByCmpp
push ebx
lea eax, [ebp - 0x18]
push eax
push edi
push ecx
mov dword [ebp - 0x18], 0x132
call fcn.004022f5
add esp, 4
call fcn.0040233d
call fcn.00423894
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.0040233d
call fcn.00432440
mov esi, eax
call fcn.00402366
xor esi, esi
cmp dword [ebp - 0x1c], esi
jl 0x4c2d02
jg 0x4c2cff
cmp dword [ebp - 0x20], 0x20
jbe 0x4c2d02
xor esi, esi
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
call fcn.004d1370
ret 4
Function at 0x4c3dd6
Capabilities:
Create thread

Disassembly:
push 0xc
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
xor ecx, ecx
cmp eax, ecx
jne 0x4c3de7
xor eax, eax
ret
mov edx, dword [esp + 4]
push ecx
push ecx
push eax
push 0x4c35db
mov dword [eax], edx
mov edx, dword [esp + 0x18]
push ecx
push ecx
mov dword [eax + 8], edx
mov dword [eax + 4], 0x4c3a27
call dword [sym.imp.MSVCR80.dll__beginthreadex]
add esp, 0x18
ret

Function at 0x4c4af6
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x4f99c0
call fcn.004d1298
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x658], esi
jne 0x4c4b23
push dword [edi + 0x648]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c4bae
mov eax, dword [edi + 0x644]
sub eax, 0x10
call fcn.00401311
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.004c4d47
lea eax, [ebp - 0x50]
push eax
call fcn.004545aa
lea eax, [edi + 0x648]
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00402a90
mov edi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x50]
call fcn.00454623
test eax, eax
jne 0x4c4b7a
lea esi, [ebp - 0x50]
call fcn.0045460d
lea eax, [edi - 0x10]
jmp 0x4c4ba9
mov edi, dword [ebp + 0xc]
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.USER32.dll_SetRect]
lea ebx, [ebp - 0x50]
call fcn.00454cdc
test eax, eax
mov esi, ebx
jne 0x4c4bb8
call fcn.00454796
lea esi, [ebp - 0x50]
call fcn.0045460d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
xor al, al
call fcn.004d1370
ret 8
call fcn.00454796
mov eax, dword [edi + 8]
sub eax, dword [edi]
test eax, eax
jle 0x4c4b9b
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
test eax, eax
jle 0x4c4b9b
lea esi, [ebp - 0x1c]
call fcn.004544a5
test eax, eax
je 0x4c4bed
mov eax, dword [ebp - 0x1c]
add dword [edi], eax
add dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
add dword [edi + 4], eax
add dword [edi + 0xc], eax
add dword [edi + 0xc], 0xfffffff1
push 0
push 0xfffffffffffffff1
push edi
call dword [sym.imp.USER32.dll_InflateRect]
fild dword [edi]
mov esi, dword [ebp + 8]
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
fild dword [edi + 8]
mov dword [edi], eax
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
fild dword [edi + 4]
mov dword [edi + 8], eax
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
fild dword [edi + 0xc]
mov dword [edi + 4], eax
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
lea esi, [ebp - 0x50]
mov dword [edi + 0xc], eax
call fcn.0045460d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov al, 1
jmp 0x4c4bb0
Function at 0x4c4df8
Capabilities:
Check if file exists

Disassembly:
push 0x17c
mov eax, 0x4f3dc2
call fcn.004d1298
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x4c4e18
xor al, al
call fcn.004d1370
ret 4
push dword [ebp + 8]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c4e0e
push 0x50f630
push dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 0x10], esi
call dword [sym.imp.MSVCR80.dll__wfopen_s]
add esp, 0xc
cmp dword [ebp - 0x10], esi
je 0x4c4e0e
lea eax, [ebp - 0x188]
call fcn.004655da
mov dword [ebp - 4], esi
mov ebx, dword [ebp - 0x10]
call fcn.004657b2
push dword [ebp - 0x10]
mov esi, eax
call dword [sym.imp.MSVCR80.dll_fclose]
xor ebx, ebx
cmp esi, ebx
pop ecx
lea eax, [ebp - 0x188]
je 0x4c4e7c
or dword [ebp - 4], 0xffffffff
push eax
call fcn.004656ee
jmp 0x4c4e0e
push ebx
call fcn.004608f1
mov esi, eax
cmp esi, ebx
jne 0x4c4e90
lea eax, [ebp - 0x188]
jmp 0x4c4e70
push str.shortcuts
call fcn.004608f1
cmp eax, ebx
je 0x4c4e88
push 0x51bac8
call fcn.004608f1
push eax
push edi
call fcn.004c4f36
cmp al, bl
je 0x4c4e88
push str.shadow
mov eax, esi
call fcn.004608f1
cmp eax, ebx
jne 0x4c4eda
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x188]
push eax
call fcn.004656ee
mov al, bl
jmp 0x4c4e10
lea ecx, [ebp + 8]
push ecx
push 0x503f84
mov dword [ebp + 8], ebx
call fcn.0046097f
mov eax, dword [ebp + 8]
mov dword [edi], eax
mov bl, 1
jmp 0x4c4ec3
Function at 0x4c6bcc
Capabilities:
Check if file exists

Disassembly:
push 0x44
mov eax, 0x4f9995
call fcn.004d1298
mov edi, dword [ebp + 8]
xor esi, esi
cmp dword [edi + 0x658], esi
jne 0x4c6bf9
push dword [edi + 0x648]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4c6c84
mov eax, dword [edi + 0x644]
sub eax, 0x10
call fcn.00401311
add eax, 0x10
mov dword [ebp - 0x14], eax
lea ebx, [ebp - 0x14]
mov dword [ebp - 4], esi
call fcn.004c4d47
lea eax, [ebp - 0x50]
push eax
call fcn.004545aa
lea eax, [edi + 0x648]
lea edi, [ebp - 0x4c]
mov byte [ebp - 4], 1
call fcn.00402a90
mov edi, dword [ebp - 0x14]
push edi
lea ecx, [ebp - 0x50]
call fcn.00454623
test eax, eax
jne 0x4c6c50
lea esi, [ebp - 0x50]
call fcn.0045460d
lea eax, [edi - 0x10]
jmp 0x4c6c7f
mov edi, dword [ebp + 0xc]
push esi
push esi
push esi
push esi
push edi
call dword [sym.imp.USER32.dll_SetRect]
lea ebx, [ebp - 0x50]
call fcn.00454cdc
test eax, eax
mov esi, ebx
jne 0x4c6c8e
call fcn.00454796
lea esi, [ebp - 0x50]
call fcn.0045460d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
xor al, al
call fcn.004d1370
ret 8
call fcn.00454796
mov eax, dword [edi + 8]
sub eax, dword [edi]
test eax, eax
jle 0x4c6c71
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
test eax, eax
jle 0x4c6c71
lea esi, [ebp - 0x1c]
call fcn.004544a5
test eax, eax
je 0x4c6cc3
mov eax, dword [ebp - 0x1c]
add dword [edi], eax
add dword [edi + 8], eax
mov eax, dword [ebp - 0x18]
add dword [edi + 4], eax
add dword [edi + 0xc], eax
add dword [edi + 0xc], 0xfffffff1
push 0
push 0xfffffffffffffff1
push edi
call dword [sym.imp.USER32.dll_InflateRect]
fild dword [edi]
mov esi, dword [ebp + 8]
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
fild dword [edi + 8]
mov dword [edi], eax
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
fild dword [edi + 4]
mov dword [edi + 8], eax
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
fild dword [edi + 0xc]
mov dword [edi + 4], eax
fdiv dword [esi + 0x65c]
call fcn.004d0ca0
lea esi, [ebp - 0x50]
mov dword [edi + 0xc], eax
call fcn.0045460d
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov al, 1
jmp 0x4c6c86
Function at 0x4c74e4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fcd2e
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x54b0c4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
push ebx
call dword [sym.imp.KERNEL32.dll_SetLastError]
push str.9E17783B_FC0D_4152_BFB5_91D4F1C24A4CLieShow
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 0x254], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4c754f
xor eax, eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea eax, [esp + 0x14]
push eax
call fcn.00402d09
mov dword [esp + 0x38], ebx
push dword [esp + 0x10]
lea eax, [esp + 0x18]
push eax
call fcn.0045149c
lea edi, [esi + 0x24c]
push edi
lea eax, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.00451988
mov eax, dword [edi]
cmp dword [eax - 0xc], ebx
jne 0x4c75c0
lea eax, [esi + 0x250]
push str.poptype_empty
push eax
call fcn.00402d46
lea ecx, [esp + 0x14]
mov byte [esp + 0x38], 0
call fcn.00451507
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, ebx
jmp 0x4c753a
mov ebx, dword [ebp + 8]
lea eax, [ebx + 0x10]
lea edi, [esi + 0x248]
call fcn.00402a90
push ebx
mov ecx, esi
call fcn.00437a47
mov ebx, eax
jmp 0x4c759f
Function at 0x4c8019
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4f8989
call fcn.004d1298
mov ebx, ecx
cmp dword [ebx + 0x3c], 0
je 0x4c8038
xor eax, eax
inc eax
call fcn.004d1370
ret 4
lea edi, [ebx + 0xc]
call fcn.004c925f
lea edi, [ebx + 0x18]
call fcn.0049775d
lea esi, [ebx + 0x24]
mov edi, dword [esi + 8]
cmp dword [esi + 4], edi
jbe 0x4c8059
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esi + 4]
cmp eax, dword [esi + 8]
mov dword [ebp - 0x14], eax
jbe 0x4c806d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [ebp - 0x14]
cmp eax, edi
je 0x4c808b
push eax
push dword [esi + 8]
mov eax, edi
call fcn.004c9dfc
pop ecx
pop ecx
push dword [esi + 8]
mov edi, eax
call fcn.004c9843
mov dword [esi + 8], edi
call fcn.00401afb
lea ecx, [eax + 8]
lea eax, [ebp - 0x10]
push str.whconfig.dat
push eax
call fcn.004062ff
pop ecx
pop ecx
xor edi, edi
mov dword [ebp - 4], edi
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4c80ed
cmp dword [0x550bdc], edi
je 0x4c80db
push dword [ebp - 0x10]
push str.whconfig_path_not_exist_:
call fcn.004022f5
call fcn.0040233d
call fcn.0040233d
mov esi, eax
call fcn.00402366
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
jmp 0x4c8030
mov ecx, dword [ebp - 0x10]
push ebx
call fcn.004c87c4
test eax, eax
jne 0x4c810c
cmp dword [0x550bdc], edi
je 0x4c80db
push dword [ebp - 0x10]
push str.whconfig_load_failed:
jmp 0x4c80c5
lea edx, [ebp + 8]
lea edi, [ebx + 0xc]
call fcn.004c9283
test eax, eax
jne 0x4c8143
cmp dword [0x550bdc], eax
je 0x4c80db
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
lea eax, [ebp + 8]
push eax
push str.whconfig_without_scene_:
call fcn.004022f5
call fcn.0040233d
call fcn.00423894
jmp 0x4c80d4
cmp dword [ebx + 0x20], 0
jne 0x4c818a
mov eax, esi
call fcn.004c9606
test eax, eax
jne 0x4c818a
cmp dword [0x550bdc], eax
je 0x4c8176
push str.whconfig_without_process_and_hotkeys
push ecx
call fcn.004022f5
add esp, 4
call fcn.0040233d
mov esi, eax
call fcn.00402366
xor esi, esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
jmp 0x4c8030
xor eax, eax
inc eax
mov dword [ebx + 0x3c], eax
mov esi, eax
jmp 0x4c8178