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

Disassembly:
push ebp
sub esp, 0xc18
lea ebp, [esp - 4]
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0xc18], eax
push 0x48
mov eax, 0x100cfb72
call fcn.10071ffd
mov esi, ecx
mov dword [ebp - 0x14], esi
add esi, 0x120
push esi
lea ecx, [ebp]
call fcn.10003510
xor edi, edi
mov ebx, 0x206
push ebx
lea eax, [ebp + 0xa12]
push edi
push eax
mov dword [ebp - 4], edi
mov word [ebp + 0xa10], di
call fcn.10072750
push ebx
lea eax, [ebp + 0x80a]
push edi
push eax
mov word [ebp + 0x808], di
call fcn.10072750
add esp, 0x18
lea eax, [ebp + 0xa10]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
cmp dword [esi + 0x18], 8
jb 0x1003da2f
mov esi, dword [esi + 4]
jmp 0x1003da32
add esi, 4
lea eax, [ebp + 0x808]
push eax
push esi
call fcn.1001d497
pop ecx
pop ecx
lea eax, [ebp + 0xa10]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100015f0
lea eax, [ebp + 0x808]
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 1
call fcn.10003620
lea ecx, [ebp - 0x1c]
call fcn.100013c0
lea eax, [ebp + 0xa10]
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100015f0
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
mov byte [ebp - 4], 3
jae 0x1003da8e
lea eax, [ebp + 4]
push eax
lea ecx, [ebp - 0x54]
call fcn.100015f0
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 4
call fcn.10001460
xor esi, esi
push edi
inc esi
push esi
lea ecx, [ebp - 0x54]
movzx ebx, al
call fcn.100017f0
push edi
push esi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call fcn.100017f0
cmp ebx, edi
je 0x1003db7b
mov eax, dword [ebp - 0x14]
push 0x7ce
mov dword [eax + 0x11c], esi
lea eax, [ebp + 0x3a]
push edi
push eax
mov word [ebp + 0x38], di
call fcn.10072750
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x1003dafc
lea eax, [ebp + 0x20]
push eax
push str.DFSkinInst.exe
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp + 0x38]
push str._s_s__untie__s
push eax
call fcn.100048d5
lea eax, [ebp + 0x38]
push eax
call fcn.1001d1ad
add esp, 0x18
call fcn.10004c83
mov ecx, eax
call fcn.1001a6ac
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
mov ebx, 0x100d52e0
push ebx
push str.IsModifyUIStyle64
mov edi, str.SetModify
push edi
mov dword [ebp - 0x10], eax
call esi
push dword [ebp - 0x10]
push ebx
push str.IsModifyUIStyle
push edi
call esi
push dword [ebp - 0x10]
push ebx
push str.IsTempModifyUIStyle64
push edi
call esi
push dword [ebp - 0x10]
push ebx
push str.IsTempModifyUIStyle
push edi
call esi
xor esi, esi
inc esi
xor edi, edi
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [ebp - 0x14]
push edi
push edi
push 0x52d
push dword [eax + 0x20]
call dword [sym.imp.USER32.dll_PostMessageW]
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.10001450
push edi
push esi
lea ecx, [ebp + 0x1c]
call fcn.100017f0
push edi
push esi
lea ecx, [ebp]
call fcn.100017f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0xc18]
xor ecx, ebp
call fcn.10071fee
add ebp, 0xc1c
leave
ret
Function at 0x1003ef19
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x1003ef0a
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
ret
Function at 0x1003fd42
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
push 0
push esi
push 0x1003fd33
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
mov dword [esi], eax
pop esi
je 0x1003fd70
cmp eax, 0xffffffff
je 0x1003fd70
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
ret
Function at 0x1004057c
Capabilities:
Read .ini file

