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

Disassembly:
push 0xffffffffffffffff
push 0x4bf4db
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
push 0
push 0x23
lea eax, [esp + 0x2c]
push eax
push 0
mov dword [esp + 0x14], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0xc]
call fcn.00405580
lea ecx, [esp + 8]
mov dword [esp + 0x238], 0
call fcn.00405560
test al, al
je 0x488be4
push 0x4cde58
mov ecx, esi
call fcn.004089f0
jmp 0x488c53
lea ecx, [esp + 8]
call fcn.00426b70
sub eax, 1
push eax
lea ecx, [esp + 0xc]
call fcn.00403ec0
movzx eax, word [eax]
cmp ax, 0x5c
je 0x488c17
cmp ax, 0x2f
je 0x488c17
push 0x4d0064
lea ecx, [esp + 0xc]
call fcn.00403e70
push str.TencentSoftMgr_
lea ecx, [esp + 0xc]
call fcn.00403e90
lea ecx, [esp + 8]
call fcn.00401cb0
push eax
call fcn.00488770
add esp, 4
test eax, eax
mov ecx, esi
jne 0x488c49
push 0x4cde58
call fcn.004089f0
jmp 0x488c53
lea edx, [esp + 8]
push edx
call fcn.00404ac0
lea ecx, [esp + 8]
call fcn.00401df0
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0049d270
add esp, 0x238
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4be786
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x244], eax
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x24c]
mov dword fs:[0], eax
test esi, esi
je 0x488d72
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x488d72
push 0x208
lea eax, [esp + 0x42]
push 0
push eax
mov word [esp + 0x48], 0
call fcn.0049d120
push 0x104
lea ecx, [esp + 0x4c]
push esi
push ecx
call fcn.0049f8f8
add esp, 0x18
test eax, eax
jne 0x488d98
push esi
lea ecx, [esp + 0x24]
call fcn.004089f0
lea edx, [esp + 0x20]
push edx
mov ecx, 0x4e77ec
mov dword [esp + 0x258], 0
call fcn.00408040
lea ecx, [esp + 0x20]
call fcn.0042a190
xor al, al
mov ecx, dword [esp + 0x24c]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.0049d270
add esp, 0x254
ret
lea eax, [esp + 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x400
je 0x488dd8
lea ecx, [esp + 0x3c]
push ecx
lea ecx, [esp + 8]
call fcn.004089f0
lea edx, [esp + 4]
push edx
mov ecx, 0x4e77ec
mov dword [esp + 0x258], 1
call fcn.00408040
lea ecx, [esp + 4]
jmp 0x488d6d
mov al, 1
jmp 0x488d74
Function at 0x488e00
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4be748
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push esi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov esi, ecx
push 0x40
lea eax, [esp + 0x2c]
push 0
push eax
call fcn.0049d120
xor eax, eax
add esp, 0xc
lea ecx, [esp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], 0x44
mov dword [esp + 0x50], 0x181
call fcn.00417fe0
push edi
push ebx
lea ecx, [esp + 0x10]
push str.__s___s
push ecx
mov dword [esp + 0x88], 0
call fcn.00405770
add esp, 0x10
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
push ecx
push 0
push 0
push 0
mov edx, esi
neg edx
push 0
sbb edx, edx
push 0
and edx, 0xa
push 0
lea ecx, [esp + 0x28]
mov word [esp + 0x74], dx
call fcn.004683f0
push eax
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x488efd
mov edx, dword [ebp + 8]
push edi
push ebx
push esi
push edx
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.QMTFunction::RunApp_CreateProcessW_error:_d__wait:_d__show:_d__path:_ws__cmd:_s
mov esi, 0x4e77f8
call fcn.004897f0
add esp, 0x18
lea ecx, [esp + 8]
call fcn.00417fc0
xor eax, eax
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
call fcn.00420ee0
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x10]
call fcn.00420ee0
mov eax, dword [ebp + 8]
test eax, eax
je 0x488f3f
mov edx, dword [esp + 0x14]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x488f3f
push eax
mov eax, dword [esp + 0x18]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
lea ecx, [esp + 0xc]
call fcn.00418cc0
lea ecx, [esp + 0x10]
call fcn.00418cc0
lea ecx, [esp + 8]
call fcn.00417fc0
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x488f70
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x20c], eax
cmp dword [0x4e78bc], 0
jne 0x489003
push esi
push 0x208
lea eax, [esp + 0xa]
push 0
push eax
mov word [esp + 0x10], 0
call fcn.0049d120
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0xffffffffffffffff
push str.kernel32.dll
lea edx, [esp + 0xc]
push 0x104
push edx
call fcn.004a30dc
add esp, 0x10
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x489002
push str.GetLocaleInfoEx
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
neg eax
sbb eax, eax
add eax, 2
push esi
mov dword [0x4e78bc], eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [esp + 0x20c]
xor eax, eax
cmp dword [0x4e78bc], 1
sete al
xor ecx, esp
call fcn.0049d270
add esp, 0x210
ret
Function at 0x489030
Capabilities:
Check os version

