joyce8/EMBER2024-capa huggingface dataset:
Function at 0x419330
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e30b
mov eax, dword fs:[0]
push eax
sub esp, 0x42c
mov eax, dword [0x473b80]
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
lea eax, [ebp - 0x42c]
mov edi, ecx
push eax
mov ebx, edx
push edi
mov dword [ebp - 0x434], ebx
mov dword [ebp - 0x42c], 0
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x41e]
push edx
mov word [ebp - 0x420], cx
call fcn.00449a10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x420]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x420]
lea edx, [eax + 2]
lea ebx, [ebx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4193c0
sub eax, edx
sar eax, 1
push eax
lea edx, [ebp - 0x420]
lea ecx, [ebx + 0x10]
push edx
mov dword [ebp - 0x428], ecx
call fcn.00403570
mov eax, dword [ebp - 0x42c]
push eax
push 0
push 0x410
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
mov dword [ebp - 0x430], esi
test esi, esi
je 0x419565
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x216]
push edx
mov word [ebp - 0x218], cx
call fcn.00449a10
add esp, 0xc
push 0x104
lea eax, [ebp - 0x218]
push eax
push 0
push esi
call dword [sym.imp.PSAPI.DLL_GetModuleFileNameExW]
lea eax, [ebp - 0x218]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x419445
sub eax, edx
sar eax, 1
push eax
lea ecx, [ebp - 0x218]
lea edi, [ebx + 0x2c]
push ecx
mov ecx, edi
call fcn.00403570
lea edx, [ebp - 0x438]
push edx
call fcn.004105d0
mov dword [ebp - 4], 0
mov ecx, dword [edi + 0x14]
cmp ecx, 8
jb 0x419485
mov esi, dword [edi]
jmp 0x419487
mov esi, edi
cmp ecx, 8
jb 0x419490
mov edx, dword [edi]
jmp 0x419492
mov edx, edi
mov ebx, dword [edi + 0x10]
lea ebx, [edx + ebx*2]
cmp ecx, 8
jb 0x4194a1
mov ecx, dword [edi]
jmp 0x4194a3
mov ecx, edi
cmp ecx, ebx
je 0x4194ba
push eax
lea eax, [ebp - 0x424]
push esi
push eax
mov eax, ecx
call fcn.0040f160
add esp, 0xc
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x438]
test eax, eax
je 0x41950c
push 0
lea ecx, [ebp - 0x424]
mov esi, eax
call fcn.004303e1
mov eax, dword [esi + 4]
test eax, eax
je 0x4194ea
cmp eax, 0xffffffff
jae 0x4194ea
dec eax
mov dword [esi + 4], eax
mov ebx, dword [esi + 4]
neg ebx
sbb ebx, ebx
lea ecx, [ebp - 0x424]
not ebx
call fcn.00430409
and ebx, esi
je 0x41950c
mov edx, dword [ebx]
mov eax, dword [edx]
push 1
mov ecx, ebx
call eax
push 0xc
push 0x4671f0
push edi
xor eax, eax
call fcn.00402140
cmp eax, 0xffffffff
je 0x419558
mov ecx, dword [ebp - 0x434]
cmp dword [ecx + 0x20], 0
mov esi, dword [ebp - 0x428]
je 0x41954a
mov eax, dword [esi + 0x10]
push str.Program_Manager
mov edi, 0xf
mov ecx, esi
call fcn.00402210
test eax, eax
jne 0x419558
push 7
push str.Desktop
mov ecx, esi
call fcn.00403570
mov edx, dword [ebp - 0x430]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
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.00444627
mov esp, ebp
pop ebp
ret
Function at 0x419b40
Capabilities:
Get keyboard layout
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
push 0xff
lea ecx, [ebp - 0x123]
push 0
push ecx
mov dword [ebp - 0x12c], eax
mov byte [ebp - 0x124], 0
call fcn.00449a10
add esp, 0xc
mov byte [ebp - 0x125], 0
call dword [sym.imp.USER32.dll_GetForegroundWindow]
lea edx, [ebp - 0x134]
push edx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push 1
mov edi, eax
push esi
push edi
call dword [sym.imp.USER32.dll_AttachThreadInput]
test eax, eax
je 0x419bd3
lea eax, [ebp - 0x124]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
push 0
push esi
push edi
mov dword [ebp - 0x130], eax
call dword [sym.imp.USER32.dll_AttachThreadInput]
mov eax, dword [ebp - 0x130]
jmp 0x419be0
lea ecx, [ebp - 0x124]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x419d06
push esi
call dword [sym.imp.USER32.dll_GetKeyboardLayout]
mov esi, eax
push esi
push 0
push ebx
call dword [sym.imp.USER32.dll_MapVirtualKeyExW]
push esi
push 0
push 5
mov edi, eax
lea edx, [ebp - 0x10]
push edx
lea eax, [ebp - 0x124]
push eax
push edi
push ebx
call dword [sym.imp.USER32.dll_ToUnicodeEx]
cmp eax, 0xffffffff
je 0x419c51
test eax, eax
je 0x419c7b
cmp eax, 1
je 0x419c3a
mov edx, dword [ebp - 0x12c]
lea ecx, [ebp - 0x10]
push ecx
push 5
push edx
call fcn.00444e58
add esp, 0xc
jmp 0x419c7b
mov ecx, dword [ebp - 0x12c]
lea eax, [ebp - 0x10]
push eax
push 5
push ecx
call fcn.00444e58
add esp, 0xc
jmp 0x419c7b
mov byte [ebp - 0x125], 1
push esi
push 0
push 0xa
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x126]
push eax
push edi
push ebx
mov byte [ebp - 0x126], 0
call dword [sym.imp.USER32.dll_ToUnicodeEx]
test eax, eax
js 0x419c58
mov ecx, dword [0x477c00]
test ecx, ecx
je 0x419cd1
cmp byte [0x477bc9], 0
je 0x419cd1
push esi
xor eax, eax
push eax
push 5
mov dword [ebp - 0x1a], eax
mov dword [ebp - 0x16], eax
xor edx, edx
lea eax, [ebp - 0x1c]
push eax
mov word [ebp - 0x1c], dx
mov edx, dword [0x477c04]
push 0x477c08
push edx
push ecx
call dword [sym.imp.USER32.dll_ToUnicodeEx]
pop edi
mov dword [0x477c00], 0
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret
mov al, byte [ebp - 0x125]
push 0x100
lea ecx, [ebp - 0x124]
push ecx
push 0x100
push 0x477c08
mov dword [0x477c04], edi
mov dword [0x477c00], ebx
mov byte [0x477bc9], al
call fcn.00444f59
add esp, 0x10
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x41c900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
push 2
push 0
push ebx
call fcn.00446ca7
add esp, 0xc
test eax, eax
je 0x41c923
mov eax, 0xfffffffd
pop edi
pop esi
pop ecx
pop ebp
ret 4
push ebx
call fcn.00446eb7
mov esi, eax
add esp, 4
test esi, esi
js 0x41c917
jne 0x41c93d
xor eax, eax
pop edi
pop esi
pop ecx
pop ebp
ret 4
lea eax, [esi + 1]
push eax
call fcn.0042ffe1
mov edi, eax
add esp, 4
test edi, edi
jne 0x41c959
lea eax, [edi - 2]
pop edi
pop esi
pop ecx
pop ebp
ret 4
push 0
push 0
push ebx
mov byte [edi + esi], 0
call fcn.00446ca7
add esp, 0xc
push ebx
push esi
push 1
push edi
call fcn.00447166
add esp, 0x10
cmp eax, esi
je 0x41c990
push edi
call fcn.00444f30
mov eax, 0xfffffffd
add esp, 4
pop edi
pop esi
pop ecx
pop ebp
ret 4
mov ecx, dword [ebp + 8]
push eax
push edi
push ecx
call fcn.0041ca40
push edi
mov esi, eax
call fcn.00444f30
add esp, 4
pop edi
mov eax, esi
pop esi
pop ecx
pop ebp
ret 4

