joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4098c4
Capabilities:
Create process on windows
Create process suspended

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x409997
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x4099b0
push ebx
push 0x4099bc
push esi
lea eax, [ebp - 4]
mov edx, 4
call fcn.004033b4
lea eax, [ebp - 0x48]
xor ecx, ecx
mov edx, 0x44
call fcn.0040277c
mov dword [ebp - 0x48], 0x44
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x48]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
mov eax, dword [ebp - 4]
call fcn.00403414
push eax
push 0
call sub.kernel32.dll_CreateProcessA
test eax, eax
jne 0x409944
mov al, 0x62
call fcn.0040949c
mov eax, dword [ebp - 0x54]
push eax
call sub.kernel32.dll_CloseHandle_1
call fcn.00409898
push 0xff
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x58]
push eax
push 1
call sub.user32.dll_MsgWaitForMultipleObjects
dec eax
je 0x40994d
call fcn.00409898
push edi
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_GetExitCodeProcess
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40999e
lea eax, [ebp - 4]
call fcn.00403198
ret

Function at 0x409a50
Capabilities:
Allocate or change rwx memory
Get system information on windows

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xffffffbc
mov edi, eax
lea esi, [esp + 0x28]
lea eax, [esp + 4]
push eax
call sub.kernel32.dll_GetSystemInfo
mov ebx, edi
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b04
jmp 0x409af9
cmp dword [esi + 0x10], 0x1000
jne 0x409ae5
test byte [esi + 0x15], 1
jne 0x409ae5
xor ebx, ebx
mov eax, dword [esi + 0x14]
cmp eax, 1
je 0x409aa4
cmp eax, 2
je 0x409aa4
cmp eax, 0x10
je 0x409aa4
cmp eax, 0x20
jne 0x409ab9
push esp
push 0x40
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
test eax, eax
je 0x409ab9
mov bl, 1
xor ebp, ebp
jmp 0x409aca
mov eax, dword [esi]
add eax, ebp
call fcn.00409a48
add ebp, dword [esp + 8]
cmp ebp, dword [esi + 0xc]
jb 0x409abd
test bl, bl
je 0x409ae5
push esp
mov eax, dword [esp + 4]
push eax
mov eax, dword [esi + 0xc]
push eax
mov eax, dword [esi]
push eax
call sub.kernel32.dll_VirtualProtect
mov eax, dword [esi]
add eax, dword [esi + 0xc]
mov ebx, eax
push 0x1c
push esi
push ebx
call sub.kernel32.dll_VirtualQuery
test eax, eax
je 0x409b04
mov eax, dword [esi + 4]
cmp eax, edi
je 0x409a7c
add esp, 0x44
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x700b182d
Capabilities:
Encode data using xor

Disassembly:
jmp 0x700afa6d
jmp 0x70080ad9
Function at 0x41b165
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x428750]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.0040e01a
mov dword [ebp - 0x14], eax
cmp dword [0x42ad84], esi
jne 0x41b258
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x41b1e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x41b338
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x41b338
push str.MessageBoxW
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x41b338
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x42ad84], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x42ad88], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x42ad8c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42ad94], eax
test eax, eax
je 0x41b255
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x42ad90], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x41b27d
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x41b270
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x41b292
push 4
pop eax
jmp 0x41b33a
cmp dword [ebp - 0x14], esi
je 0x41b292
push dword [0x42ad84]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x41b277
mov eax, dword [0x42ad90]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x41b2f0
cmp dword [0x42ad94], edi
je 0x41b2f0
push eax
call ebx
push dword [0x42ad94]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x41b2f0
test eax, eax
je 0x41b2f0
call ecx
test eax, eax
je 0x41b2e5
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x41b2e5
test byte [ebp - 8], 1
jne 0x41b2f0
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x41b320
mov eax, dword [0x42ad88]
cmp eax, edi
je 0x41b31d
push eax
call ebx
test eax, eax
je 0x41b31d
call eax
mov esi, eax
test esi, esi
je 0x41b31d
mov eax, dword [0x42ad8c]
cmp eax, edi
je 0x41b31d
push eax
call ebx
test eax, eax
je 0x41b31d
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x42ad84]
call ebx
test eax, eax
je 0x41b338
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x41b33a
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c68b
mov esp, ebp
pop ebp
ret
Function at 0x401240
Capabilities:
Open clipboard