Disassembly:
sub esp, 0x124
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x120], eax
push edi
push 0x118
lea eax, [esp + 0x10]
push 0
push eax
call fcn.0049d120
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esi], 0
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x4890a3
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
jne 0x4890a3
xor eax, eax
pop edi
mov ecx, dword [esp + 0x120]
xor ecx, esp
call fcn.0049d270
add esp, 0x124
ret
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_1
push eax
call fcn.004a414c
add esp, 0xc
test eax, eax
jne 0x4890c3
or dword [esi], 1
jmp 0x489121
push 0x80
lea ecx, [esp + 0x20]
push str.Service_Pack_2
push ecx
call fcn.004a414c
add esp, 0xc
test eax, eax
jne 0x4890e3
or dword [esi], 2
jmp 0x489121
push 0x80
lea edx, [esp + 0x20]
push str.Service_Pack_3
push edx
call fcn.004a414c
add esp, 0xc
test eax, eax
jne 0x489103
or dword [esi], 3
jmp 0x489121
push 0x80
lea eax, [esp + 0x20]
push str.Service_Pack_4
push eax
call fcn.004a414c
add esp, 0xc
test eax, eax
jne 0x489121
or dword [esi], 4
shl dword [esi], 0x10
call fcn.00488f70
test eax, eax
je 0x48915c
cmp dword [esp + 0x18], 2
jne 0x48908b
cmp dword [esp + 0xc], 6
jne 0x48908b
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x48918d
test eax, eax
jne 0x48908b
or dword [esi], 8
jmp 0x489240
mov eax, dword [esp + 0x18]
sub eax, 0
je 0x489240
sub eax, 1
je 0x48921a
sub eax, 1
jne 0x489240
mov eax, dword [esp + 0xc]
cmp eax, 6
jne 0x4891a5
mov eax, dword [esp + 0x10]
cmp eax, 1
jne 0x489195
or dword [esi], 9
jmp 0x489240
test eax, eax
jne 0x489240
or dword [esi], 8
jmp 0x489240
cmp eax, 5
jne 0x4891ce
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x4891bb
or dword [esi], 7
jmp 0x489240
cmp eax, 1
jne 0x4891c5
or dword [esi], 6
jmp 0x489240
test eax, eax
jne 0x489240
or dword [esi], 5
jmp 0x489240
cmp eax, 4
ja 0x489240
or dword [esi], 4
cmp eax, 4
jne 0x489240
lea ecx, [esp + 0x1c]
push str.Service_Pack_6
push ecx
call fcn.0049d802
add esp, 8
test eax, eax
jne 0x489240
lea edx, [esp + 4]
push edx
push 1
push eax
push str.SOFTWAREMicrosoftWindows_NTCurrentVersionHotfixQ246009
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x489240
cmp dword [esp + 0xc], 4
jne 0x489240
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x48922e
or dword [esi], 1
jmp 0x489240
cmp eax, 0xa
jne 0x489238
or dword [esi], 2
jmp 0x489240
cmp eax, 0x5a
jne 0x489240
or dword [esi], 3
mov ecx, dword [esp + 0x124]
pop edi
xor ecx, esp
mov eax, 1
call fcn.0049d270
add esp, 0x124
ret
Function at 0x489420
Capabilities:
Create thread