Disassembly:
push ebp
sub esp, 0x858
lea ebp, [esp - 4]
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x858], eax
push 0x1c
mov eax, 0x100d0040
call fcn.10071ffd
mov edi, 0x206
xor ebx, ebx
push edi
lea eax, [ebp + 0x242]
push ebx
push eax
mov esi, ecx
mov word [ebp + 0x240], bx
call fcn.10072750
push edi
lea eax, [ebp + 0x3a]
push ebx
push eax
mov word [ebp + 0x38], bx
call fcn.10072750
add esp, 0x18
cmp dword [esi + 0x48], 8
jb 0x100405db
mov eax, dword [esi + 0x34]
jmp 0x100405de
lea eax, [esi + 0x34]
push eax
lea eax, [ebp + 0x240]
push 0x100d6110
push eax
call fcn.100048d5
add esp, 0xc
cmp dword [esi + 0x64], 8
jb 0x100405fe
mov esi, dword [esi + 0x50]
jmp 0x10040601
add esi, 0x50
push esi
mov esi, 0x100d6110
lea eax, [ebp + 0x38]
push esi
push eax
call fcn.100048d5
push edi
lea eax, [ebp + 0x652]
push ebx
push eax
mov word [ebp + 0x650], bx
call fcn.10072750
add esp, 0x18
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea ecx, [ebp]
call fcn.100015f0
push str.DongFangInfo.ini
lea ecx, [ebp]
mov dword [ebp - 4], ebx
call fcn.10003620
cmp dword [ebp + 0x18], 8
mov eax, dword [ebp + 4]
jae 0x1004065a
lea eax, [ebp + 4]
push eax
push 0x104
lea eax, [ebp + 0x650]
push eax
push 0x100d5bf0
push str.Spreader
push str.AppInfo
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp + 0x650]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100015f0
mov eax, dword [ebp + 0x30]
cmp eax, 6
mov byte [ebp - 4], 1
jbe 0x100406c7
add eax, 0xfffffffa
push eax
push ebx
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp + 0x1c]
call fcn.100035e0
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp + 0x1c]
mov byte [ebp - 4], 2
call fcn.10001d60
push ebx
push 1
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.100017f0
push edi
lea eax, [ebp + 0x44a]
push ebx
push eax
mov word [ebp + 0x448], bx
call fcn.10072750
mov eax, dword [ebp + 0x20]
add esp, 0xc
cmp dword [ebp + 0x34], 8
jae 0x100406eb
lea eax, [ebp + 0x20]
push eax
lea eax, [ebp + 0x448]
push esi
push eax
call fcn.100048d5
lea eax, [ebp + 0x448]
push eax
lea eax, [ebp + 0x38]
push eax
lea eax, [ebp + 0x240]
push eax
call fcn.1001f410
add esp, 0x18
test eax, eax
jne 0x1004075f
push str.PushMessage::
call fcn.100237d2
pop ecx
xor esi, esi
push ebx
push 1
lea ecx, [ebp + 0x1c]
call fcn.100017f0
push ebx
push 1
lea ecx, [ebp]
call fcn.100017f0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x858]
xor ecx, ebp
call fcn.10071fee
add ebp, 0x85c
leave
ret
xor esi, esi
inc esi
jmp 0x10040724
Function at 0x100422f4
Capabilities:
Create thread

Disassembly:
push esi
push dword [esp + 8]
mov esi, ecx
call fcn.1003c884
mov ecx, eax
call fcn.1003cc4f
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x100422e5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
ret 4
Function at 0x100432e4
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
lea eax, [esi + 4]
push eax
xor eax, eax
push eax
push esi
push 0x100432d5
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi], eax
pop esi
ret

Function at 0x10043d18
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x11c
lea eax, [ebp - 0x120]
push 0
push eax
call fcn.10072750
add esp, 0xc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x10043d9a
cmp dword [ebp - 0x11c], 6
jb 0x10043d9a
push esi
push str.user32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
push str.ChangeWindowMessageFilter
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10043d92
xor ecx, ecx
cmp dword [ebp + 0xc], ecx
sete cl
inc ecx
push ecx
push dword [ebp + 8]
call eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10071fee
leave
ret 8

