joyce8/EMBER2024-capa huggingface dataset:
Function at 0x436f40
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov edi, ecx
call fcn.00431620
test eax, eax
je 0x43702f
mov ecx, edi
call fcn.00431620
mov ecx, eax
call fcn.0042ebe0
test eax, eax
jne 0x43702f
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43702f
mov eax, dword [0x4e6620]
and eax, 0xffff
push eax
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
test esi, esi
jne 0x436fa2
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
lea ecx, [esp + 0x10]
mov ebp, dword [esp + 0x24]
push 1
push ecx
mov ecx, dword [edi + 0x44]
lea edx, [esp + 0x1c]
shr ecx, 4
lea eax, [esp + 0x20]
push edx
mov edx, dword [esp + 0x2c]
and ecx, 1
push eax
push ecx
push ebp
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GlobalSize]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push eax
mov ecx, edi
call fcn.00431620
mov ecx, eax
call fcn.0042ee10
push esi
mov ebx, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov ecx, dword [esp + 0x28]
mov eax, 1
cmp ecx, eax
jne 0x43702f
cmp ebx, eax
jne 0x43702f
cmp dword [esp + 0x10], eax
jne 0x437015
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0xcc]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [edi]
push eax
mov eax, dword [esp + 0x24]
push ecx
push ebp
push eax
mov ecx, edi
call dword [edx + 0xc0]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 0xc
Function at 0x439d00
Capabilities:
Access peb ldr_data

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x492a28
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebx
push ebp
mov ebp, dword [esp + 0x30]
push esi
mov ebx, ecx
push edi
mov esi, dword [ebp]
mov ecx, dword [esi + 0xc]
mov eax, dword [esi + 0x10]
dec ecx
cmp eax, ecx
jge 0x439d39
inc eax
mov dword [esi + 0x10], eax
jmp 0x439e4c
mov eax, dword [ebx + 0x3c]
mov ecx, dword [esi + 8]
cmp ecx, eax
jne 0x439d4d
mov eax, 0xffffffc7
jmp 0x439e4e
mov esi, dword [esi]
mov edx, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp edx, ecx
jl 0x439d5e
cmp dword [esi + 8], eax
jne 0x439d4d
cmp dword [esi + 8], eax
jne 0x439d77
mov eax, dword [esi + 0x10]
mov ecx, dword [esi + 0xc]
cmp eax, ecx
jl 0x439d77
mov eax, 0xffffffc7
jmp 0x439e4e
mov eax, dword [esi + 4]
xor edi, edi
cmp eax, edi
je 0x439d8b
push eax
mov ecx, ebx
call fcn.00439530
mov dword [esi + 4], edi
mov dword [ebp], esi
mov ecx, dword [esi + 0x10]
inc ecx
mov dword [esi + 0x10], ecx
lea ecx, [esp + 0x10]
call fcn.00409420
mov dword [esp + 0x2c], edi
mov edi, dword [esp + 0x3c]
test edi, edi
jne 0x439dbc
mov ecx, dword [ebx + 4]
mov edx, dword [ecx + 8]
lea ecx, [esp + 0x10]
push edx
call fcn.00409440
mov edi, eax
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, ebx
call fcn.00438ca0
test eax, eax
mov dword [esp + 0x38], eax
je 0x439def
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b3658
call fcn.00409620
mov eax, dword [esp + 0x38]
jmp 0x439e4e
mov ecx, dword [esi + 0x10]
push ecx
push edi
mov ecx, ebx
call fcn.00439b60
mov dl, byte [edi]
and dl, 1
cmp dl, 1
jne 0x439e33
mov ecx, dword [esp + 0x34]
push ebp
push ecx
push edi
push eax
mov ecx, ebx
call fcn.00439b80
mov esi, eax
test esi, esi
jne 0x439e63
mov edx, dword [ebp]
push eax
push edi
mov ecx, ebx
mov dword [edx + 0x10], eax
call fcn.00439b60
mov cl, byte [edi]
and cl, 1
cmp cl, 1
je 0x439e05
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b3658
call fcn.00409620
xor eax, eax
mov ecx, dword [esp + 0x24]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x20
ret 0xc
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x10], 0x4b3658
call fcn.00409620
mov eax, esi
jmp 0x439e4e

