joyce8/EMBER2024-capa huggingface dataset:
Function at 0x427730
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4be2f0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
push edi
mov dword [ebp - 0x10], esp
xor ebx, ebx
push eax
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], ebx
call dword [ecx + 0x14]
push 0x4c37b2
push eax
call fcn.00424270
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push ebx
push 0x3f800000
push 0xff000000
push 1
push ebx
push ebx
push eax
call dword [edx + 0x28]
push str.Clear
push eax
call fcn.00424270
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 1
push 0x1b
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_ALPHABLENDENABLE__TRUE
push eax
call fcn.00424270
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 5
push 0x13
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_SRCBLEND__D3DBLEND_SRCALPHA
push eax
call fcn.00424270
mov eax, dword [esi + 0x18]
mov ecx, dword [eax]
add esp, 8
push 6
push 0x14
push eax
call dword [ecx + 0x50]
push str.D3DRENDERSTATE_DESTBLEND__D3DBLEND_INVSRCALPHA
push eax
call fcn.00424270
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
add esp, 8
push 1
push 0x16
push eax
call dword [edx + 0x50]
push str.D3DRENDERSTATE_CULLMODE__D3DCULL_NONE
push eax
call fcn.00424270
add esp, 8
push 0x40
push 0x40
lea ecx, [ebp - 0x2c]
call fcn.0041d680
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.0040f410
push 0xffffffffffffffff
push 0xfffffffffffffffe
push 0xfffffffffffffffe
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x18]
push eax
push ecx
lea ecx, [ebp - 0x2c]
call fcn.00426610
mov eax, dword [esi + 0x18]
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov ecx, esi
call fcn.004243f0
lea ecx, [ebp - 0x2c]
call fcn.0041a0e0
push ebx
push ebx
push 0x3e
push 0x3e
lea ecx, [esi + 0x30]
mov dword [ebp - 4], 0xffffffff
call fcn.0040f540
cmp eax, ebx
jne 0x427876
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, str.Clip_problem_detected.
mov dword [ebp - 0x30], 0xf
mov dword [ebp - 0x34], ebx
mov byte [ebp - 0x44], bl
lea edx, [eax + 1]
jmp 0x427890
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x427890
sub eax, edx
push eax
push str.Clip_problem_detected.
lea ecx, [ebp - 0x48]
call fcn.00402c7f
lea eax, [ebp - 0x48]
push eax
mov ecx, esi
mov dword [ebp - 4], 3
call fcn.00424250
mov bl, al
cmp dword [ebp - 0x30], 0x10
jb 0x4278cd
mov ecx, dword [ebp - 0x44]
push ecx
call fcn.004a773c
add esp, 4
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x431e20
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
push 0
push 0
call dword [eax + 0xb0]
mov ecx, dword [esi + 0x2fc]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov byte [esi + 0x2f0], 1
mov ecx, esi
pop esi
jmp dword [edx + 0x20]

Function at 0x431e50
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov al, byte [esi + 0x2f1]
test al, al
jne 0x431f35
mov al, byte [esi + 0x4fd]
test al, al
mov byte [esi + 0x2f1], 1
je 0x431e9c
mov ecx, dword [esi + 0x7c]
mov edx, dword [esi + 0x78]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xb0]
mov ecx, dword [esi + 0x84]
mov edx, dword [esi + 0x80]
mov eax, dword [esi]
push ecx
push edx
mov ecx, esi
call dword [eax + 0xb4]
mov al, byte [esi + 0x4e4]
test al, al
je 0x431ebf
push edi
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
lea ecx, [ecx]
push 0xa
call edi
mov al, byte [esi + 0x4e4]
test al, al
jne 0x431eb0
pop edi
mov ecx, dword [esi + 0x324]
test ecx, ecx
je 0x431ece
mov eax, dword [ecx]
call dword [eax + 0x18]
mov ecx, dword [esi + 0x314]
call fcn.00445910
mov ecx, dword [esi + 0x314]
call fcn.00451970
test eax, eax
jne 0x431eef
mov byte [esi + 0x318], 1
mov al, byte [esi + 0x2f2]
test al, al
jne 0x431f10
mov eax, dword [esi + 0x31c]
test eax, eax
je 0x431f10
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x431f10
mov ecx, dword [eax]
push eax
call dword [ecx + 0x4c]
mov eax, dword [esi + 0x2fc]
test eax, eax
je 0x431f23
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov al, byte [esi + 0x364]
test al, al
je 0x431f35
mov edx, dword [esi]
mov ecx, esi
pop esi
jmp dword [edx + 0x40]
pop esi
ret
Function at 0x433ae7
Capabilities:
Print debug messages