Function at 0x41f0b0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x460801
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x138], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x150]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 4], 0
je 0x41f0ff
mov al, 1
jmp 0x41f227
call fcn.0040ea90
cmp eax, 0xa
jl 0x41f10e
call fcn.0041ffc0
push str.laPrintSyncEvent
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0xc], eax
test eax, eax
jne 0x41f164
push 6
push 4
lea esi, [esp + 0x1c]
call fcn.00405930
mov esi, eax
mov dword [esp + 0x158], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Printer_monitor_couldnt_create_event._Error_code:__d
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x14]
call fcn.00405e90
xor al, al
jmp 0x41f227
push 0
push 0
push edi
push 0x41fcb0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 8], eax
test eax, eax
jne 0x41f1a7
push 6
push 4
lea esi, [esp + 0x1c]
call fcn.00405930
mov esi, eax
mov dword [esp + 0x158], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Printer_monitor_couldnt_create_thread._Error_code:__d
jmp 0x41f14c
lea ecx, [edi + 0x48]
call fcn.0041f000
mov byte [edi + 4], al
test al, al
je 0x41f1dd
call fcn.004207b0
test al, al
je 0x41f1dd
cmp byte [edi + 4], 0
je 0x41f1d8
lea ecx, [edi + 0x64]
call fcn.0041f000
test al, al
je 0x41f1d8
mov eax, 1
jmp 0x41f1da
xor eax, eax
mov byte [edi + 4], al
cmp byte [edi + 4], 0
mov ebx, str.successfully
jne 0x41f1ed
mov ebx, 0x467bec
push 4
push 2
lea esi, [esp + 0xb4]
call fcn.00405930
push ebx
push str.Printer_monitor__s_started.
mov esi, eax
mov dword [esp + 0x160], 2
call fcn.00405b80
add esp, 8
lea esi, [esp + 0xac]
call fcn.00405e90
mov al, byte [edi + 4]
mov ecx, dword [esp + 0x150]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x138]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x41f250
Capabilities:
Get system information on windows
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4602c6
mov eax, dword fs:[0]
push eax
sub esp, 0x160
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x158], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x170]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 4], bl
je 0x41f38a
mov eax, dword [edi + 0xc]
cmp eax, ebx
je 0x41f2b8
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [edi + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 0xc], ebx
mov eax, dword [edi + 8]
cmp eax, ebx
je 0x41f320
push 1
push 0xbb8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x41f313
push 6
push 4
lea esi, [esp + 0x3c]
call fcn.00405930
push str.Printer_monitor_have_waited_for_thread_too_much._Force_stop
mov esi, eax
mov dword [esp + 0x17c], ebx
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x34]
mov dword [esp + 0x178], 0xffffffff
call fcn.00405e90
mov ecx, dword [edi + 8]
push ebx
push ecx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edx, dword [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [edi + 8], ebx
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
lea eax, [esp + 0x10]
push eax
mov dword [esp + 0x14], ebx
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
push 4
push 2
lea esi, [esp + 0xd4]
call fcn.00405930
push str.Printer_monitor_stopped
mov esi, eax
mov dword [esp + 0x17c], 3
call fcn.00405b80
add esp, 4
lea esi, [esp + 0xcc]
call fcn.00405e90
mov byte [edi + 4], bl
mov al, 1
mov ecx, dword [esp + 0x170]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x158]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x41f3b0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45efd3
mov eax, dword fs:[0]
push eax
sub esp, 0x11c
mov eax, dword [0x473b80]
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
push 0x40
lea eax, [ebp - 0x124]
push 0
push eax
mov ebx, ecx
mov esi, edx
call fcn.00449a10
xor ecx, ecx
mov edi, 8
add esp, 0xc
mov dword [ebp - 0x128], 0x44
mov word [ebp - 0xf8], cx
mov dword [ebp - 0xfc], 1
cmp dword [esi + 0x14], edi
jb 0x41f41e
mov esi, dword [esi]
cmp dword [ebx + 0x94], edi
push esi
lea esi, [ebx + 0x80]
jb 0x41f431
mov eax, dword [esi]
jmp 0x41f433
mov eax, esi
push eax
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0xcc], esp
push 9
xor edx, edx
mov dword [ecx + 0x14], 7
mov dword [ecx + 0x10], 0
push str.__s____s_
mov word [ecx], dx
call fcn.00403570
lea ebx, [ebp - 0x2c]
call fcn.0040e7c0
add esp, 0x24
xor ebx, ebx
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
cmp dword [ebp - 0x18], edi
jae 0x41f479
lea eax, [ebp - 0x2c]
cmp dword [esi + 0x14], edi
jb 0x41f480
mov esi, dword [esi]
lea ecx, [ebp - 0xdc]
push ecx
lea edx, [ebp - 0x128]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41f4f2
mov eax, dword [ebp - 0xdc]
push 1
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
jne 0x41f4d8
mov edx, dword [ebp - 0xdc]
lea ecx, [ebp - 0xcc]
push ecx
push edx
mov dword [ebp - 0xcc], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0xcc], ebx
sete bl
mov eax, dword [ebp - 0xd8]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0xdc]
push ecx
call esi
jmp 0x41f526
push 6
push 4
lea esi, [ebp - 0xc8]
call fcn.00405930
mov esi, eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.Print_monitor_couldnt_create_process._Error_code:_d
call fcn.00405b80
add esp, 8
lea esi, [ebp - 0xc8]
call fcn.00405e90
cmp dword [ebp - 0x18], edi
jb 0x41f537
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00444884
add esp, 4
mov al, bl
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.00444627
mov esp, ebp
pop ebp
ret
Function at 0x420260
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x1c
cmp eax, dword [ebp + 0xc]
je 0x4202c8
push esi
mov esi, 8
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 8
mov word [ebp - 0x1c], cx
push eax
lea ecx, [ebp - 0x1c]
mov dword [ebp - 8], 7
mov dword [ebp - 0xc], 0
call fcn.00403e20
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 8], esi
jae 0x4202a2
lea eax, [ebp - 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebp - 8], esi
jb 0x4202ba
mov edx, dword [ebp - 0x1c]
push edx
call fcn.00444884
add esp, 4
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov dword [ebp + 8], eax
cmp eax, dword [ebp + 0xc]
jne 0x420274
pop esi
mov al, byte [ebp + 0x10]
mov esp, ebp
pop ebp
ret