Function at 0x100443fc
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push dword [ebp + 0x10]
mov ebx, ecx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
jne 0x1004441f
xor eax, eax
jmp 0x1004449f
push edi
push esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push esi
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
push edi
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push edi
push dword [ebp + 0x10]
push eax
call fcn.10074d40
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
lea eax, [ebp + 0xc]
push eax
push 1
push esi
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
push 0
push dword [ebp + 0xc]
call fcn.10012c18
pop ecx
mov esi, eax
test esi, esi
pop ecx
pop edi
je 0x10044418
mov ecx, esi
call fcn.10012b96
mov ecx, esi
mov dword [ebx], eax
call fcn.10012bba
mov dword [ebx + 4], eax
xor eax, eax
mov dword [ebx + 0xc], esi
inc eax
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10048db0
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
sub esp, 0x67c
lea ebp, [esp - 4]
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x67c], eax
push 0x30
mov eax, 0x100d0b2c
call fcn.10071ffd
mov eax, dword [ebp + 0x688]
push eax
lea eax, [ebp + 0x26c]
push 0x100d9664
push eax
mov esi, ecx
call fcn.100048d5
add esp, 0xc
lea eax, [ebp]
push eax
lea eax, [ebp + 0x26c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x10], eax
je 0x10048f56
xor edi, edi
lea eax, [ebp]
push eax
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
cmp eax, edi
je 0x10048f56
cmp word [ebp + 0x2c], 0x2e
je 0x10048e10
cmp word [ebp + 0x2e], di
je 0x10048e10
cmp word [ebp + 0x2e], 0x2e
jne 0x10048e3f
cmp word [ebp + 0x30], di
je 0x10048e10
test byte [ebp], 0x10
jne 0x10048e10
mov ebx, str..dfpf
lea eax, [ebp + 0x2c]
push ebx
push eax
call fcn.10074cd9
test eax, eax
pop ecx
pop ecx
je 0x10048e10
lea eax, [ebp + 0x2c]
push eax
lea eax, [ebp + 0x474]
push 0x100d6110
push eax
call fcn.100048d5
push ebx
call fcn.100726e4
mov ebx, eax
lea eax, [ebp + 0x474]
push eax
call fcn.100726e4
sub eax, ebx
mov word [ebp + eax*2 + 0x474], di
lea eax, [ebp + 0x474]
push 0x100e43d4
push eax
call fcn.10072e67
add esp, 0x1c
test eax, eax
je 0x10048e10
mov eax, dword [esi + 8]
mov ecx, dword [eax + 4]
push eax
push ecx
lea ecx, [ebp - 0x18]
call fcn.100204a1
jmp 0x10048f02
lea ecx, [ebp - 0x18]
call fcn.1000ce84
push eax
lea ecx, [ebp + 0x250]
call fcn.10003510
lea eax, [ebp + 0x474]
push eax
lea ecx, [ebp + 0x250]
mov dword [ebp - 4], edi
call fcn.1000535e
or dword [ebp - 4], 0xffffffff
test eax, eax
push edi
lea ecx, [ebp + 0x250]
push 1
je 0x10048f4c
call fcn.100017f0
lea ecx, [ebp - 0x18]
call fcn.10004bdd
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
push eax
push ecx
lea ecx, [ebp - 0x20]
call fcn.100204a1
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x18]
call fcn.1003fd71
test al, al
je 0x10048ebb
lea eax, [ebp + 0x474]
push eax
lea ecx, [ebp - 0x3c]
call fcn.100015f0
mov ecx, dword [esi + 8]
xor ebx, ebx
lea eax, [ebp - 0x3c]
inc ebx
push eax
mov dword [ebp - 4], ebx
call fcn.100123ed
or dword [ebp - 4], 0xffffffff
push edi
push ebx
lea ecx, [ebp - 0x3c]
call fcn.100017f0
jmp 0x10048e10
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x67c]
xor ecx, ebp
call fcn.10071fee
add ebp, 0x680
leave
ret 4
Function at 0x10049c0b
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0xb40]
sub esp, 0xbc0
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0xb3c], eax
push ebx
push esi
push edi
mov edi, dword [ebp + 0xb48]
mov esi, 0x3e6
xor ebx, ebx
push esi
lea eax, [ebp + 0x36e]
push ebx
push eax
mov word [ebp + 0x36c], bx
call fcn.10072750
push esi
lea eax, [ebp - 0x7a]
push ebx
push eax
mov word [ebp - 0x7c], bx
call fcn.10072750
push esi
lea eax, [ebp + 0x756]
push ebx
push eax
mov word [ebp + 0x754], bx
call fcn.10072750
add esp, 0x24
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
mov dword [ebp - 0x80], eax
call fcn.10004c83
mov ecx, eax
call fcn.1001a68d
push eax
lea eax, [ebp + 0x36c]
push 0x100d6110
push eax
call fcn.100048d5
lea eax, [ebp + 0x36c]
push eax
call fcn.1001db31
mov esi, str..dfpf
push esi
push edi
push dword [ebp - 0x80]
lea eax, [ebp + 0x754]
push str._sSkin_s_s
push eax
call fcn.100048d5
add esp, 0x24
lea eax, [ebp + 0x754]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10049cfd
push esi
push edi
call fcn.10004c83
mov ecx, eax
call fcn.1001a67f
push eax
lea eax, [ebp + 0x754]
push str._sAllSkin_s_s
push eax
call fcn.100048d5
add esp, 0x14
lea eax, [ebp + 0x754]
push eax
push str.DFSkinInst.exe
push dword [ebp - 0x80]
lea eax, [ebp - 0x7c]
push str._s_s__untie__s
push eax
call fcn.100048d5
lea eax, [ebp - 0x7c]
push eax
call fcn.1001d1ad
push 0x100e43d4
push edi
call fcn.10072e67
add esp, 0x20
test eax, eax
jne 0x10049d3d
call fcn.1000eb12
push ebx
jmp 0x10049d44
call fcn.1000eb12
push 1
mov edx, dword [eax]
push 0x58
mov ecx, eax
call dword [edx + 0xc]
call fcn.1000eb12
mov edx, dword [eax]
push edi
push 0xa0
mov ecx, eax
call dword [edx + 8]
call fcn.1000eb12
mov edx, dword [eax]
mov esi, 0x9b
push esi
mov ecx, eax
call dword [edx]
mov edi, eax
inc edi
call fcn.1000eb12
mov edx, dword [eax]
push edi
push esi
mov ecx, eax
call dword [edx + 0xc]
call fcn.1000eb12
mov edx, dword [eax]
push edi
push esi
mov ecx, eax
call dword [edx + 0x48]
call fcn.10004c83
mov ecx, eax
call fcn.1001a6ac
mov esi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
push eax
mov ebx, 0x100d52e0
push ebx
push str.IsModifyUIStyle64
mov edi, str.SetModify
push edi
mov dword [ebp - 0x80], eax
call esi
push dword [ebp - 0x80]
push ebx
push str.IsModifyUIStyle
push edi
call esi
push dword [ebp - 0x80]
push ebx
push str.IsTempModifyUIStyle64
push edi
call esi
push dword [ebp - 0x80]
push ebx
push str.IsTempModifyUIStyle
push edi
call esi
mov ecx, dword [ebp + 0xb3c]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10071fee
add ebp, 0xb40
leave
ret
Function at 0x1004a06f
Capabilities:
Check if file exists