Disassembly:
push edi
xor edi, edi
push edi
call dword [0x4a7488]
test eax, eax
je 0x4012ec
call dword [0x4a747c]
mov eax, esi
call fcn.00403ab0
test eax, eax
jbe 0x4012b4
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x401276
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x40127b
call fcn.0047ebfb
mov ecx, dword [esi + 4]
cmp dword [ecx + edi*4], 0
je 0x4012a6
test ecx, ecx
je 0x401294
mov eax, dword [esi + 8]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x401299
call fcn.0047ebfb
mov eax, dword [esi + 4]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx]
push ebx
call eax
mov eax, esi
add edi, 1
call fcn.00403ab0
cmp edi, eax
jb 0x401263
test ebx, ebx
mov ecx, dword [esi + 0x10]
mov edx, dword [ecx]
je 0x4012c8
mov eax, dword [edx]
push 0x4aa5dc
call eax
jmp 0x4012d1
mov eax, dword [esp + 8]
mov edx, dword [edx]
push eax
call edx
mov eax, dword [esi + 0x14]
mov edx, dword [eax]
lea ecx, [esi + 0x14]
push 0
call edx
call dword [0x4a7478]
mov eax, 1
pop edi
ret 4
mov eax, edi
pop edi
ret 4
Function at 0x401480
Capabilities:
Open clipboard

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
push edi
mov esi, ebp
call fcn.004016d0
push 0
call dword [0x4a7488]
test eax, eax
je 0x4015ff
xor edi, edi
push edi
call dword [0x4a7470]
mov edi, eax
test edi, edi
je 0x4015f9
cmp edi, 0xd
jne 0x4014e4
push 8
call fcn.0047f14d
mov esi, eax
add esp, 4
test esi, esi
je 0x40152f
mov dword [esi], vtable.CTextClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [esi + 4], eax
jmp 0x401505
cmp edi, 8
jne 0x40152f
push edi
call fcn.0047f14d
mov esi, eax
add esp, 4
test esi, esi
je 0x40152f
mov dword [esi], vtable.CImageClipboardCode.0
mov dword [esi + 4], 0
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x401524
mov dword [esp + 0x14], esi
lea ebx, [esp + 0x14]
lea esi, [ebp + 4]
call fcn.00403a50
jmp 0x40152f
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, esi
call edx
cmp edi, dword [0x4dec8c]
jne 0x40158c
push 8
call fcn.0047f14d
mov esi, eax
add esp, 4
test esi, esi
je 0x40158c
mov dword [esi], vtable.CQQClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x401581
mov dword [esp + 0x14], esi
lea esi, [ebp + 4]
lea ebx, [esp + 0x14]
call fcn.00403a50
jmp 0x40158c
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, esi
call edx
cmp edi, dword [0x4dec88]
jne 0x4014a1
push 8
call fcn.0047f14d
mov esi, eax
add esp, 4
test esi, esi
je 0x4014a1
mov dword [esi], vtable.CHtmlClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [esi + 4], eax
mov eax, dword [esi]
mov edx, dword [eax + 4]
mov ecx, esi
call edx
test eax, eax
je 0x4015e9
mov dword [esp + 0x14], esi
lea esi, [ebp + 4]
lea ebx, [esp + 0x14]
call fcn.00403a50
jmp 0x4014a1
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
push 1
mov ecx, esi
call edx
jmp 0x4014a1
call dword [0x4a7478]
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x401610
Capabilities:
Open clipboard

Disassembly:
push ecx
push esi
mov esi, eax
mov eax, dword [esi + 8]
test eax, eax
je 0x4016c3
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
je 0x4016c3
push 0
call dword [0x4a7488]
test eax, eax
je 0x4016c3
push edi
call dword [0x4a747c]
xor edi, edi
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x4016a0
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jae 0x4016a0
test ecx, ecx
je 0x401669
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x40166e
call fcn.0047ebfb
mov edx, dword [esi + 8]
cmp dword [edx + edi*4], 0
je 0x40169b
mov ecx, edx
test ecx, ecx
je 0x401689
mov eax, dword [esi + 0xc]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x40168e
call fcn.0047ebfb
mov eax, dword [esi + 8]
mov ecx, dword [eax + edi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 8]
call eax
add edi, 1
jmp 0x401646
mov eax, ecx
test eax, eax
pop edi
je 0x4016bd
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
je 0x4016bd
mov edx, dword [esi + 0x14]
mov eax, dword [edx]
lea ecx, [esi + 0x14]
push 0
call eax
call dword [0x4a7478]
call fcn.004016d0
pop esi
pop ecx
ret

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