Disassembly:
sub esp, 0xec
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0xe8], eax
push ebx
xor ebx, ebx
cmp dword [esi + 0x3c], ebx
push edi
mov edi, ecx
je 0x489459
pop edi
lea eax, [ebx + 1]
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0049d270
add esp, 0xec
ret
push ebp
mov ecx, esi
call fcn.00489c30
push edi
lea ecx, [esi + 0x10]
call fcn.00418330
xor eax, eax
push 0xc6
mov dword [esp + 0x11], eax
mov dword [esp + 0x15], eax
mov dword [esp + 0x19], eax
mov dword [esp + 0x1d], eax
mov word [esp + 0x21], ax
mov byte [esp + 0x23], al
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x32]
push ebx
push eax
mov dword [esi + 0x3c], 1
mov byte [esp + 0x18], bl
mov dword [esp + 0x2c], ebx
mov word [esp + 0x38], bx
call fcn.0049d120
add esp, 0xc
push 1
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push ebx
push ebx
push 1
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
lea eax, [esp + 0xc]
mov dword [esp + 0x20], 0xc
mov dword [esp + 0x24], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.GlobalBFD88F2D_0990_4de4_AD0F_764F5894389A__d
lea ecx, [esp + 0x34]
push 0x63
push ecx
call fcn.004a1b89
mov ebx, dword [sym.imp.KERNEL32.dll_CreateEventW]
add esp, 0x10
lea edx, [esp + 0x2c]
push edx
push 1
push 1
lea eax, [esp + 0x2c]
push eax
lea edi, [esi + 4]
call ebx
push eax
mov ecx, edi
call fcn.00418c90
push 0
push 0
push 0
push 0
lea ebp, [esi + 8]
call ebx
push eax
mov ecx, ebp
call fcn.00418c90
mov ecx, edi
call fcn.004683f0
test eax, eax
je 0x48958d
mov ecx, ebp
call fcn.004683f0
test eax, eax
je 0x48958d
push 0
push 0
push esi
push 0x489980
push 0
push 0
lea edi, [esi + 0xc]
call fcn.004a273f
add esp, 0x18
push eax
mov ecx, edi
call fcn.00418c90
mov ecx, edi
call fcn.004683f0
neg eax
pop ebp
sbb eax, eax
pop edi
neg eax
pop ebx
mov ecx, dword [esp + 0xe8]
xor ecx, esp
call fcn.0049d270
add esp, 0xec
ret
mov ecx, dword [esp + 0xf4]
pop ebp
pop edi
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049d270
add esp, 0xec
ret