Disassembly:
push ebp
sub esp, 0x208
lea ebp, [esp - 4]
mov eax, dword [0x1011ac70]
xor eax, ebp
mov dword [ebp + 0x208], eax
push 0x1c
mov eax, 0x100cfaf5
call fcn.10071ffd
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea ecx, [ebp - 0x28]
call fcn.100015f0
xor esi, esi
push str.DFHandInput.exe
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], esi
call fcn.10003620
cmp dword [ebp - 0x10], 8
mov eax, dword [ebp - 0x24]
jae 0x1004a0c6
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push 0x206
test eax, eax
push esi
lea eax, [ebp + 2]
mov word [ebp], si
push eax
je 0x1004a110
call fcn.10072750
mov eax, dword [ebp - 0x24]
add esp, 0xc
cmp dword [ebp - 0x10], 8
jae 0x1004a0f3
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp]
push 0x100e4f50
push eax
call fcn.100048d5
lea eax, [ebp]
push eax
call fcn.1001df3c
add esp, 0x10
jmp 0x1004a144
call fcn.10072750
add esp, 0xc
push str.DFTool.exe
call fcn.10004c83
mov ecx, eax
call fcn.1001a66b
push eax
lea eax, [ebp]
push str.__s_s__DownLoadHandInputByHand
push eax
call fcn.100048d5
lea eax, [ebp]
push eax
call fcn.1001df3c
add esp, 0x14
push esi
push 1
lea ecx, [ebp - 0x28]
call fcn.100017f0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x208]
xor ecx, ebp
call fcn.10071fee
add ebp, 0x20c
leave
ret