Disassembly:
push 0xffffffffffffffff
push 0x4a4214
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CCharFaceSubWnd.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x40], edi
lea ebx, [esi + 0x54]
mov dword [esi + 0x44], edi
mov dword [esi + 0x48], edi
mov dword [ebx], vtable.CClipBoardRestore.0
mov dword [esp + 0x10], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov byte [esp + 0x1c], 4
mov dword [ebx + 0x14], vtable.CQQPYClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
push 0xffffff
mov dword [ebx + 0x18], eax
call dword [0x4a70a0]
push 0x4aa5ec
push edi
push 4
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xc
mov dword [esi + 0x20], eax
mov dword [esi + 0x34], edi
mov dword [esi + 0x3c], edi
call dword [0x4a70bc]
mov dword [esi + 0x40], eax
or eax, 0xffffffff
mov dword [esi + 0x70], eax
mov dword [esi + 0x74], eax
mov dword [esi + 0x50], edi
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x404f50
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x4dfd6c], bl
mov dword [esp + 4], 0
jne 0x404fa4
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
or dword [0x4dfd6c], ebx
mov ecx, 0x4dbc78
call edx
add eax, 0x10
push 0x4a5e60
mov dword [0x4dfd68], eax
call fcn.0047f635
add esp, 4
mov eax, dword [0x4dfd68]
cmp dword [eax - 0xc], 0
jne 0x405001
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00485090
add esp, 0xc
push ebx
push 0x25
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x4a7344]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x404fe1
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x4dfd68
call fcn.00404880
mov eax, dword [0x4dfd68]
add eax, 0xfffffff0
call fcn.004046b0
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.0047f0e0
add esp, 0x214
ret