Function at 0x489ba0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp dword [eax + 0x2c], 0
push esi
lea esi, [eax + 0x2c]
jne 0x489c1b
push 0x4d1358
lea ecx, [eax + 0x10]
call fcn.00401cb0
push eax
push esi
call fcn.004a4247
mov eax, dword [esi]
add esp, 0xc
test eax, eax
je 0x489c1b
push edi
push 2
push 0
push eax
call fcn.004a431e
mov eax, dword [esi]
push eax
call fcn.004a453b
mov ecx, dword [esi]
push 0
push 0
push ecx
mov edi, eax
call fcn.004a431e
add esp, 0x1c
test edi, edi
pop edi
jne 0x489c1b
mov edx, dword [esi]
push edx
push 2
lea eax, [esp + 0xc]
mov word [esp + 0xd], 0
push 1
push eax
mov byte [esp + 0x14], 0xff
mov byte [esp + 0x15], 0xfe
mov byte [esp + 0x16], 0
call fcn.004a3cfc
add esp, 0x10
xor eax, eax
cmp dword [esi], eax
pop esi
setne al
pop ecx
ret
Function at 0x489c30
Capabilities:
Get file size
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c0178
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, ecx
add esi, 0x10
mov ecx, esi
call fcn.00401cb0
push 0
push 0x80
push 3
push 0
push 3
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x489d07
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x489c96
xor ebx, ebx
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp ebx, 0x80000
jb 0x489d07
mov ecx, esi
call fcn.00401cb0
push eax
lea ecx, [esp + 0x14]
call fcn.00405a00
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call fcn.00489d20
mov ecx, esi
call fcn.00401cb0
lea ecx, [esp + 0x10]
mov edi, eax
call fcn.004683f0
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
mov esi, eax
push 0
push esi
call ebx
push 1
push esi
call fcn.004888b0
add esp, 8
push 0
push edi
call ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_MoveFileW]
lea ecx, [esp + 0x10]
call fcn.00417fc0
mov eax, 1
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret

Function at 0x489fd0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4be5ab
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x228], eax
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x230]
mov dword fs:[0], eax
push 0x206
lea eax, [esp + 0x2a]
push 0
push eax
mov dword [esp + 0x10], 0
mov word [esp + 0x30], 0
call fcn.0049d120
mov eax, 1
add esp, 0xc
test byte [0x4e7a10], al
jne 0x48a054
or dword [0x4e7a10], eax
mov ecx, 0x4e79f4
call fcn.00418310
push 0x4c1cd0
call fcn.0049d9e5
add esp, 4
mov ecx, 0x4e79f4
call fcn.00405560
test al, al
je 0x48a0aa
push 0x104
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea edx, [esp + 0x24]
push edx
lea ecx, [esp + 0xc]
call fcn.004089f0
push eax
mov ecx, 0x4e79f4
mov dword [esp + 0x23c], 0
call fcn.004089d0
lea ecx, [esp + 8]
mov dword [esp + 0x238], 0xffffffff
call fcn.0042a190
push 0x4e79f4
mov ecx, esi
call fcn.00408a10
mov eax, esi
mov ecx, dword [esp + 0x230]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [esp + 0x228]
xor ecx, esp
call fcn.0049d270
add esp, 0x238
ret
Function at 0x48a0e0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bcf32
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call fcn.00418310
push 0x208
lea eax, [esp + 0x16]
mov dword [esp + 0x22c], 0
push 0
push eax
mov dword [esp + 0x14], 1
mov word [esp + 0x1c], 0
call fcn.0049d120
add esp, 0xc
push 0
push 0x19
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00418330
call fcn.0048a5f0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0049d270
add esp, 0x224
ret

Function at 0x48a1b0
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4bcf32
mov eax, dword fs:[0]
push eax
sub esp, 0x218
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x214], eax
push esi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x220]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
mov dword [esp + 8], 0
call fcn.00418310
push 0x208
lea eax, [esp + 0x16]
mov dword [esp + 0x22c], 0
push 0
push eax
mov dword [esp + 0x14], 1
mov word [esp + 0x1c], 0
call fcn.0049d120
add esp, 0xc
push 0
push 2
lea ecx, [esp + 0x18]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [esp + 0x10]
push edx
mov ecx, esi
call fcn.00418330
call fcn.0048a5f0
mov eax, esi
mov ecx, dword [esp + 0x220]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x214]
xor ecx, esp
call fcn.0049d270
add esp, 0x224
ret

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

