joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46b290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1a1d
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, ecx
mov dword [ebp - 0x14], esi
lea eax, [esi + 8]
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
push eax
mov dword [esi + 4], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [esi + 4], vtable.SafeVector_class_ConfigReloadListener__.0
mov dword [ebp - 4], 0
lea ecx, [esi + 0x2c]
mov dword [esi], vtable.Configurator.0
call fcn.0046e070
mov byte [ebp - 4], 1
mov ecx, 0x555558
mov al, byte [ebp + 8]
mov byte [esi + 0x302], al
mov byte [esi + 0x303], 0
mov dword [esi + 0x304], 0
mov byte [esi + 0x308], 1
mov eax, dword [vtable.LocalMutex.0]
mov dword [ebp - 0x1c], vtable.AutoLock.0
mov dword [ebp - 0x18], 0x555558
call dword [eax + 4]
mov byte [ebp - 4], 2
cmp dword [0x558fbc], 0
jne 0x46b3fb
push 0x58
mov dword [0x558fbc], esi
mov byte [ebp - 4], 3
call fcn.0049b504
add esp, 4
mov dword [ebp + 8], eax
mov ecx, eax
mov byte [ebp - 4], 4
call fcn.00470fe0
mov dword [esi + 0x304], eax
mov dword [ebp - 4], 2
jmp 0x46b394
push 0x104
lea edi, [esi + 0xf8]
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 4
push 0x535f74
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
add eax, 0x79
lea eax, [esi + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push edi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x46b3d4
xor eax, eax
mov word [edi], ax
mov byte [ebp - 4], 6
mov ecx, 0x555558
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
lea eax, [ebp - 0x30]
push str.Configurator_instance_already_exists
push eax
call fcn.00403f20
add esp, 8
lea eax, [ebp - 0x30]
push 0x551a40
push eax
call fcn.0049cc58
int3
Function at 0x46de40
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1d37
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x554008]
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 edi, ecx
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0
lea eax, [ebp - 0x23c]
mov dword [ebp - 4], 0
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0x23c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov dword [ebp - 4], 1
lea ecx, [edi + 0xdc]
mov eax, dword [edi + 0xdc]
call dword [eax + 4]
mov bl, byte [edi + 0xc4]
mov byte [ebp - 4], 2
lea ecx, [edi + 0xdc]
mov eax, dword [edi + 0xdc]
call dword [eax + 8]
test bl, bl
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
mov ebx, 0
mov dword [ebp - 0x22c], 0
setne bl
mov dword [ebp - 0x228], 0
mov dword [ebp - 0x224], 0
lea eax, [ebp - 0x22c]
mov byte [ebp - 4], 3
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x22c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov byte [ebp - 4], 4
sub ebx, 0
je 0x46df79
sub ebx, 1
jne 0x46dfab
lea eax, [ebx + 0x23]
jmp 0x46df7e
mov eax, 0x1a
push 1
push eax
lea eax, [ebp - 0x220]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
cmp eax, 1
jne 0x46dfab
lea eax, [ebp - 0x220]
push eax
mov eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x230]
call dword [eax + 4]
push 0x4ca604
push dword [ebp - 0x22c]
lea eax, [ebp - 0x240]
push str._s_s
push eax
call fcn.004038c0
add esp, 0x10
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.004039c0
mov eax, dword [edi + 0x2c]
add edi, 0x2c
mov esi, dword [ebp - 0x23c]
mov ecx, edi
mov dword [ebp - method.AutoLock.virtual_0], vtable.AutoLock.0
mov dword [ebp - 0x224], edi
call dword [eax + 4]
lea ecx, [edi + 0x9c]
mov byte [ebp - 4], 5
mov eax, dword [ecx]
push esi
call dword [eax + 4]
mov byte [ebp - 4], 6
mov ecx, edi
mov eax, dword [edi]
call dword [eax + 8]
lea ecx, [ebp - 0x23c]
mov dword [ebp - method.StringStorage.virtual_0], vtable.StringStorage.0
call fcn.004039c0
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.0049afeb
mov esp, ebp
pop ebp
ret
Function at 0x46e070
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c1da2
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], 0
mov dword [edi], vtable.ServerConfig.0
mov dword [edi + 4], 0x170c
mov dword [edi + 8], 0x16a8
mov dword [edi + 0xc], 0x1010101
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0x2ff90001
mov dword [edi + 0x18], 0x32e78fa5
mov word [edi + 0x1c], 0x294c
mov word [edi + 0x2e], 1
mov byte [edi + 0x30], 1
mov dword [edi + 0x34], 0
mov dword [edi + 0x38], 0
mov byte [edi + 0x3c], 1
mov dword [edi + 0x40], 0x3e8
mov word [edi + 0x44], 0
mov byte [edi + 0x46], 0
mov dword [edi + 0x48], 3
mov byte [edi + 0x4c], 0
mov dword [edi + 0x50], 0x1e
mov dword [edi + 0x54], vtable.PortMappingContainer.0
mov dword [edi + 0x58], 0
mov dword [edi + 0x5c], 0
mov dword [edi + 0x60], 0
mov dword [edi + 0x64], 0
mov dword [edi + 0x68], 0
mov dword [edi + 0x6c], 0
mov byte [edi + 0x70], 0
mov dword [edi + 0x74], 0
mov dword [edi + 0x78], 0
mov dword [edi + 0x7c], 0
mov dword [edi + 0x80], 0
mov dword [edi + 0x84], 0
mov dword [edi + 0x88], 0
lea eax, [edi + 0x9c]
mov dword [edi + 0x8c], 0xbb8
mov byte [edi + 0x90], 1
lea esi, [eax + 4]
mov dword [edi + 0x94], 0
mov word [edi + 0x98], 0x100
mov byte [edi + 0x9a], 0
mov dword [ebp - 0x14], eax
mov dword [eax], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 5
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
and eax, 0xfffffffe
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov word [edi + 0xac], 1
lea eax, [edi + 0xb4]
mov byte [edi + 0xae], 0
mov dword [edi + 0xb0], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
xorps xmm0, xmm0
mov eax, edi
movups xmmword [edi + 0x1e], xmm0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471810
Capabilities:
Access the windows event log

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2170
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebx + 8]
lea ecx, [ebx + 8]
call dword [eax + 4]
mov edi, dword [ebx + 4]
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], 0
lea ecx, [ebx + 8]
mov eax, dword [ebx + 8]
call dword [eax + 8]
mov dword [ebp - 4], 0xffffffff
test edi, edi
je 0x4718fc
mov esi, dword [ebp + 0x14]
mov edi, dword [ebp + 0x10]
mov ecx, edi
push esi
call fcn.00402f60
inc eax
lea ecx, [ebp - 0x20]
push eax
call fcn.00403970
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x20]
push esi
push ecx
push edi
mov dword [ebp - 0x10], ecx
call fcn.00405c20
add esp, 0xc
lea eax, [ebp - 0x10]
push 0
push eax
push 0
push 1
push 0
push dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_ReportEventW]
test eax, eax
jne 0x4718f4
lea ecx, [ebp - 0x30]
call fcn.00402fa0
lea edx, [ebp - 0x30]
mov byte [ebp - 4], 2
mov ecx, str.Cannot_report_an_event_to_the_system_log
call fcn.0041da50
push dword [ebp - 0x2c]
push 0x526af0
push dword [ebx + 0x24]
call fcn.00405e30
add esp, 0xc
mov dword [ebp - 0x30], vtable.StringStorage.0
lea ecx, [ebp - 0x2c]
call fcn.004039c0
lea ecx, [ebp - 0x20]
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x471910
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c21a3
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x471ee0
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
mov ecx, 0x555574
mov dword [edi + 0x10], vtable.Singleton_class_ZombieKiller_.0
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 4]
cmp dword [0x558fec], 0
jne 0x47198e
mov eax, edi
mov dword [0x558fec], eax
mov byte [ebp - 4], 1
mov ecx, 0x555574
mov eax, dword [vtable.LocalMutex.0]
call dword [eax + 8]
mov byte [ebp - 4], 2
lea esi, [edi + 0x14]
push 0
mov dword [edi], vtable.ZombieKiller.0
mov dword [edi + 0x10], vtable.ZombieKiller.1.0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040cf00
mov dword [esi], eax
lea eax, [edi + 0x20]
push eax
mov dword [edi + 0x1c], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0xc], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x471f80
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2228
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [ebp - 4], 0
mov dword [esi], vtable.GlobalMutex.0
mov dword [ebp - 0x20], vtable.StringStorage.0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
lea eax, [ebp - 0x1c]
mov byte [ebp - 4], 1
push eax
push 1
mov ecx, eax
call fcn.00403af0
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x1c]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
push dword [ebp + 8]
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 2
push 0x5368ec
push str._s_s
push eax
call fcn.004038c0
add esp, 0x1c
push dword [ebp - 0x1c]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi + 4], eax
test eax, eax
je 0x47206c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [esi + 4]
cmp eax, 0xb7
je 0x472066
call fcn.004720f0
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x20], vtable.StringStorage.0
call fcn.004039c0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret 0xc
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x48]
call fcn.0041cf20
push 0x551b6c
lea eax, [ebp - 0x48]
push eax
call fcn.0049cc58
int3