Disassembly:
jmp method.Sexy::SexyApp.virtual_20
mov al, byte [0x5294f4]
test al, al
push esi
mov esi, ecx
jne 0x433c06
mov al, byte [esi + 0x4fd]
test al, al
mov al, byte [esi + 0x4e1]
je 0x433b70
test al, al
je 0x433b35
mov al, byte [esi + 0x4e2]
test al, al
jne 0x433b35
mov al, byte [esi + 0x558]
test al, al
je 0x433b35
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x4e2], 1
call dword [eax + 0x2c]
mov cl, byte [esi + 0x4e2]
cmp cl, byte [esi + 0x558]
jne 0x433c06
mov eax, dword [esi + 0x47c]
cmp eax, dword [esi + 0x544]
je 0x433c06
mov cl, byte [esi + 0x4bd]
test cl, cl
jne 0x433bef
inc eax
mov dword [esi + 0x47c], eax
jmp 0x433bda
test al, al
je 0x433bca
mov al, byte [esi + 0x4e2]
test al, al
jne 0x433bca
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov eax, dword [esi]
mov ecx, esi
mov byte [esi + 0x4e2], 1
call dword [eax + 0x2c]
mov al, byte [esi + 0x4fc]
test al, al
je 0x433bca
push edi
mov ecx, esi
call fcn.004321a0
push 1
lea edi, [esi + 0x51c]
push 0
mov ecx, edi
call fcn.00450060
push 5
push 9
mov ecx, edi
call fcn.00450060
pop edi
mov al, byte [esi + 0x4bd]
test al, al
jne 0x433bef
inc dword [esi + 0x47c]
mov ecx, dword [esi + 0x2dc]
call fcn.0045a9e0
test al, al
je 0x433bef
inc dword [esi + 0x4cc]
mov ecx, dword [esi + 0x324]
mov edx, dword [ecx]
call dword [edx + 0x34]
mov ecx, dword [esi + 0xd0]
pop esi
jmp fcn.00456bd0
pop esi
ret