Disassembly:
call fcn.00401cb0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
setne al
ret
Function at 0x48bec0
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4c0140
mov eax, dword fs:[0]
push eax
sub esp, 0x5c
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0x58], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x80]
lea esi, [esp + 0x50]
mov byte [esp + 0x17], 0
call fcn.0048aa30
lea ecx, [esp + 0x34]
mov dword [esp + 0x78], 0
call fcn.00418310
mov ecx, ebp
mov byte [esp + 0x78], 1
call fcn.00405560
test al, al
je 0x48bf53
mov eax, esi
push eax
lea ecx, [esp + 0x1c]
call fcn.0048a4f0
push eax
lea ecx, [esp + 0x38]
mov byte [esp + 0x7c], 2
call fcn.004089d0
lea ecx, [esp + 0x18]
mov byte [esp + 0x78], 1
call fcn.0042a190
jmp 0x48bf5d
push ebp
lea ecx, [esp + 0x38]
call fcn.004089d0
lea esi, [esp + 0x34]
call fcn.0048a5f0
push 0x4d13e0
mov edi, esi
call fcn.0048a8a0
mov ecx, esi
call fcn.00401cb0
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
je 0x48bf93
mov dword [ebp + 0x1c], 0
jmp 0x48c04a
lea ecx, [esp + 0x50]
mov dword [ebp + 0x1c], 1
call fcn.0048a370
push 0x4d13f8
lea ecx, [esp + 0x1c]
call fcn.00405580
lea edi, [esp + 0x18]
lea esi, [esp + 0x50]
mov byte [esp + 0x78], 3
call fcn.0048a6b0
mov ecx, edi
mov byte [esp + 0x78], 1
call fcn.00401df0
mov ecx, esi
call fcn.00401cb0
push eax
call ebx
cmp eax, 0xffffffff
je 0x48bfee
mov ecx, esi
push ecx
lea ecx, [ebp + 0x80]
call fcn.00408750
jmp 0x48c045
mov edx, dword [0x4e6208]
push str.SKIN
push str.QMUIRES.dat
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x48c04a
mov eax, dword [0x4e6208]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x48c04a
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x48c04a
mov ecx, dword [0x4e6208]
push esi
push ecx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
push edi
lea edi, [ebp + 0xb0]
mov esi, eax
call fcn.0048b8c0
mov byte [esp + 0x17], 1
lea ecx, [esp + 0x34]
call fcn.0042a190
lea ecx, [esp + 0x50]
call fcn.0042a190
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x58]
xor ecx, esp
call fcn.0049d270
add esp, 0x68
ret 4
Function at 0x48c400
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be368
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x4e2210]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp + 8]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x2d], 0
call fcn.00405560
test al, al
jne 0x48c548
push esi
lea ecx, [ebp - 0x2c]
call fcn.00408a10
lea esi, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0048a5f0
call fcn.00405250
mov ecx, edi
mov dword [ebp - 0x34], eax
call fcn.00408730
mov edi, eax
test edi, edi
je 0x48c4be
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ebx, eax
add ebx, 1
cmp ebx, 0x3fffffff
jg 0x48c4b9
lea eax, [ebx + ebx]
call fcn.004aa7f0
mov esi, esp
test esi, esi
je 0x48c4b9
mov ecx, dword [ebp - 0x34]
push ebx
push esi
push 0xffffffffffffffff
push edi
push 0
push ecx
mov word [esi], 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, esi
jmp 0x48c4bb
xor eax, eax
mov ebx, dword [ebp - 0x38]
push eax
lea edi, [ebp - 0x2c]
call fcn.0048a8a0
mov ecx, edi
call fcn.00401cb0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x48c540
push 0
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
test esi, esi
je 0x48c539
lea edx, [esi + 1]
push edx
mov dword [ebp - 0x34], 0
call fcn.0049b68a
add esp, 4
push 0
lea ecx, [ebp - 0x34]
push ecx
push esi
push eax
push edi
mov dword [ebx], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x48c539
cmp dword [ebp - 0x34], esi
jne 0x48c539
mov edx, dword [ebp - 0x3c]
mov dword [edx], esi
mov eax, dword [ebx]
mov byte [esi + eax], 0
mov byte [ebp - 0x2d], 1
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.0042a190
mov al, byte [ebp - 0x2d]
lea esp, [ebp - 0x4c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0049d270
mov esp, ebp
pop ebp
ret 8
Function at 0x48c780
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4c00e7
mov eax, dword fs:[0]
push eax
sub esp, 0xe0
mov eax, dword [0x4e2210]
xor eax, esp
mov dword [esp + 0xd8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4e2210]
xor eax, esp
push eax
lea eax, [esp + 0xf4]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x104]
lea eax, [esp + 0x74]
xor esi, esi
push eax
mov byte [esp + 0x1b], 0
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
call fcn.00492590
push str.strings.xml
lea ecx, [esp + 0x24]
mov dword [esp + 0x100], esi
call fcn.004088f0
lea ecx, [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push edx
push ebp
lea eax, [esp + 0x2c]
mov byte [esp + 0x108], 1
call fcn.0048c570
test al, al
lea ecx, [esp + 0x20]
sete bl
mov byte [esp + 0xfc], 0
call fcn.00405260
test bl, bl
jne 0x48c966
mov edi, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x74]
push eax
call fcn.004930a0
test al, al
je 0x48c966
push str.strings
lea ecx, [esp + 0x78]
call fcn.00420370
cmp eax, esi
je 0x48c966
mov ecx, str.string
call fcn.00491e50
mov edi, eax
cmp edi, esi
je 0x48c962
mov edi, edi
lea ecx, [esp + 0x58]
call fcn.00405280
lea ecx, [esp + 0x3c]
call fcn.00405280
lea esi, [edi + 0x44]
push esi
mov ebx, 0x4ce808
mov byte [esp + 0x100], 3
call fcn.00493040
test eax, eax
je 0x48c8a5
mov ecx, eax
call fcn.0041e440
jmp 0x48c8a7
xor eax, eax
push eax
lea ecx, [esp + 0x5c]
call fcn.00405110
push esi
mov ebx, str.value
call fcn.00493040
test eax, eax
je 0x48c8c9
mov ecx, eax
call fcn.0041e440
jmp 0x48c8cb
xor eax, eax
push eax
lea ecx, [esp + 0x40]
call fcn.00405110
lea ecx, [esp + 0x58]
call fcn.00426b70
test eax, eax
je 0x48c938
lea ecx, [esp + 0x3c]
call fcn.00426b70
test eax, eax
je 0x48c938
lea ecx, [esp + 0x3c]
lea ebx, [esp + 0x20]
call fcn.00496ed0
mov ecx, ebx
push ecx
mov byte [esp + 0x100], 4
call fcn.0048c700
add esp, 4
mov edx, ebx
push edx
push ecx
lea esi, [ebp + 0x2c]
lea ecx, [esp + 0x60]
call fcn.0048db10
add esp, 4
mov ecx, eax
call fcn.00408750
mov ecx, ebx
mov byte [esp + 0xfc], 3
call fcn.00401df0
mov ecx, str.string
mov eax, edi
call fcn.00491ec0
lea ecx, [esp + 0x3c]
mov edi, eax
call fcn.00405260
lea ecx, [esp + 0x58]
call fcn.00405260
test edi, edi
jne 0x48c870
xor esi, esi
mov bl, 1
jmp 0x48c96a
mov bl, byte [esp + 0x17]
mov eax, dword [esp + 0x18]
cmp eax, esi
je 0x48c97b
push eax
call fcn.0049daed
add esp, 4
lea ecx, [esp + 0x74]
mov dword [esp + 0xfc], 0xffffffff
call fcn.00417f50
mov al, bl
mov ecx, dword [esp + 0xf4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd8]
xor ecx, esp
call fcn.0049d270
add esp, 0xec
ret 4