Function at 0x472280
Capabilities:
Create thread
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c229e
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x10], edi
lea eax, [edi + 8]
mov dword [edi], vtable.Thread.0
push eax
push 4
push edi
push 0x471ee0
push 0
mov byte [edi + 0xc], 0
push 0
mov byte [edi + 0xd], 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 4], eax
mov dword [ebp - 4], 0
lea esi, [edi + 0x10]
push 0
mov dword [edi], vtable.ThreadCollector.0
push 0
mov dword [ebp - 0x14], esi
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.0040cf00
mov dword [esi], eax
lea eax, [edi + 0x1c]
mov dword [edi + 0x18], vtable.LocalMutex.0
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
push ecx
lea ecx, [edi + 0x34]
mov byte [ebp - 4], 2
call fcn.0041e200
push dword [edi + 4]
call dword [sym.imp.KERNEL32.dll_ResumeThread]
cmp eax, 0xffffffff
setne al
mov byte [edi + 0xc], al
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x472a70
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ecx + 0xc]
sub esp, 0xe8
call fcn.0041e9e0
mov ecx, dword [0x558f74]
test ecx, ecx
je 0x472ab4
lea edx, [ebp - 8]
mov dword [ebp - 4], 0
push edx
lea edx, [ebp - 4]
push edx
push 0x19
push eax
push 0
call ecx
test eax, eax
je 0x472ab4
mov eax, dword [ebp - 4]
cmp dword [eax], 1
je 0x472aba
push eax
call dword [0x558f80]
xor al, al
mov esp, ebp
pop ebp
ret
push esi
push edi
lea esi, [eax + 8]
mov ecx, 0x38
lea edi, [ebp - 0xe8]
rep movsd dword es:[edi], dword [esi]
push eax
call dword [0x558f80]
mov eax, dword [0x558e60]
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x472b02
push 0x558e60
mov dword [0x558e60], 0x114
call esi
neg eax
sbb eax, eax
and eax, dword [0x558e60]
mov dword [0x558e60], eax
cmp dword [0x558e64], 6
jne 0x472b4c
cmp dword [0x558e68], 1
jne 0x472b4c
test eax, eax
jne 0x472b33
push 0x558e60
mov dword [0x558e60], 0x114
call esi
neg eax
sbb eax, eax
and dword [0x558e60], eax
cmp dword [0x558e70], 2
jne 0x472b4c
cmp dword [ebp - 0xe0], 1
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
cmp dword [ebp - 0xe0], 0
pop edi
sete al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x474300
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c24b8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov ebx, dword [0x558fcc]
push str.Try_allow_to_receive_the__u_windows_message
push dword [esi]
mov dword [ebp - 0x10], ebx
call fcn.00405ec0
add esp, 8
cmp dword [0x558e60], 0
jne 0x47436a
push 0x558e60
mov dword [0x558e60], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
neg eax
sbb eax, eax
and dword [0x558e60], eax
cmp dword [0x558e64], 6
jb 0x474465
push str.user32.dll
lea ecx, [ebp - 0x1c]
mov dword [ebp - 0x1c], vtable.DynamicLibrary.0
mov dword [ebp - 0x18], 0
call fcn.004200e0
mov dword [ebp - 4], 0
push str.user32.dll_successfully_loaded.
push dword [esi]
call fcn.00405ec0
mov edi, dword [ebp - 0x18]
add esp, 8
push str.ChangeWindowMessageFilterEx
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [ebp - 0x14], eax
test eax, eax
jne 0x4743fa
push str.ChangeWindowMessageFilter
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
test ebx, ebx
je 0x474488
push str.The_ChangeWindowMessageFilter___function_successfully_found.
push dword [esi]
call fcn.00405ec0
add esp, 8
push 1
push dword [ebp - 0x10]
call ebx
cmp eax, 1
jne 0x4744a7
push str.The_ChangeWindowMessageFilter___function_successfully_executed.
jmp 0x47443c
push str.The_ChangeWindowMessageFilterEx___function_successfully_found.
push dword [esi]
call fcn.00405ec0
add esp, 8
push 0
push 1
push ebx
push dword [ebp + 0xc]
call dword [ebp - 0x14]
cmp eax, 1
je 0x474437
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00402fa0
mov byte [ebp - 4], 2
push str.Cant_allow_to_receive_the__d_windows_message_by_the_ChangeWindowMessageFilterEx___function.
jmp 0x4744c0
push str.The_ChangeWindowMessageFilterEx___function_successfully_executed.
push dword [esi]
call fcn.00405ec0
add esp, 8
test edi, edi
je 0x474474
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push str.The_allowMessage___function_call_is_ignored.
push dword [esi]
call fcn.00405ec0
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x30]
push str.Cant_load_the_ChangeWindowMessageFilterEx___or_ChangeWindowMessageFilter___functions.
push eax
call fcn.00403f20
add esp, 8
lea eax, [ebp - 0x30]
push 0x551a40
push eax
call fcn.0049cc58
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ecx, [ebp - 0x2c]
mov esi, eax
call fcn.00402fa0
mov byte [ebp - 4], 1
push str.Cant_allow_to_receive_the__d_windows_message_by_the_ChangeWindowMessageFilter___function.
lea eax, [ebp - 0x2c]
push eax
call fcn.004038c0
add esp, 8
lea ecx, [ebp - 0x2c]
push esi
call fcn.00403150
push eax
lea ecx, [ebp - 0x58]
call fcn.0041d160
push 0x551b6c
lea eax, [ebp - 0x58]
push eax
call fcn.0049cc58
int3
Function at 0x479070
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b88b8
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x10], 0
mov ebx, dword [ebp + 0x10]
mov esi, 0x400
mov dword [ebp - 4], 0
nop
lea eax, [ebp - 0x18]
push eax
push esi
mov ecx, eax
call fcn.00403af0
push dword [edi + 0x18]
push esi
push dword [ebp - 0x18]
push ebx
push dword [ebp + 8]
push dword [edi + 8]
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ecx, esi
lea edx, [esi - 1]
shr ecx, 1
add esi, ecx
cmp eax, edx
je 0x4790c0
mov ecx, dword [ebp + 0xc]
push dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x18]
call fcn.004039c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47b950
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c2ba7
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x554008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], ecx
lea ebx, [ecx + 4]
mov dword [ecx], 0
mov dword [ebp - 0x14], ebx
mov dword [ebx + 4], vtable.Rect.0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x14], 0
mov dword [ebp - 4], 0
lea edi, [ebx + 0x1c]
mov dword [ebp - 0x18], edi
lea esi, [edi + 4]
mov dword [edi], vtable.StringStorage.0
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push esi
push 1
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.00403af0
mov ecx, dword [esi]
mov eax, dword [esi + 4]
sub eax, ecx
sar eax, 1
add eax, eax
push eax
push 0x525db4
push ecx
call fcn.0049e720
add esp, 0xc
mov esi, dword [ebp + 8]
mov ecx, edi
mov byte [ebp - 4], 2
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [esi + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
mov dword [ebx + 0xc], eax
mov eax, dword [esi + 0x10]
mov dword [ebx + 0x10], eax
mov eax, dword [esi + 0x14]
mov dword [ebx + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [ebx + 0x18], eax
mov eax, dword [edi]
push dword [esi + 0x20]
call dword [eax + 4]
movzx eax, byte [esi + 0x2c]
mov byte [ebx + 0x2c], al
movzx eax, byte [esi + 0x2d]
mov byte [ebx + 0x2d], al
mov eax, dword [esi + 0x30]
mov dword [ebx + 0x30], eax
mov ebx, dword [ebp - 0x10]
mov dword [ebx + 0x38], vtable.Rect.0
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], 0
mov dword [ebx + 0x44], 0
mov dword [ebx + 0x48], 0
mov eax, dword [0x558fa4]
mov dword [ebx + 0x4c], vtable.Region.0
mov dword [ebx + 0x50], eax
mov eax, dword [0x558fa8]
mov dword [ebx + 0x54], eax
lea eax, [ebx + 0x60]
mov dword [ebx + 0x58], 0x558fac
push eax
mov dword [ebx + 0x5c], vtable.LocalMutex.0
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, dword [ebp + 0xc]
mov dword [ebx + 0x78], 0
mov dword [ebx + 0x7c], 0
mov dword [ebx + 0x80], eax
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x100017c1
Capabilities:
Link many functions at runtime

Disassembly:
push ebx
push edi
push 0x14
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_malloc]
mov edi, eax
pop ecx
test edi, edi
je 0x1000185c
push str.jvm.dll
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
mov ebx, eax
test ebx, ebx
jne 0x100017f3
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
xor eax, eax
jmp 0x1000185e
push esi
mov esi, dword [sym.imp.kernel32.dll_GetProcAddress]
push str.JVM_DTraceGetVersion
push ebx
call esi
push str.JVM_DTraceIsSupported
push ebx
mov dword [edi], eax
call esi
push str.JVM_DTraceActivate
push ebx
mov dword [edi + 4], eax
call esi
push str.JVM_DTraceDispose
push ebx
mov dword [edi + 8], eax
call esi
push str.JVM_DTraceIsProbeEnabled
push ebx
mov dword [edi + 0xc], eax
call esi
push ebx
mov dword [edi + 0x10], eax
call dword [sym.imp.kernel32.dll_FreeLibrary]
xor esi, esi
cmp dword [edi], esi
je 0x10001851
cmp dword [edi + 4], esi
je 0x10001851
cmp dword [edi + 8], esi
je 0x10001851
cmp dword [edi + 0xc], esi
je 0x10001851
cmp dword [edi + 0x10], esi
jne 0x1000185b
push edi
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
mov edi, esi
pop esi
mov eax, edi
pop edi
pop ebx
ret