Function at 0x43e890
Capabilities:
Create thread

Disassembly:
push ecx
cmp dword [ecx + 0xcc], 1
je 0x43e8f0
mov eax, dword [ecx + 0x1c]
test eax, eax
je 0x43e8f0
mov eax, dword [ecx + 0xb0]
test eax, eax
je 0x43e8f0
push esi
mov edx, 5
mov esi, dword [ecx + 0xbc]
cmp esi, edx
pop esi
je 0x43e8f0
mov dword [ecx + 0xb4], eax
mov dword [ecx + 0x94], 0
mov dword [ecx + 0xbc], edx
lea eax, [esp]
push eax
push 0
push ecx
push 0x43e930
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ecx
ret
Function at 0x44a660
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493318
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
lea eax, [esp + 0xc]
mov ecx, dword [esi + 0x1c]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetClientRect]
push 0
lea ecx, [esp + 0x20]
call fcn.00489d5c
mov eax, dword [esi + 0xd0]
lea edx, [esp + 0x1c]
push eax
push eax
push edx
mov dword [esp + 0x44], 0
call fcn.00449fc0
mov eax, dword [esi + 0x4c]
mov ecx, dword [esi + 0x48]
add eax, 0x64
add esp, 0xc
add ecx, 0x64
mov dword [esp + 8], eax
lea eax, [esp + 4]
mov dword [esp + 4], ecx
push eax
lea ecx, [esp + 0x20]
call fcn.00489c8a
mov ecx, dword [esp + 4]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
push 1
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea eax, [edx + ecx + 1]
xor edx, edx
test eax, eax
setl dl
dec edx
mov ecx, esi
and eax, edx
push eax
push 0
push 0
call fcn.00486474
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 8]
sub ecx, eax
add ecx, edx
mov eax, 0x88888889
imul ecx
add edx, ecx
xor ecx, ecx
sar edx, 4
mov eax, edx
push 1
shr eax, 0x1f
lea eax, [edx + eax + 1]
test eax, eax
setl cl
dec ecx
and eax, ecx
mov ecx, esi
push eax
push 0
push 1
call fcn.00486474
push 1
push 0
push 0
mov ecx, esi
call fcn.0048641c
push 1
push 0
push 1
mov ecx, esi
call fcn.0048641c
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00489dce
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret

Function at 0x44a7e0
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x493338
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
mov esi, ecx
push 0
lea ecx, [esp + 0x20]
call fcn.00489d5c
push 0x3e8
lea eax, [esp + 0x20]
push 0x3e8
push eax
mov dword [esp + 0x44], 0
call fcn.00449fc0
mov ecx, dword [esi + 0x48]
mov eax, dword [esi + 0x4c]
add ecx, 0x64
add esp, 0xc
mov dword [esp + 4], ecx
lea ecx, [esp + 4]
add eax, 0x96
push ecx
lea ecx, [esp + 0x20]
mov dword [esp + 0xc], eax
call fcn.00489c8a
mov eax, dword [esi + 0x1c]
lea edx, [esp + 0xc]
push edx
push eax
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x10]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 8]
mov edx, dword [esp + 0xc]
mov ecx, eax
mov eax, dword [esp + 0x14]
sub eax, edx
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
lea eax, [eax + eax*4]
shl eax, 3
cdq
idiv dword [esp + 4]
cmp dword [esp + 0x44], 1
jne 0x44a8a4
cmp dword [esp + 0x40], 1
jne 0x44a8a2
cmp ecx, eax
jge 0x44a8a4
mov eax, ecx
cmp eax, 0xc8
jge 0x44a8b0
mov eax, 0xc8
mov ecx, esi
mov dword [esi + 0xd0], eax
call fcn.0044a660
mov ecx, dword [esi + 0x1c]
push 1
push 0
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00489dce
mov ecx, dword [esp + 0x30]
pop esi
mov dword fs:[0], ecx
add esp, 0x38
ret 8
Function at 0x44b0b0
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x4933e3
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0xc], esi
call fcn.00484891
lea edi, [esi + 0x64]
mov dword [esp + 0x18], 0
mov dword [edi + 4], 0
mov dword [edi], method.CBrush.virtual_0
mov eax, dword [esp + 0x2c]
mov ebp, dword [esp + 0x24]
mov ecx, dword [esp + 0x30]
mov dword [esi + 0x3c], eax
mov eax, ebp
mov dword [esi], method.CEdit.virtual_0
mov dword [esi + 0x40], ecx
mov dword [esi + 0x44], 0
mov ecx, dword [eax]
lea edx, [esi + 0x48]
mov byte [esp + 0x18], 1
mov dword [edx], ecx
mov ecx, dword [eax + 4]
mov dword [edx + 4], ecx
mov ecx, dword [eax + 8]
mov dword [edx + 8], ecx
mov eax, dword [eax + 0xc]
mov ecx, dword [esp + 0x40]
mov dword [edx + 0xc], eax
mov eax, dword [esp + 0x44]
push eax
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
push eax
mov ecx, edi
call fcn.0048a004
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x20]
push edx
push eax
push ebp
push 0x50800044
mov ecx, esi
call fcn.0048b55c
test eax, eax
je 0x44b1cc
mov ecx, dword [esp + 0x3c]
call fcn.0048a031
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0x30
push ecx
mov dword [esi + 0x58], eax
call ebp
mov edi, dword [esp + 0x34]
test edi, edi
je 0x44b190
push edi
mov ecx, esi
call fcn.004875f3
mov ecx, esi
call fcn.0044b370
cmp dword [esp + 0x38], 1
jne 0x44b1c5
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edx, dword [esi + 0x1c]
push 0xffffffffffffffff
not ecx
dec ecx
push ecx
push 0xb1
push edx
call ebp
mov eax, dword [esi + 0x1c]
push 0
push 0
push 0xb7
push eax
call ebp
mov ecx, esi
call fcn.0048775d
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x28
Function at 0x44d3b0
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x44d3e3
push esi
call fcn.0045b760
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x44d3dc
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x44d469
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x44d452
mov eax, dword [esi + 8]
test eax, eax
je 0x44d407
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x44d44e
cmp eax, 2
je 0x44d452
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x44d3fa
cmp eax, 3
je 0x44d42d
cmp eax, 1
jne 0x44d3fa
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x44d3fa
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x44d3fa
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0044d490
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x44d478
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0044d490
add esp, 4
pop esi
ret

Function at 0x44dd00
Capabilities:
Terminate process

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
je 0x44dd21
mov ecx, dword [eax + 0x40]
test ecx, ecx
je 0x44dd21
mov eax, dword [eax + 0x44]
test eax, eax
je 0x44dd21
mov edx, dword [esp + 8]
push edx
push eax
call ecx
add esp, 8
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x485687
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x4856bf
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00483674
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.0048364c
jmp 0x4856cb
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x486d7c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x486dbe
call fcn.0048ca5e
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x486dbe
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x486db5
xor eax, eax
jmp 0x486dc6
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00486dcc
pop edi
pop esi
pop ebx
ret 4
Function at 0x48cf8e
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x48cfbc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x48cfda
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0048cef4
jmp 0x48cfda
mov eax, dword [esi + 0x14]
test eax, eax
je 0x48cfda
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0048cef4
test edi, edi
mov eax, edi
jne 0x48cfc4
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4027f8
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.004038b0
test esi, esi
jne 0x40282e
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.KERNEL32.DLL_GetModuleFileNameA_1
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004039a0
jmp 0x40284c
call sub.KERNEL32.DLL_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.0040269c
mov edi, eax
test esi, esi
je 0x40284c
cmp dword [ebx], 0
je 0x40284c
dec esi
jmp 0x402835
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x403730
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x40a044], 0
je 0x403791
cmp word [0x40a218], 0xd7b2
jne 0x403759
cmp dword [0x40a220], 0
jbe 0x403759
mov eax, 0x40a214
call dword [0x40a230]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x40905c
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4037b8
push 0xfffffffffffffff5
call sub.KERNEL32.DLL_GetStdHandle_1
push eax
call sub.KERNEL32.DLL_WriteFile_1
pop edx
ret
cmp byte [0x409020], 0
jne 0x4037ad
push 0
push 0x409054
push 0x40905c
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x404688
Capabilities:
Contain obfuscated stackstrings
Inspect section memory permissions

Disassembly:
test byte [ebp + 2], bl
add byte [eax], al
add eax, esi
mov dword [ebp - 0x44], eax