Function at 0x405030
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x4d32ac]
xor eax, esp
mov dword [esp + 0x210], eax
push ebx
mov ebx, 1
test byte [0x4dfd64], bl
mov dword [esp + 4], 0
jne 0x405084
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
or dword [0x4dfd64], ebx
mov ecx, 0x4dbc78
call edx
add eax, 0x10
push 0x4a5e90
mov dword [0x4dfd60], eax
call fcn.0047f635
add esp, 4
mov eax, dword [0x4dfd60]
cmp dword [eax - 0xc], 0
jne 0x4050e1
push 0x20a
lea ecx, [esp + 0xe]
push 0
push ecx
mov word [esp + 0x14], 0
call fcn.00485090
add esp, 0xc
push ebx
push 0x24
lea edx, [esp + 0x10]
push edx
push 0
call dword [0x4a7344]
lea eax, [esp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4050c1
sub eax, edx
sar eax, 1
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, 0x4dfd60
call fcn.00404880
mov eax, dword [0x4dfd60]
add eax, 0xfffffff0
call fcn.004046b0
mov ecx, dword [esp + 0x214]
add eax, 0x10
pop ebx
mov dword [esi], eax
xor ecx, esp
mov eax, esi
call fcn.0047f0e0
add esp, 0x214
ret
Function at 0x405880
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x4a418d
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor edi, edi
mov dword [esi + 4], edi
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
mov dword [esp + 0x1c], edi
mov dword [esi], vtable.CFaceHistorySubWnd.0
mov dword [esi + 0x20], edi
mov dword [esi + 0x28], edi
mov dword [esi + 0x2c], edi
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
mov dword [esi + 0x40], edi
mov dword [esi + 0x48], edi
mov dword [esi + 0x4c], edi
mov dword [esi + 0x50], edi
mov dword [esi + 0x58], edi
mov dword [esi + 0x5c], edi
mov dword [esi + 0x60], edi
mov dword [esi + 0x68], edi
mov dword [esi + 0x70], edi
lea ebx, [esi + 0x90]
mov dword [esi + 0x74], edi
mov dword [esi + 0x78], edi
mov dword [ebx], vtable.CClipBoardRestore.0
mov dword [esp + 0x10], ebx
mov dword [ebx + 8], edi
mov dword [ebx + 0xc], edi
mov dword [ebx + 0x10], edi
mov byte [esp + 0x1c], 7
mov dword [ebx + 0x14], vtable.CQQPYClipboardCode.0
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [ebx + 0x18], eax
mov dword [esi + 0xb0], edi
mov dword [esi + 0xb4], edi
mov dword [esi + 0xb8], edi
push 0xffffff
mov byte [esp + 0x20], 0xb
call dword [0x4a70a0]
push 0x4aa5ec
push edi
push 4
mov ebx, dword [0x4a70bc]
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0xc
mov dword [esi + 0x20], eax
mov dword [esi + 0x64], edi
mov dword [esi + 0x80], edi
mov dword [esi + 0x84], edi
mov dword [esi + 0x88], edi
mov dword [esi + 0x6c], edi
call ebx
push 0x4aa5ec
mov dword [esi + 0x70], eax
push edi
push 4
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0x10
call ebx
push 0x4aa5ec
push edi
push 4
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0x12
mov dword [esi + 0xb0], eax
call ebx
push 0x4aa5ec
push edi
push 4
push 0x20
push 4
push 1
push edi
push edi
push edi
push 0x190
push edi
push edi
push edi
push 0x14
mov dword [esi + 0xb4], eax
call ebx
mov dword [esi + 0xb8], eax
mov dword [esi + 0x8c], edi
call fcn.00409dd0
mov dword [esi + 0xac], eax
or eax, 0xffffffff
mov dword [esi + 0xbc], eax
mov dword [esi + 0xc0], eax
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x40cbc0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4a1e58
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov esi, dword [ebp + 0x258]
test esi, esi
je 0x40cc1e
push 0xffffffffffffffff
push 0x90
push 0x91
push 0x91
call fcn.0042bf60
mov eax, dword [ebp + 0x258]
push 1
add eax, 4
mov eax, dword [eax]
push 0
push eax
call dword [0x4a7434]
push 0xffffffffffffffff
push 0x90
push 0x90
lea esi, [ebp + 0xf8]
push 0x90
mov dword [ebp + 0x258], esi
call fcn.0042bf60
mov eax, dword [ebp + 0x1d2c]
test eax, eax
mov edi, dword [0x4a73ec]
je 0x40cc57
mov ecx, dword [eax]
push 0
push ecx
call edi
lea esi, [ebp + 0x25c]
test esi, esi
je 0x40cc69
lea eax, [ebp + 0x260]
jmp 0x40cc6b
xor eax, eax
mov dword [ebp + 0x1d2c], eax
mov edx, dword [eax]
push 1
push edx
call edi
call fcn.0040a150
mov dword [ebp + 0x1d30], eax
mov eax, dword [ebp + 0x2a8]
mov dword [ebp + 0x1d34], eax
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x1d30]
mov ecx, dword [ebp + 0x1d34]
push eax
add ecx, 1
push ecx
push str._d__d
lea edi, [esp + 0x30]
call fcn.00409db0
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
lea eax, [ebp + 0x1df8]
jne 0x40cce1
xor ecx, ecx
jmp 0x40ccf5
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40cce6
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00404880
mov edx, dword [ebp + 0x1dec]
push 1
push 0
push edx
call dword [0x4a7434]
mov edi, ebp
mov dword [ebp + 0x20], 1
call fcn.0040d430
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cd40
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4

Function at 0x40cd60
Capabilities:
Hide graphical window