Function at 0x4202d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x460738
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push esi
push edi
mov eax, dword [0x473b80]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp + 0x10]
je 0x420387
xor edi, edi
lea esi, [edi + 8]
push 0xffffffffffffffff
xor ecx, ecx
add eax, 8
push edi
mov word [ebp - 0x30], cx
push eax
lea ecx, [ebp - 0x30]
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], edi
call fcn.00403e20
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x14]
mov ecx, dword [eax]
lea edx, [ebp - 0x30]
call fcn.0041f560
mov eax, dword [ebp - 0x30]
cmp dword [ebp - 0x1c], esi
jae 0x420342
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], esi
jb 0x420361
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.00444884
add esp, 4
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov dword [ebp + 0xc], eax
cmp eax, dword [ebp + 0x10]
jne 0x420308
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax], ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x4207b0
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
mov dword [ebp - 4], eax
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
xor eax, eax
cmp word [ebp - 0x24], 9
sete al
mov esp, ebp
pop ebp
ret
Function at 0x420ac0
Capabilities:
Get common file path
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x45e8db
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x473b80]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor esi, esi
push 0x206
mov edi, ecx
lea ecx, [ebp - 0x216]
xor eax, eax
push esi
push ecx
mov dword [ebp - 0x240], esi
mov word [ebp - 0x218], ax
call fcn.00449a10
xor eax, eax
add esp, 0xc
lea edx, [ebp - 0x23c]
push edx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], eax
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x22c], eax
mov dword [ebp - 0x228], eax
mov dword [ebp - 0x224], eax
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
cmp word [ebp - 0x23c], 9
push 0x104
jne 0x420b78
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemWow64DirectoryW]
jmp 0x420b85
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor edx, edx
lea eax, [ebp - 0x218]
mov word [ebp - 0x234], dx
mov dword [ebp - 0x220], 7
mov dword [ebp - 0x224], esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x420ba7
sub eax, edx
sar eax, 1
push eax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x234]
call fcn.00403570
lea ecx, [ebp - 0x234]
push ecx
mov eax, str.laSkype2.dll
mov dword [ebp - 4], esi
call fcn.00402970
add esp, 4
cmp dword [ebp - 0x220], 8
jb 0x420bf8
mov edx, dword [ebp - 0x234]
push edx
call fcn.00444884
add esp, 4
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x420e70
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4606fd
mov eax, dword fs:[0]
push eax
sub esp, 0x178
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0x170], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0x188]
mov dword fs:[0], eax
mov edi, ecx
cmp byte [edi + 4], 0
jne 0x4210bb
cmp dword [edi + 0x7c], 0
mov ebx, 8
jne 0x420f17
mov ecx, dword [0x477d70]
push 0x468384
call fcn.00415b80
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.0040b490
add esp, 0xc
push eax
lea ecx, [edi + 0x6c]
mov dword [esp + 0x194], 0
call fcn.00403f40
mov dword [esp + 0x190], 0xffffffff
cmp dword [esp + 0x28], ebx
jb 0x420f17
mov ecx, dword [esp + 0x14]
push ecx
call fcn.00444884
add esp, 4
cmp dword [edi + 0x60], 0
jne 0x420f8d
push 0x23
lea esi, [esp + 0x18]
call fcn.0040ece0
add esp, 4
push str.Sys_Data_KFIdleCorrect.dat
mov edx, esi
push edx
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x19c], 1
call fcn.0040b490
add esp, 0xc
push eax
lea ecx, [edi + 0x50]
mov byte [esp + 0x194], 2
call fcn.00403f40
cmp dword [esp + 0x44], ebx
jb 0x420f6f
mov ecx, dword [esp + 0x30]
push ecx
call fcn.00444884
add esp, 4
mov dword [esp + 0x190], 0xffffffff
cmp dword [esp + 0x28], ebx
jb 0x420f8d
mov edx, dword [esp + 0x14]
push edx
call fcn.00444884
add esp, 4
cmp dword [edi + 0x44], 0
jne 0x420fce
lea ecx, [esp + 0x30]
call fcn.0040eee0
push eax
lea ecx, [edi + 0x34]
mov dword [esp + 0x194], 3
call fcn.00403f40
mov dword [esp + 0x190], 0xffffffff
cmp dword [esp + 0x44], ebx
jb 0x420fce
mov eax, dword [esp + 0x30]
push eax
call fcn.00444884
add esp, 4
push edi
call fcn.00421430
push str.SysIdleThreadEvent
push 0
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [edi + 0x28], eax
test eax, eax
jne 0x421034
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 6
push 4
lea esi, [esp + 0x54]
mov dword [edi + 8], eax
call fcn.00405930
mov dword [esp + 0x190], 4
mov ecx, dword [edi + 8]
push ecx
push str.Unable_to_create_thread_event._Error_code:__d
mov esi, eax
call fcn.00405b80
add esp, 8
lea esi, [esp + 0x4c]
call fcn.00405e90
mov byte [edi + 4], 0
xor al, al
jmp 0x4210bd
lea edx, [edi + 0x30]
push edx
push 0
push 0
push 0x421890
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x421081
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
push 6
push 4
lea esi, [esp + 0x54]
mov dword [edi + 8], eax
call fcn.00405930
mov dword [esp + 0x190], 5
mov ecx, dword [edi + 8]
push ecx
push str.Unable_to_create_sysidle_monitor_source_thread._Error_code:__d
jmp 0x421016
push 4
push 2
lea esi, [esp + 0xec]
call fcn.00405930
push str.Sysidle_monitor_started.
mov esi, eax
mov dword [esp + 0x194], 6
call fcn.00405b80
add esp, 4
lea esi, [esp + 0xe4]
call fcn.00405e90
mov byte [edi + 4], 1
mov al, 1
mov ecx, dword [esp + 0x188]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x170]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret
Function at 0x4210f0
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45f05b
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x473b80]
xor eax, esp
mov dword [esp + 0xa0], eax
push ebx
push esi
push edi
mov eax, dword [0x473b80]
xor eax, esp
push eax
lea eax, [esp + 0xb8]
mov dword fs:[0], eax
mov edi, ecx
xor ebx, ebx
cmp byte [edi + 4], bl
jne 0x421140
xor al, al
jmp 0x4211cd
mov eax, dword [edi + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov ecx, dword [edi + 0x30]
push ebx
push ebx
push 0x12
push ecx
call dword [sym.imp.USER32.dll_PostThreadMessageW]
mov edx, dword [edi + 0x2c]
push 1
push 0xbb8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
test eax, eax
je 0x421184
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
mov ecx, edi
call edx
mov dword [edi + 8], eax
mov eax, dword [edi + 0x2c]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov ecx, dword [edi + 0x2c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
mov edx, dword [edi + 0x28]
push edx
call esi
push 4
push 2
lea esi, [esp + 0x1c]
mov dword [edi + 0x2c], ebx
mov dword [edi + 0x28], ebx
call fcn.00405930
push str.SysIdle_monitor_stopped.
mov esi, eax
mov dword [esp + 0xc4], ebx
call fcn.00405b80
add esp, 4
lea esi, [esp + 0x14]
call fcn.00405e90
mov byte [edi + 4], bl
mov al, 1
mov ecx, dword [esp + 0xb8]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa0]
xor ecx, esp
call fcn.00444627
mov esp, ebp
pop ebp
ret