Function at 0x4048fb
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7ec
push ebx
push esi
push edi
call fcn.004040d9
ret

Function at 0x404978
Capabilities:
Contain obfuscated stackstrings

Disassembly:
test dword [ebx + 0x40fffffc], edi
mov byte [ebp - 0x344], 0x44
mov byte [ebp - 0x343], 0x55
mov byte [ebp - 0x342], 0x25
lea eax, [ebp - 0x354]
push eax
call fcn.0040410b
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.004040c0
add esp, 0xc
mov dword [ebp - 0x68c], eax
call dword [ebp - 0x68c]
mov dword [ebp - 0x674], eax
invalid
invalid
invalid
Function at 0x403cb0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x408528
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x68
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x18]
push 0x20
push eax
push str.default
push str.default
push str.SkinSettings
call edi
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x40b538
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x1c]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
mov dword [esp + 0x88], 0
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00405020
mov eax, dword [esi + 4]
push eax
lea eax, [esp + 0x38]
push 0x20
push eax
push str.default
push str.current
push str.SkinSettings
call edi
mov ebx, dword [sym.imp.MSVCRT.dll__stricmp]
lea ecx, [esp + 0x34]
lea edx, [esp + 0x14]
push ecx
push edx
call ebx
add esp, 8
test eax, eax
je 0x403da2
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x40b538
call sub.MFC42.DLL_CString::CString_2
push ecx
lea eax, [esp + 0x3c]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov dword [esp + 0x88], 1
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00405020
mov eax, dword [esi + 4]
lea ecx, [esp + 0x54]
push eax
push 0x20
push ecx
push str.default
push str.currentTable
push str.SkinSettings
call edi
lea edx, [esp + 0x14]
lea eax, [esp + 0x54]
push edx
push eax
call ebx
add esp, 8
test eax, eax
je 0x403e10
push ecx
mov ecx, esp
mov dword [esp + 0x14], esp
push 0x40b538
call sub.MFC42.DLL_CString::CString_2
push ecx
lea edx, [esp + 0x5c]
mov ecx, esp
mov dword [esp + 0x14], esp
push edx
mov dword [esp + 0x88], 2
call sub.MFC42.DLL_CString::CString_2
mov ecx, esi
mov dword [esp + 0x84], 0xffffffff
call fcn.00405020
mov ecx, dword [esi + 0x18]
xor eax, eax
test ecx, ecx
mov ecx, dword [esp + 0x74]
pop edi
pop esi
mov dword fs:[0], ecx
setne al
pop ebx
add esp, 0x74
ret
Function at 0x404b90
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x408708
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 4]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
lea eax, [esp + 0x1c]
push 0x20
push eax
push str.default
push str.currentTable
push str.SkinSettings
mov dword [esp + 0x98], 0
call edi
add esi, 8
push 0x40b060
lea ecx, [esp + 0x14]
push esi
push ecx
call sub.MFC42.DLL_operator_1
lea edx, [esp + 0x18]
mov byte [esp + 0x80], 1
push edx
push eax
lea eax, [esp + 0x14]
push eax
call sub.MFC42.DLL_operator_1
push str.TableReference.ini
lea ecx, [esp + 0xc]
push eax
push ecx
mov byte [esp + 0x8c], 2
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0xc]
mov byte [esp + 0x80], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x80], 4
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
push edx
call fcn.004081a0
add esp, 4
test eax, eax
jne 0x404c82
push str.defaultTableReference.ini
lea eax, [esp + 0x18]
push esi
push eax
call sub.MFC42.DLL_operator_1
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x84], 6
call sub.MFC42.DLL_CString::operator
lea ecx, [esp + 0x14]
mov byte [esp + 0x80], 4
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
mov eax, dword [esp + 0x88]
push ecx
lea edx, [esp + 0x3c]
push 0x40
push edx
push 0x40b538
push eax
push str.TablePath
call edi
pop edi
pop esi
test eax, eax
je 0x404cf1
lea ecx, [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x88]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
add esp, 0x7c
ret 8
lea ecx, [esp]
mov byte [esp + 0x78], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x80]
mov dword [esp + 0x78], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x70]
xor eax, eax
mov dword fs:[0], ecx
add esp, 0x7c
ret 8
Function at 0x4081a0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x4081a9
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40596d
pop dword [ebp - 0x34]
mov eax, 0xacaa8cb2
add eax, 0x5395ccbb
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0xf0d2ec12
sub dword [ebp - 0x44], 0xa280a6c7
mov dword [ebp - 0x40], 0x81cf4fc9
sub dword [ebp - 0x40], 0x4f9c0384
mov dword [ebp - 0x3c], 0xae32a2ca
sub dword [ebp - 0x3c], 0x61e65e9c
mov dword [ebp - 0x38], 0xf104d2
sub dword [ebp - 0x38], 0xf104d2
lea eax, [ebp - 0x44]
push eax
mov eax, 0xfd09a0ef
sub eax, 0xfcc9308f
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x8c328fc7
sub dword [ebp - 0x44], 0x17c02671
mov dword [ebp - 0x40], 0x76c02ddd
sub dword [ebp - 0x40], 0x3553cc68
mov dword [ebp - 0x3c], 0x6024ce19
sub dword [ebp - 0x3c], 0xfcb561ad
mov dword [ebp - 0x38], 0xeec865ee
sub dword [ebp - 0x38], 0xeec865ee
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3849b
push 0
call eax
mov ecx, 0x6c2efce3
add ecx, 0x93d15166
xor ebx, ebx
add ebx, eax
mov esi, 0x410000
add esi, dword [ebp - 0x34]
mov edi, 0xcf700787
sub edi, 0x614fd33e
mov dword [ebp - 4], 0x88dd3aaa
mov edx, dword [esi]
add dword [ebp - 8], 0x832eb810
xor edx, edi
add dword [ebp - 8], ebx
mov dword [ebx], edx
sub dword [ebp - 4], edx
add ebx, 0xa2cc2211
sub ebx, 0xa2cc220d
add esi, 0x525b0df4
add esi, 0xada4f210
loop 0x405a86
add eax, 0x6e69a8b5
sub eax, 0x6e687cbe
mov ebx, eax
add eax, 0x82fb7996
add eax, 0x7d04866f
mov ecx, 0x400000
add ecx, dword [ebp - 0x34]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x70b083
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x70b0be
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x70b09b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x70b0da
dec esi
je 0x70b0d3
dec esi
jne 0x70b0df
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x1002057
Capabilities:
Terminate process