Function at 0x100022cf
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
pushal
call 0x100022de
pop dword [ebp - 0x4c]
mov eax, 0x417eb4d2
add eax, 0xce816e0c
sub dword [ebp - 0x4c], eax
mov dword [ebp - 0x5c], 0xc8d7673d
add dword [ebp - 0x5c], 0x857ade0e
mov dword [ebp - 0x58], 0x747ac975
sub dword [ebp - 0x58], 0x42477d30
mov dword [ebp - 0x54], 0x2e891187
sub dword [ebp - 0x54], 0xe23ccd59
mov dword [ebp - 0x50], 0xe64f90b8
sub dword [ebp - 0x50], 0xe64f90b8
lea eax, [ebp - 0x5c]
push eax
mov eax, 0x2b9cde2e
add eax, 0xe46351d6
add eax, dword [ebp - 0x4c]
call dword [eax]
mov dword [ebp - 0x5c], 0x2e6e16e0
sub dword [ebp - 0x5c], 0xb9fbad8a
mov dword [ebp - 0x58], 0x69f25aeb
add dword [ebp - 0x58], 0xd77a068a
mov dword [ebp - 0x54], 0x9c320a5a
sub dword [ebp - 0x54], 0x38c29dee
mov dword [ebp - 0x50], 0x7b0c1c60
add dword [ebp - 0x50], 0x84f3e3a0
lea ebx, [ebp - 0x5c]
push ebx
push eax
mov eax, 0x9fdcf9fd
sub eax, 0x8fdcc9f5
add eax, dword [ebp - 0x4c]
call dword [eax]
push 0x40
push 0x1000
push 0x38076
push 0
call eax
mov ecx, 0xc86485cc
add ecx, 0x379bc85f
mov edi, eax
mov ebx, 0x10006200
add ebx, dword [ebp - 0x4c]
mov edx, 0x1000e7e3
sub dword [ebp - 4], 0xa5d193a2
mov esi, dword [ebx]
xor esi, edx
xor dword [ebp - 0xc], 0xecc16c9
mov dword [edi], esi
sub dword [ebp - 0x3c], 0x47e1ff85
add edi, 0x63f50aa
sub edi, 0x63f50a6
add ebx, 0xc692e0d7
sub ebx, 0xc692e0d3
loop 0x100023f4
add eax, 0x12b7f
mov ebx, eax
add eax, 5
mov ecx, 0x43f68155
add ecx, 0xcc097eab
add ecx, dword [ebp - 0x4c]
call ebx
leave
ret