Function at 0x1004b850
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x100d0d83
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x1011ac70]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0xc], esi
xor ebx, ebx
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x1012173c
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea ecx, [esi + 0x34]
mov dword [esi], vtable.TiXmlDocument.0
mov dword [esp + 0x18], ebx
mov dword [ecx], 0x1012173c
mov dword [esi + 0x40], eax
mov dword [esi + 0x3c], eax
push ebx
push 0x10102ef4
mov byte [esp + 0x20], 1
mov dword [esi + 0x38], 4
mov byte [esi + 0x44], bl
mov byte [esi + 0x2c], bl
mov dword [esi + 0x30], ebx
call fcn.1004ab10
mov dword [esi + 0x40], ebx
mov dword [esi + 0x3c], ebx
mov eax, esi
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x1004b9e0
Capabilities:
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x100d0dd8
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1011ac70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
mov ebp, dword [esp + 0x28]
xor edi, edi
cmp ebp, edi
jne 0x1004ba22
push edi
push edi
push edi
push 2
call fcn.1004d2e0
xor al, al
jmp 0x1004bbbf
mov esi, dword [ebx + 0x18]
cmp esi, edi
je 0x1004ba41
lea esp, [esp]
mov ecx, esi
mov eax, dword [ecx]
mov edx, dword [eax]
mov esi, dword [esi + 0x28]
push 1
call edx
cmp esi, edi
jne 0x1004ba30
push 2
or eax, 0xffffffff
mov dword [ebx + 0x18], edi
mov dword [ebx + 0x1c], edi
push edi
push ebp
mov dword [ebx + 8], eax
mov dword [ebx + 4], eax
call fcn.100795c5
push ebp
call fcn.100794d0
push 0
push 0
push ebp
mov edi, eax
call fcn.100795c5
add esp, 0x1c
test edi, edi
jne 0x1004ba85
push edi
push edi
push edi
push 0xd
mov ecx, ebx
call fcn.1004d2e0
xor al, al
jmp 0x1004bbbf
mov dword [esp + 0x14], 0x1012173c
push edi
lea ecx, [esp + 0x18]
mov dword [esp + 0x24], 0
call fcn.1004aa70
lea eax, [edi + 1]
push eax
call fcn.1004ed11
push ebp
mov esi, eax
push 1
push edi
push esi
mov dword [esp + 0x3c], esi
mov byte [esi], 0
call fcn.1007931d
add esp, 0x14
cmp eax, 1
je 0x1004baf5
push 0
push 0
push 0
push 2
mov ecx, ebx
call fcn.1004d2e0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
cmp eax, 0x1012173c
je 0x1004baee
push eax
call fcn.1004ed3c
add esp, 4
xor al, al
jmp 0x1004bbbf
mov ebp, dword [esp + 0x28]
mov byte [edi + ebp], 0
cmp byte [ebp], 0
mov eax, esi
je 0x1004bb67
mov cl, byte [esi]
cmp cl, 0xa
jne 0x1004bb25
mov ecx, esi
sub ecx, eax
add ecx, 1
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.1004ac00
add esi, 1
mov eax, esi
jmp 0x1004bb62
cmp cl, 0xd
jne 0x1004bb5f
mov ecx, esi
sub ecx, eax
test ecx, ecx
jle 0x1004bb3d
push ecx
push eax
lea ecx, [esp + 0x1c]
call fcn.1004ac00
push 1
lea edx, [esp + 0x2c]
push edx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x30], 0xa
call fcn.1004ac00
cmp byte [esi + 1], 0xa
jne 0x1004bb1e
add esi, 2
mov eax, esi
jmp 0x1004bb62
add esi, 1
cmp byte [esi], 0
jne 0x1004bb05
sub esi, eax
je 0x1004bb76
push esi
push eax
lea ecx, [esp + 0x1c]
call fcn.1004ac00
push ebp
call fcn.1004ed3c
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x18]
mov eax, dword [ebx]
mov eax, dword [eax + 8]
add esp, 4
push ecx
push 0
add edx, 8
push edx
mov ecx, ebx
call eax
cmp byte [ebx + 0x2c], 0
mov eax, dword [esp + 0x14]
mov dword [esp + 0x20], 0xffffffff
jne 0x1004bade
cmp eax, 0x1012173c
je 0x1004bbbd
push eax
call fcn.1004ed3c
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 8
Function at 0x1004bf50
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x100d0e59
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1011ac70]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x14], esi
or eax, 0xffffffff
mov dword [esi + 8], eax
mov dword [esi + 4], eax
xor ebx, ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x20], 0x1012173c
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 5
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
lea edi, [esi + 0x2c]
mov dword [esi], vtable.TiXmlDeclaration.0
mov dword [esp + 0x20], ebx
mov dword [edi], 0x1012173c
lea ebp, [esi + 0x30]
mov dword [ebp], 0x1012173c
mov dword [esi + 0x34], 0x1012173c
mov ecx, dword [esp + 0x28]
mov eax, ecx
lea edx, [eax + 1]
mov byte [esp + 0x20], 3
mov dword [esp + 0x28], edx
lea esp, [esp]
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004bfe0
sub eax, dword [esp + 0x28]
push eax
push ecx
mov ecx, edi
call fcn.1004ab10
mov edi, dword [esp + 0x2c]
mov eax, edi
lea ecx, [eax + 1]
nop
mov dl, byte [eax]
add eax, 1
cmp dl, bl
jne 0x1004c000
sub eax, ecx
push eax
push edi
mov ecx, ebp
call fcn.1004ab10
mov edx, dword [esp + 0x30]
mov eax, edx
lea edi, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
add eax, 1
cmp cl, bl
jne 0x1004c020
sub eax, edi
push eax
push edx
lea ecx, [esi + 0x34]
call fcn.1004ab10
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret 0xc
Function at 0x1005a6c1
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x1005a6fa
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.1005a684
push eax
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.100592de
pop esi
ret 4
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
pop esi
jmp dword [eax + 0x8c]