Disassembly:
push 0x10
push 0x1002558
call fcn.010021e4
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov dword [ebp - 0x1c], ebx
mov edi, 0x1004378
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
cmp eax, ebx
je 0x1001e69
cmp eax, esi
jne 0x1001e5c
xor esi, esi
inc esi
mov dword [ebp - 0x1c], esi
jmp 0x1001e6c
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1001e43
xor esi, esi
inc esi
mov eax, dword [0x1004374]
cmp eax, esi
jne 0x1001e7f
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1001eba
mov eax, dword [0x1004374]
test eax, eax
jne 0x1001eb4
mov dword [0x1004374], esi
push 0x1001190
push 0x1001184
call fcn.01001dc0
pop ecx
pop ecx
test eax, eax
je 0x1001eba
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x1001f84
mov dword [0x1004038], esi
mov eax, dword [0x1004374]
cmp eax, esi
jne 0x1001ede
push 0x1001180
push 0x1001178
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1004374], 2
cmp dword [ebp - 0x1c], ebx
jne 0x1001eeb
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100437c], ebx
je 0x1001f0c
push 0x100437c
call fcn.01002159
pop ecx
test eax, eax
je 0x1001f0c
push ebx
push 2
push ebx
call dword [0x100437c]
push dword [0x1004020]
push dword [0x1004024]
push dword [0x100401c]
call fcn.01001d45
add esp, 0xc
mov dword [0x1004034], eax
cmp dword [0x1004028], ebx
jne 0x1001f6a
push eax
call dword [sym.imp.msvcrt.dll_exit]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov ecx, dword [ecx]
mov dword [ebp - 0x20], ecx
push eax
push ecx
call sub.msvcrt.dll__XcptFilter
pop ecx
pop ecx
ret
cmp dword [0x1004038], ebx
jne 0x1001f78
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1004034]
call fcn.01002229
ret
call fcn.01002331
jmp 0x1001e21