Disassembly:
push ecx
push esi
push edi
mov edi, eax
mov esi, dword [edi + 0x258]
test esi, esi
je 0x40cd99
push 0xffffffffffffffff
push 0x90
push 0x91
push 0x91
call fcn.0042bf60
mov eax, dword [edi + 0x258]
mov ecx, dword [eax + 4]
push 1
push 0
push ecx
call dword [0x4a7434]
push 0xffffffffffffffff
push 0x90
push 0x90
lea esi, [edi + 0x150]
push 0x90
mov dword [edi + 0x258], esi
call fcn.0042bf60
mov eax, dword [edi + 0x1d2c]
test eax, eax
mov esi, dword [0x4a73ec]
je 0x40cdd2
mov edx, dword [eax]
push 0
push edx
call esi
lea eax, [edi + 0x2f0]
test eax, eax
je 0x40cde4
lea eax, [edi + 0x2f4]
jmp 0x40cde6
xor eax, eax
mov dword [edi + 0x1d2c], eax
mov ecx, dword [eax]
push 1
push ecx
call esi
mov dword [edi + 0x20], 2
call fcn.0040d430
pop edi
pop esi
pop ecx
ret
Function at 0x40ce10
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4a1e58
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov esi, dword [ebp + 0x258]
test esi, esi
je 0x40ce6e
push 0xffffffffffffffff
push 0x90
push 0x91
push 0x91
call fcn.0042bf60
mov eax, dword [ebp + 0x258]
push 1
add eax, 4
mov eax, dword [eax]
push 0
push eax
call dword [0x4a7434]
push 0xffffffffffffffff
push 0x90
push 0x90
lea esi, [ebp + 0x1a8]
push 0x90
mov dword [ebp + 0x258], esi
call fcn.0042bf60
mov eax, dword [ebp + 0x1d2c]
test eax, eax
mov edi, dword [0x4a73ec]
je 0x40cea7
mov ecx, dword [eax]
push 0
push ecx
call edi
lea esi, [ebp + 0x1bf0]
test esi, esi
je 0x40ceb9
lea eax, [ebp + 0x1bf4]
jmp 0x40cebb
xor eax, eax
mov dword [ebp + 0x1d2c], eax
mov edx, dword [eax]
push 1
push edx
call edi
call fcn.0040a1d0
mov dword [ebp + 0x1d30], eax
mov eax, dword [ebp + 0x1c24]
mov dword [ebp + 0x1d34], eax
mov eax, dword [0x4dbc78]
mov edx, dword [eax + 0xc]
mov ecx, 0x4dbc78
call edx
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov eax, dword [ebp + 0x1d30]
mov ecx, dword [ebp + 0x1d34]
push eax
add ecx, 1
push ecx
push str._d__d
lea edi, [esp + 0x30]
call fcn.00409db0
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
lea eax, [ebp + 0x1df8]
jne 0x40cf31
xor ecx, ecx
jmp 0x40cf45
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40cf36
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00404880
mov edx, dword [ebp + 0x1dec]
push 1
push 0
push edx
call dword [0x4a7434]
mov edi, ebp
mov dword [ebp + 0x20], 3
call fcn.0040d430
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40cf90
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x40cfb0
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x4a1e58
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4d32ac]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x24]
mov esi, dword [ebp + 0x258]
test esi, esi
je 0x40d00e
push 0xffffffffffffffff
push 0x90
push 0x91
push 0x91
call fcn.0042bf60
mov eax, dword [ebp + 0x258]
push 1
add eax, 4
mov eax, dword [eax]
push 0
push eax
call dword [0x4a7434]
push 0xffffffffffffffff
push 0x90
push 0x90
lea esi, [ebp + 0x200]
push 0x90
mov dword [ebp + 0x258], esi
call fcn.0042bf60
mov eax, dword [ebp + 0x1d2c]
test eax, eax
mov esi, dword [0x4a73ec]
je 0x40d047
mov ecx, dword [eax]
push 0
push ecx
call esi
lea edx, [ebp + 0x1c68]
test edx, edx
je 0x40d059
lea eax, [ebp + 0x1c6c]
jmp 0x40d05b
xor eax, eax
mov dword [ebp + 0x1d2c], eax
mov eax, dword [eax]
push 1
push eax
call esi
mov eax, dword [ebp + 0x1ccc]
mov dword [ebp + 0x1d34], eax
mov dword [ebp + 0x1d30], 1
mov edx, dword [0x4dbc78]
mov eax, dword [edx + 0xc]
mov ecx, 0x4dbc78
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
mov dword [esp + 0x1c], 0
mov ecx, dword [ebp + 0x1d30]
mov edx, dword [ebp + 0x1d34]
push ecx
add edx, 1
push edx
push str._d__d
lea edi, [esp + 0x30]
call fcn.00409db0
mov esi, dword [esp + 0x30]
add esp, 0xc
test esi, esi
lea eax, [ebp + 0x1df8]
jne 0x40d0d1
xor ecx, ecx
jmp 0x40d0e5
mov ecx, esi
lea edi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x40d0d6
sub ecx, edi
sar ecx, 1
push esi
mov ebx, ecx
call fcn.00404880
mov eax, dword [ebp + 0x1dec]
push 1
push 0
push eax
call dword [0x4a7434]
mov edi, ebp
mov dword [ebp + 0x20], 4
call fcn.0040d430
lea eax, [esi - 0x10]
mov dword [esp + 0x1c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40d130
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4