Function at 0x434210
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov al, byte [ecx + 0x4fd]
test al, al
je 0x434223
mov al, 1
pop ebp
ret 4
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x434240
mov eax, dword [eax + 4]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 4
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
neg eax
sbb eax, eax
neg eax
pop ebp
ret 4
Function at 0x4342a0
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ecx + 0x2fc]
push eax
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43438c
push ebx
push esi
mov esi, dword [ebp + 8]
mov eax, dword [esi + 0x14]
push edi
inc eax
push eax
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edi, eax
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp dword [esi + 0x18], 0x10
lea ecx, [esi + 4]
mov dword [ebp + 8], ecx
jb 0x4342e6
mov ecx, dword [ecx]
mov edx, eax
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x4342e8
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
mov ebx, dword [sym.imp.USER32.dll_SetClipboardData]
push edi
push 1
call ebx
push edi
push 7
call ebx
push edi
push 0x10
call ebx
mov ecx, dword [esi + 0x18]
mov eax, dword [esi + 0x14]
cmp ecx, 0x10
mov ecx, dword [ebp + 8]
jb 0x43431e
mov ecx, dword [ecx]
push 0
push 0
push eax
push ecx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov edi, eax
lea edx, [edi + edi + 2]
push edx
push 0x2002
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov edx, dword [esi + 0x18]
mov ecx, dword [esi + 0x14]
cmp edx, 0x10
mov edx, dword [ebp + 8]
mov dword [ebp - 4], eax
jb 0x43435c
mov edx, dword [edx]
push edi
push eax
push ecx
push edx
push 1
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 4]
push ebx
mov word [eax + edi*2], 0
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push ebx
push 0xd
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x436750
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
mov al, byte [esi + 0x4e3]
test al, al
push edi
je 0x436768
mov eax, dword [esi]
call dword [eax + 0x7c]
mov ecx, dword [esi + 0x47c]
cmp ecx, dword [esi + 0x48c]
jl 0x436780
mov al, byte [esi + 0x490]
test al, al
je 0x4367ed
mov cl, byte [0x529538]
mov ebx, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov eax, 1
test al, cl
jne 0x4367a2
or dword [0x529538], eax
call ebx
mov dword [0x529534], eax
mov edi, dword [esi + 0x47c]
cmp edi, dword [esi + 0x48c]
jl 0x4367ba
mov al, byte [esi + 0x490]
test al, al
je 0x4367ed
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
cmp edi, dword [esi + 0x47c]
je 0x4367e6
call ebx
sub eax, dword [0x529534]
cmp eax, 0x3e8
jb 0x4367a2
call ebx
mov edx, dword [esi]
mov ecx, esi
mov dword [0x529534], eax
call dword [edx + 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov al, byte [esi + 0x488]
test al, al
jne 0x43690b
fld qword [esi + 0x480]
fcomp qword [0x4c3440]
fnstsw ax
test ah, 0x41
jne 0x43690b
fild dword [esi + 0x468]
fdiv qword [esi + 0x480]
call fcn.004a76bc
mov edi, eax
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [esi + 0x46c]
mov ebx, eax
mov ecx, ebx
xor eax, eax
sub ecx, edx
cmp ecx, edi
mov dword [ebp - 4], eax
jl 0x4368cb
mov edx, dword [esi + 0x464]
inc edx
mov ecx, edx
cmp ecx, 0xa
mov dword [esi + 0x464], edx
jl 0x436862
mov cl, byte [esi + 0x4e2]
test cl, cl
jne 0x4368cb
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x14]
mov eax, dword [esi + 0x46c]
add eax, edi
mov ecx, ebx
sub ecx, eax
cmp ecx, 0x3e8
mov dword [esi + 0x46c], eax
jle 0x43688f
lea edx, [ebx - 0x3e8]
mov dword [esi + 0x46c], edx
mov edi, dword [ebp - 4]
mov al, byte [esi + 0x4e2]
test al, al
jne 0x43690b
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, edi
sub eax, ebx
add eax, eax
sub eax, edi
cmp eax, 0xfa
jle 0x436900
mov eax, 0xfa
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.004366b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [esi + 0x464], eax
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x18]
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [esi + 0x46c]
cmp eax, edi
jge 0x43688f
mov edx, dword [esi + 0x474]
sub edi, eax
inc edx
push edi
mov dword [esi + 0x474], edx
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x436892
test eax, eax
jl 0x43690b
push eax
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, esi
call fcn.004366b0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x438f80
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov al, byte [esi + 0x3b8]
test al, al
push edi
mov edi, dword [ebp + 8]
je 0x438fcc
cmp dword [esi + 0x3d4], 0x10
mov ecx, dword [esi + 0x3d0]
jb 0x438fab
mov eax, dword [esi + 0x3c0]
jmp 0x438fb1
lea eax, [esi + 0x3c0]
push ecx
push eax
mov eax, dword [edi + 0x14]
push eax
push 0
mov ecx, edi
call fcn.00419840
test eax, eax
jne 0x438fcc
pop edi
mov al, 1
pop esi
pop ebp
ret 8
mov cl, byte [ebp + 0xc]
push 0xffffffffffffffff
push 0
mov byte [esi + 0x3b9], cl
push edi
lea ecx, [esi + 0x3bc]
mov byte [esi + 0x3b8], 1
call fcn.00402bf0
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [esi + 0x3d8], eax
cmp dword [edi + 0x18], 0x10
jb 0x439003
mov eax, dword [edi + 4]
jmp 0x439006
lea eax, [edi + 4]
push 1
push 0
push 0
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jg 0x438fc4
mov edx, dword [esi]
push edi
mov ecx, esi
call dword [edx + 0x58]
pop edi
xor al, al
pop esi
pop ebp
ret 8
Function at 0x439d20
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bef56
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x7c
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
push ebx
mov dword [ebp - 0x10], eax
mov eax, dword [ecx + 0x54]
xor ebx, ebx
cmp eax, ebx
je 0x439ef2
add ecx, 0x40
push ecx
lea eax, [ebp - 0x6c]
push str.SOFTWARE_
push eax
call fcn.004065da
push eax
lea ecx, [ebp - 0x50]
push ecx
mov dword [ebp - 4], ebx
call fcn.0044cd20
add esp, 0x14
cmp dword [ebp - 0x54], 0x10
jb 0x439d88
mov edx, dword [ebp - 0x68]
push edx
call fcn.004a773c
add esp, 4
push esi
push edi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
mov edi, dword [ebp + 8]
push 1
push 0xffffffffffffffff
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
mov byte [ebp - 4], 3
mov byte [ebp - 0x14], 0x5c
call fcn.00433d40
mov esi, eax
cmp esi, 0xffffffff
je 0x439e69
push esi
push ebx
lea ecx, [ebp - 0x88]
push ecx
mov ecx, edi
call fcn.00437100
push eax
lea edx, [ebp - 0x6c]
push 0x4c6298
push edx
mov byte [ebp - 4], 4
call fcn.004065da
add esp, 0xc
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 5
call fcn.00406496
cmp dword [ebp - 0x54], 0x10
jb 0x439e04
mov eax, dword [ebp - 0x68]
push eax
call fcn.004a773c
add esp, 4
cmp dword [ebp - 0x70], 0x10
mov dword [ebp - 0x54], 0xf
mov dword [ebp - 0x58], ebx
mov byte [ebp - 0x68], bl
mov byte [ebp - 4], 3
jb 0x439e2a
mov ecx, dword [ebp - 0x84]
push ecx
call fcn.004a773c
add esp, 4
push 0xffffffffffffffff
inc esi
push esi
lea edx, [ebp - 0x88]
push edx
mov ecx, edi
call fcn.00437100
push 0xffffffffffffffff
push ebx
push eax
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call fcn.00402bf0
mov eax, dword [ebp - 0x70]
mov esi, 0x10
cmp eax, esi
jb 0x439e7a
mov eax, dword [ebp - 0x84]
push eax
call fcn.004a773c
add esp, 4
jmp 0x439e7a
push 0xffffffffffffffff
push ebx
push edi
lea ecx, [ebp - 0x34]
call fcn.00402bf0
mov esi, 0x10
cmp dword [ebp - 0x38], esi
mov eax, dword [ebp - 0x4c]
jae 0x439e85
lea eax, [ebp - 0x4c]
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x439ebf
cmp dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x30]
jae 0x439eaa
lea eax, [ebp - 0x30]
mov edx, dword [ebp - 0x18]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 0x1c], esi
jb 0x439ed0
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.004a773c
add esp, 4
mov eax, dword [ebp - 0x38]
pop edi
cmp eax, esi
mov dword [ebp - 0x1c], 0xf
mov dword [ebp - 0x20], ebx
mov byte [ebp - 0x30], bl
pop esi
jb 0x439ef2
mov edx, dword [ebp - 0x4c]
push edx
call fcn.004a773c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
pop ebx
call fcn.004a8117
mov esp, ebp
pop ebp
ret 4
Function at 0x43cb00
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bedb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
push ebx
xor ebx, ebx
mov dword [ebp - 0x10], eax
push esi
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], 0xf
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 0x2c], bl
mov eax, dword [ecx + 0x2fc]
push eax
mov dword [ebp - 4], ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x43cb91
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov esi, eax
cmp esi, ebx
je 0x43cb8b
push esi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
cmp eax, ebx
je 0x43cb8b
mov ecx, eax
push edi
lea edi, [ecx + 1]
lea ecx, [ecx]
mov dl, byte [ecx]
inc ecx
cmp dl, bl
jne 0x43cb70
sub ecx, edi
push ecx
push eax
lea ecx, [ebp - 0x30]
call fcn.00402c7f
push esi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
call dword [sym.imp.USER32.dll_CloseClipboard]
mov esi, dword [ebp + 8]
push 0xffffffffffffffff
push ebx
lea ecx, [ebp - 0x30]
push ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
mov ecx, esi
mov byte [esi + 4], bl
call fcn.00402bf0
cmp dword [ebp - 0x18], 0x10
jb 0x43cbc1
mov edx, dword [ebp - 0x2c]
push edx
call fcn.004a773c
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
xor ecx, dword [ebp + 4]
mov eax, esi
pop esi
pop ebx
call fcn.004a8117
mov esp, ebp
pop ebp
ret 4
Function at 0x43cc30
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bf3a0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x70
push ebx
mov bl, byte [ebp + 8]
push esi
mov esi, ecx
mov eax, dword [esi + 0x31c]
cmp byte [eax + 0x10], bl
je 0x43cda5
mov byte [esi + 0x56a], 1
mov byte [eax + 0x10], bl
mov ecx, dword [esi + 0x45c]
mov eax, dword [ecx]
cmp eax, ecx
mov dword [ebp + 8], eax
je 0x43cc9f
lea ebx, [ebx]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x34]
lea ecx, [ebp + 8]
call fcn.0041c2e0
mov ecx, dword [esi + 0x45c]
mov eax, dword [ebp + 8]
cmp eax, ecx
jne 0x43cc80
mov al, byte [ebp + 0xc]
test al, al
je 0x43cda5
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x90]
mov edx, dword [esi + 0x2fc]
xor ecx, ecx
mov cl, byte [esi + 0x2f2]
push ecx
mov ecx, dword [esi + 0x31c]
push edx
call fcn.00429ed0
test bl, bl
je 0x43ccfa
test eax, eax
je 0x43cd86
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, esi
call fcn.0043cc30
pop esi
pop ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
test eax, eax
je 0x43cd86
push eax
lea ecx, [ebp - 0x7c]
push ecx
call fcn.00422a20
push eax
lea edx, [ebp - 0x60]
push str.Failed_to_initialize_DirectDraw:
push edx
mov dword [ebp - 4], 0
call fcn.004065da
push 0x4c4364
push eax
lea eax, [ebp - 0x44]
push eax
mov byte [ebp - 4], 1
call fcn.0040662a
mov ecx, dword [esi + 0x31c]
add ecx, 0xcd0
push ecx
push eax
lea edx, [ebp - 0x28]
push edx
mov byte [ebp - 4], 2
call fcn.0040ae8b
add esp, 0x2c
mov edx, dword [esi]
push eax
mov ecx, esi
mov byte [ebp - 4], 3
call dword [edx + 0x4c]
lea ecx, [ebp - 0x28]
call fcn.00402982
lea ecx, [ebp - 0x44]
call fcn.00402982
lea ecx, [ebp - 0x60]
call fcn.00402982
lea ecx, [ebp - 0x7c]
call fcn.00402982
push 1
call fcn.004aa5ed
mov ecx, dword [esi + 0x31c]
call fcn.0040e9c0
mov ecx, dword [esi + 0x2dc]
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x2dc]
call fcn.0045a640
mov ecx, dword [ebp - 0xc]
pop esi
pop ebx
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x445200
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x4f2214]
xor eax, dword [ebp + 4]
push str.IMAGEHLP.DLL
mov dword [ebp - 4], eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x5295cc], eax
jne 0x445239
xor al, al
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004a8117
mov esp, ebp
pop ebp
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.SymInitialize
push eax
call esi
test eax, eax
mov dword [0x5295d0], eax
jne 0x445263
xor al, al
pop esi
mov ecx, dword [ebp - 4]
xor ecx, dword [ebp + 4]
call fcn.004a8117
mov esp, ebp
pop ebp
ret
mov eax, dword [0x5295cc]
push str.SymSetOptions
push eax
call esi
test eax, eax
mov dword [0x5295d4], eax
je 0x445251
mov ecx, dword [0x5295cc]
push str.SymCleanup
push ecx
call esi
test eax, eax
mov dword [0x5295dc], eax
je 0x445251
mov edx, dword [0x5295cc]
push str.UnDecorateSymbolName
push edx
call esi
test eax, eax
mov dword [0x5295d8], eax
je 0x445251
mov eax, dword [0x5295cc]
push str.StackWalk
push eax
call esi
test eax, eax
mov dword [0x5295e0], eax
je 0x445251
mov ecx, dword [0x5295cc]
push str.SymFunctionTableAccess
push ecx
call esi
test eax, eax
mov dword [0x5295e4], eax
je 0x445251
mov edx, dword [0x5295cc]
push str.SymGetModuleBase
push edx
call esi
test eax, eax
mov dword [0x5295e8], eax
je 0x445251
mov eax, dword [0x5295cc]
push str.SymGetSymFromAddr
push eax
call esi
test eax, eax
mov dword [0x5295ec], eax
je 0x445251
push 4
call dword [0x5295d4]
push 0x104
lea ecx, [ebp - 0x10c]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea edx, [ebp - 0x10c]
push 0x2f
push edx
call fcn.004aa950
add esp, 8
test eax, eax
jne 0x445353
lea eax, [ebp - 0x10c]
push 0x5c
push eax
call fcn.004aa950
add esp, 8
test eax, eax
je 0x445356
mov byte [eax], 0
lea eax, [ebp - 0x10c]
lea edx, [ebp - 0x10c]
lea esi, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x445365
sub eax, esi
mov dword [ebp - 8], eax
jne 0x445375
xor edx, edx
push 1
push edx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [0x5295d0]
mov ecx, dword [ebp - 4]
test eax, eax
setne al
xor ecx, dword [ebp + 4]
pop esi
call fcn.004a8117
mov esp, ebp
pop ebp
ret
Function at 0x4453c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push edi
mov edi, dword [ebp + 8]
push 0x1c
lea eax, [ebp - 0x20]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x4453e2
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp - 0x1c]
push ecx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x445443
mov eax, dword [esi + 0x3c]
movzx ecx, word [eax + esi + 0x14]
add eax, esi
lea ecx, [ecx + eax + 0x18]
movzx eax, word [eax + 6]
sub edi, esi
xor ebx, ebx
test eax, eax
mov dword [ebp - 4], eax
jbe 0x445443
lea eax, [ecx + 0x10]
lea ebx, [ebx]
mov ecx, dword [eax]
mov edx, dword [eax - 8]
cmp ecx, edx
mov esi, dword [eax - 4]
ja 0x44542e
mov ecx, edx
cmp edi, esi
jb 0x445438
add ecx, esi
cmp edi, ecx
jbe 0x44544c
mov ecx, dword [ebp - 4]
inc ebx
add eax, 0x28
cmp ebx, ecx
jb 0x445420
pop esi
pop ebx
xor al, al
pop edi
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x18]
inc ebx
sub edi, esi
pop esi
mov dword [edx], ebx
mov dword [eax], edi
pop ebx
mov al, 1
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x445470
Capabilities:
Check for time delay via queryperformancecounter
Execute anti-debugging instructions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThread]
call esi
push eax
call dword [sym.imp.KERNEL32.dll_GetThreadPriority]
push 2
mov dword [ebp - 8], eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
test eax, eax
jne 0x4454a9
xor edx, edx
pop esi
mov esp, ebp
pop ebp
ret
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
lea ecx, [ebp - 0x10]
push ecx
call edi
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 0x28]
push 0
push 0x64
push edx
push eax
call fcn.004a8b20
mov ecx, dword [ebp - 0x10]
add ecx, eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x10], ecx
adc eax, edx
lea ecx, [ebp - 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], ecx
mov ebx, dword [ebp - 4]
rdtsc
mov dword [ebx], eax
mov dword [ebx + 4], edx
lea edx, [ebp - 0x20]
push edx
call edi
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0xc]
jl 0x4454e8
jg 0x445500
mov ecx, dword [ebp - 0x20]
cmp ecx, dword [ebp - 0x10]
jb 0x4454e8
lea edx, [ebp - 0x18]
mov dword [ebp - 4], edx
mov ebx, dword [ebp - 4]
rdtsc
sub eax, dword [ebx]
sbb edx, dword [ebx + 4]
mov dword [ebx], eax
mov dword [ebx + 4], edx
mov eax, dword [ebp - 8]
push eax
call esi
push eax
call dword [sym.imp.KERNEL32.dll_SetThreadPriority]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
push 0
push 0x64
push ecx
push edx
call fcn.004a8bd0
pop edi
pop ebx
pop esi
mov esp, ebp
pop ebp
ret