Function at 0x1005c3f6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
xor edi, edi
xor ebx, ebx
cmp dword [esp + 0x14], edi
mov ebp, ecx
je 0x1005c439
call fcn.1004f611
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x1005c439
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x1005c454
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
push ebx
mov ecx, ebp
call fcn.1005bfb0
test ebx, ebx
mov esi, eax
je 0x1005c452
test edi, edi
je 0x1005c452
push edi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
ret 4

Function at 0x100620ab
Capabilities:
Get graphical window text

Disassembly:
push 4
mov eax, 0x100d1182
call fcn.10071ffd
mov esi, ecx
cmp dword [esi + 0x50], 0
jne 0x100620d0
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 0x20]
call dword [sym.imp.USER32.dll_GetWindowTextW]
jmp 0x1006211c
call fcn.1004fa76
push eax
lea ecx, [ebp - 0x10]
call fcn.1000ead9
mov ecx, dword [esi + 0x50]
mov eax, dword [ecx]
and dword [ebp - 4], 0
lea edx, [ebp - 0x10]
push edx
call dword [eax + 0x8c]
push 0xffffffffffffffff
push dword [ebp - 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.1004f6e3
add esp, 0x10
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
mov esi, eax
call fcn.1000eabf
mov eax, esi
call fcn.100720d5
ret 8