joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40aab6
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str._360seup_manual_
lea esi, [ebp - 0x3c]
call fcn.00408296
mov eax, dword [ebp - 0x3c]
xor esi, esi
xor ebx, ebx
cmp dword [ebp - 0x28], 8
jae 0x40aae6
lea eax, [ebp - 0x3c]
push eax
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 0x40], eax
cmp eax, esi
je 0x40ab71
xor ebx, ebx
inc ebx
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x40ab71
push 0x8f0
lea ecx, [ebp - 0x20]
call fcn.0040165a
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
pop ecx
jae 0x40ab21
lea eax, [ebp - 0x20]
push eax
push esi
push esi
push esi
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
cmp edi, esi
je 0x40ab5a
push edi
call dword [sym.imp.USER32.dll_IsIconic]
mov esi, dword [sym.imp.USER32.dll_ShowWindow]
test eax, eax
je 0x40ab47
push 1
push edi
call esi
push 5
push edi
call esi
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
push edi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push dword [ebp - 0x40]
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.00402346
push 1
xor edi, edi
lea esi, [ebp - 0x3c]
call fcn.00402346
mov ecx, dword [ebp - 4]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret

Function at 0x40bab5
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
lea eax, [ebp - 0x81c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
xor eax, eax
push 0x7fe
mov word [ebp - 0x80c], ax
xor edi, edi
lea eax, [ebp - 0x80a]
push edi
push eax
call fcn.00427d80
add esp, 0xc
push dword [esi + 0x64]
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push 0x400
lea eax, [ebp - 0x80c]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x40bbc2
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
push edi
push edi
push 0x31
push dword [esi + 4]
call dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push eax
push dword [ebp + 8]
call ebx
push 0xfffffffffffffff0
push dword [esi + 4]
mov dword [ebp - 0x820], eax
inc edi
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x300
je 0x40bb65
xor edi, edi
inc edi
jmp 0x40bb7a
test eax, 0x100
je 0x40bb70
xor edi, edi
jmp 0x40bb7a
test eax, 0x200
je 0x40bb7a
push 2
pop edi
test byte [esi + 0x44], 4
je 0x40bb91
push 1
push 1
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esi + 0x68]
sub dword [ebp - 0x818], eax
or edi, 0x24
push edi
lea eax, [ebp - 0x81c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x80c]
push eax
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x820]
push dword [ebp + 8]
call ebx
mov ecx, dword [ebp - 8]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret 4
Function at 0x40bf66
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
push edi
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], esi
cmp edx, 0x110
jne 0x40bfb8
xor edi, edi
push ecx
inc edi
mov ecx, esp
mov dword [ebx + 0x24], edi
mov dword [ecx], eax
mov ecx, ebx
call fcn.0040c82f
mov dword [esi], eax
cmp dword [ebx + 0x24], 0
je 0x40c181
mov eax, edi
jmp 0x40c183
cmp edx, 0x10
jne 0x40bfd0
xor edi, edi
inc edi
push 0
mov dword [ebx + 0x24], edi
call dword [sym.imp.USER32.dll_PostQuitMessage]
and dword [esi], 0
jmp 0x40bfa7
cmp edx, 0x113
jne 0x40c014
xor edi, edi
inc edi
mov dword [ebx + 0x24], edi
cmp eax, 0x64
jne 0x40bfcb
mov eax, dword [ebx + 0x36c]
cmp eax, dword [ebx + 0x368]
jge 0x40bfcb
cmp eax, 0x64
jge 0x40bfcb
push edi
inc eax
mov dword [ebx + 0x36c], eax
push 0
push dword [ebx + 0x334]
mov dword [ebx + 0x358], eax
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x40bfcb
cmp edx, 0x14
jne 0x40c023
xor edi, edi
inc edi
mov dword [ebx + 0x24], edi
mov dword [esi], edi
jmp 0x40bfa7
cmp edx, 0x138
jne 0x40c05f
xor edi, edi
inc edi
push edi
mov dword [ebx + 0x24], edi
push eax
cmp ecx, dword [ebx + 0x268]
jne 0x40c04c
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [ebx + 0x30c]
jmp 0x40bfa5
call dword [sym.imp.GDI32.dll_SetBkMode]
push 0
call dword [sym.imp.GDI32.dll_GetStockObject]
jmp 0x40bfa5
cmp edx, 0x84
jne 0x40c0ab
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
shr eax, 0x10
xor edx, edx
add ecx, 0x37
cmp eax, ecx
setl dl
mov dword [esi], 2
mov eax, edx
test eax, eax
je 0x40c181
xor eax, eax
inc eax
jmp 0x40c183
cmp edx, 0x111
jne 0x40c0f7
mov ecx, 0x8ce
cmp cx, ax
jne 0x40c0c8
mov eax, ebx
call fcn.0040d287
mov dword [esi], eax
jmp 0x40c0a3
mov ecx, 0x8cc
cmp cx, ax
jne 0x40c0d9
call fcn.0040d3b8
jmp 0x40c0c4
mov ecx, 0x8cd
cmp cx, ax
jne 0x40c181
push 6
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
and dword [esi], 0
jmp 0x40c0a3
cmp edx, 0xb00
jne 0x40c108
mov eax, ebx
call fcn.0040d1f7
jmp 0x40c0c4
cmp edx, 0x900
jne 0x40c157
xor edi, edi
inc edi
cmp dword [ebx + 0x384], edi
jne 0x40c11f
xor eax, eax
jmp 0x40c150
cmp dword [0x4afc4c], 0
jne 0x40c140
push 0
push 0x1e
push 0x64
push dword [ebx + 4]
mov dword [0x4afc4c], edi
call dword [sym.imp.USER32.dll_SetTimer]
mov eax, dword [ebp - 0x18]
cmp dword [ebx + 0x368], eax
jge 0x40c14e
mov dword [ebx + 0x368], eax
mov eax, edi
mov dword [esi], eax
jmp 0x40bfb1
cmp edx, 0x901
jne 0x40c170
mov esi, ebx
call fcn.0040d4cf
mov ecx, dword [ebp - 0x1c]
mov dword [ecx], eax
jmp 0x40c0a3
cmp edx, 0xf
jne 0x40c181
mov ecx, ebx
call fcn.0040cfe9
jmp 0x40c0c4
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret 0xc
Function at 0x40c502
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov ebx, ecx
push edi
mov eax, 0x4af778
lea esi, [ebp - 0x38]
mov dword [ebp - 0x28], ebx
call fcn.0040da5e
mov eax, dword [ebx + 0x378]
add ebx, 0x374
mov ecx, dword [ebx]
push eax
push ecx
lea eax, [ebp - 0x24]
push eax
mov edi, ebx
call fcn.0040e06c
mov eax, dword [ebp - 0x34]
mov esi, dword [ebp - 0x38]
sub eax, esi
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
je 0x40c584
mov dword [ebp - 0x24], eax
cmp dword [esi + 0x10], 0
je 0x40c566
mov eax, esi
mov edi, ebx
call fcn.0040dabf
add esi, 0x1c
dec dword [ebp - 0x24]
jne 0x40c557
jmp 0x40c584
cmp dword [ebx], eax
je 0x40c584
lea esi, [eax - 0x1c]
push 1
xor edi, edi
call fcn.00402346
add dword [ebx + 4], 0xffffffe4
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
push 0x1c
cdq
pop ecx
idiv ecx
cmp eax, 4
mov eax, dword [ebx + 4]
ja 0x40c570
sub eax, dword [ebx]
push 0x1c
cdq
pop ecx
idiv ecx
test eax, eax
jne 0x40c5e1
push 0x43fb30
lea esi, [ebp - 0x20]
call fcn.00408296
mov eax, esi
mov edi, ebx
call fcn.0040dabf
push 1
xor edi, edi
call fcn.00402346
push 0x43fb4c
lea esi, [ebp - 0x20]
call fcn.00408296
mov eax, esi
mov edi, ebx
call fcn.0040dabf
push 1
xor edi, edi
call fcn.00402346
mov esi, dword [ebp - 0x28]
push esi
call fcn.0040c61e
push 5
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0x105
push 0
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_RedrawWindow]
lea esi, [ebp - 0x38]
call fcn.0040b0f5
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret
Function at 0x40d3b8
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x40
mov eax, dword [0x44465c]
xor eax, esp
mov dword [esp + 0x3c], eax
push esi
push edi
push dword [ebx + 0x2c]
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x40d4bb
cmp byte [ebx + 0x370], 0
jne 0x40d3f7
push 0
call dword [sym.imp.USER32.dll_PostQuitMessage]
xor eax, eax
jmp 0x40d4be
mov eax, dword [0x4af7c8]
test eax, eax
je 0x40d407
push eax
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push 0x8f0
lea ecx, [esp + 0x2c]
call fcn.0040165a
cmp dword [eax + 0x14], 8
pop ecx
jb 0x40d420
mov esi, dword [eax]
jmp 0x40d422
mov esi, eax
push 0x8ef
lea ecx, [esp + 0x10]
call fcn.0040165a
cmp dword [eax + 0x14], 8
pop ecx
jb 0x40d439
mov eax, dword [eax]
push 0x40044
push esi
push eax
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_MessageBoxW]
cmp eax, 6
sete byte [esp + 0xb]
push 1
xor edi, edi
lea esi, [esp + 0x10]
call fcn.00402346
push 1
lea esi, [esp + 0x2c]
call fcn.00402346
cmp byte [esp + 0xb], 0
je 0x40d4a5
xor esi, esi
inc esi
mov dword [ebx + 0x384], esi
mov eax, dword [0x4af7c8]
test eax, eax
je 0x40d489
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0xa
call fcn.0040a92d
pop ecx
call fcn.0040a908
mov eax, esi
jmp 0x40d4be
and dword [ebx + 0x384], edi
mov eax, dword [0x4af7c8]
test eax, eax
je 0x40d4bb
push eax
call dword [sym.imp.KERNEL32.dll_SetEvent]
xor eax, eax
inc eax
mov ecx, dword [esp + 0x44]
pop edi
pop esi
xor ecx, esp
call fcn.0042396b
mov esp, ebp
pop ebp
ret
Function at 0x40e175
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push edi
lea eax, [ebp - 0x18]
push eax
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetClientRect]
push 1
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetBkMode]
mov eax, dword [esi + 0x84]
cmp eax, 0xffffffff
jne 0x40e1b2
push 9
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push dword [ebp + 8]
call dword [sym.imp.GDI32.dll_SetTextColor]
push dword [esi + 0x24]
mov ebx, dword [sym.imp.GDI32.dll_SelectObject]
push dword [ebp + 8]
call ebx
push dword [esi + 4]
mov dword [ebp - 0x20], eax
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
test edi, edi
jle 0x40e23f
lea eax, [edi + edi + 2]
call fcn.004309d0
mov dword [ebp - 0x1c], esp
inc edi
push edi
push dword [ebp - 0x1c]
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
je 0x40e23f
push 0xfffffffffffffff0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
xor ecx, ecx
test al, 1
je 0x40e20e
inc ecx
jmp 0x40e215
test al, 2
je 0x40e215
push 2
pop ecx
test al, 0xb
je 0x40e21c
or ecx, 0x24
test al, al
jns 0x40e226
or ecx, 0x100000
or ecx, 0x200
push ecx
lea eax, [ebp - 0x18]
push eax
push 0xffffffffffffffff
push dword [ebp - 0x1c]
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebp - 0x20]
push dword [ebp + 8]
call ebx
lea esp, [ebp - 0x2c]
pop edi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.0042396b
leave
ret 4

Function at 0x40fdcd
Capabilities:
Hide graphical window

Disassembly:
push edi
mov edi, dword [sym.imp.USER32.dll_KillTimer]
push 5
push dword [esi + 4]
call edi
push 4
push dword [esi + 4]
call edi
push 0
push dword [esi + 0x344]
call dword [sym.imp.USER32.dll_ShowWindow]
pop edi
ret

Function at 0x40ff50
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push esi
push edi
xor esi, esi
push esi
push esi
push esi
push 0x40af53
push esi
push esi
mov dword [ebp - 0x40], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebx + 0x680], eax
cmp eax, esi
jne 0x40ffd7
push 0x879
lea ecx, [ebp - 0x3c]
call fcn.0040165a
lea ecx, [ebp - 0x20]
mov dword [esp], 0xadc
call fcn.0040165a
pop ecx
mov esi, ebx
call fcn.0040fdcd
push 5
push dword [ebx + 0x30]
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [ebp - 0x3c]
push eax
lea edx, [ebp - 0x20]
mov ecx, ebx
call fcn.00410625
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.00402346
push 1
lea esi, [ebp - 0x3c]
call fcn.00402346
mov ecx, dword [ebp - 0x40]
xor eax, eax
inc eax
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
mov dword [ebx + 0x24], eax
pop esi
call fcn.0042396b
leave
ret 4
Function at 0x410625
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
push 0xffffffffffffffff
mov ebx, edx
push 0
lea ecx, [edi + 0x664]
mov eax, esi
mov dword [ebp - 0x40], edi
mov dword [ebp - 0x44], ebx
call fcn.00402209
push esi
lea esi, [ebp - 0x20]
call fcn.004019d4
cmp byte [edi + 0x684], 0
je 0x41069a
call fcn.0040f071
test al, al
je 0x41069a
push 0x87e
lea ecx, [ebp - 0x3c]
call fcn.0040165a
mov ebx, eax
pop ecx
mov eax, esi
call fcn.00402120
push 1
xor edi, edi
lea esi, [ebp - 0x3c]
call fcn.00402346
mov ebx, dword [ebp - 0x44]
mov edi, dword [ebp - 0x40]
cmp dword [ebp - 0xc], 8
mov eax, dword [ebp - 0x20]
jae 0x4106a6
lea eax, [ebp - 0x20]
mov esi, dword [sym.imp.USER32.dll_SetWindowTextW]
push eax
push dword [edi + 0x258]
call esi
cmp dword [ebx + 0x14], 8
jb 0x4106bd
mov ebx, dword [ebx]
push ebx
push dword [edi + 0x1b0]
call esi
cmp byte [edi + 0x31c], 0
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
je 0x4106f2
call fcn.00411255
mov esi, eax
call fcn.004112b7
xor esi, esi
push esi
push dword [eax + 4]
call ebx
mov byte [edi + 0x31c], 0
jmp 0x4106f4
xor esi, esi
cmp byte [edi + 0x660], 0
je 0x410737
lea edx, [edi + 0x630]
lea ecx, [ebp - 0x20]
call fcn.0040e83c
call fcn.0040ed8b
test eax, eax
je 0x41072e
push esi
push 0x927c0
push 3
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetTimer]
mov byte [edi + 0x685], 1
jmp 0x41074e
mov ecx, edi
call fcn.00410570
jmp 0x41074e
push 5
push dword [edi + 4]
call ebx
push esi
push esi
push 0xb00
push dword [edi + 4]
call dword [sym.imp.USER32.dll_PostMessageW]
push 1
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_InvalidateRect]
push 1
xor edi, edi
lea esi, [ebp - 0x20]
call fcn.00402346
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret 4
Function at 0x41144a
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x460
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 8], eax
cmp dword [0x44c884], 0
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x430], eax
je 0x411479
xor al, al
jmp 0x4115c2
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryW]
push str.USER32.DLL
call ebx
push str.UpdateLayeredWindow
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x44c884], eax
test eax, eax
je 0x411472
xor eax, eax
mov edi, 0x208
push edi
push eax
mov word [ebp - 0x21c], ax
lea eax, [ebp - 0x21a]
push eax
call fcn.00427d80
add esp, 0xc
mov esi, 0x104
push esi
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
xor eax, eax
push edi
mov word [ebp - 0x42c], ax
xor edi, edi
lea eax, [ebp - 0x42a]
push edi
push eax
call fcn.00427d80
push 0xffffffffffffffff
push str.dwmapi.dll
lea eax, [ebp - 0x21c]
push eax
push str._s_s
lea eax, [ebp - 0x42c]
push esi
push eax
call fcn.0041271d
add esp, 0x24
lea eax, [ebp - 0x42c]
push eax
call ebx
cmp eax, edi
je 0x41152e
push str.DwmIsCompositionEnabled
push eax
mov byte [0x44c888], 1
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x44c88c], eax
mov esi, dword [ebp - 0x430]
push 0x30
pop ebx
push ebx
lea eax, [ebp - 0x460]
push edi
push eax
mov dword [0x446cc0], esi
call fcn.00427d80
mov eax, dword [sym.imp.USER32.dll_DefWindowProcW]
add esp, 0xc
push 0x7f00
push edi
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x45c], 3
mov dword [ebp - 0x458], eax
mov dword [ebp - 0x454], edi
mov dword [ebp - 0x450], edi
mov dword [ebp - 0x44c], esi
mov dword [ebp - 0x448], edi
call dword [sym.imp.USER32.dll_LoadCursorW]
mov dword [ebp - 0x444], eax
lea eax, [ebp - 0x460]
push eax
mov dword [ebp - 0x440], 6
mov dword [ebp - 0x43c], edi
mov dword [ebp - 0x438], 0x43fd44
mov dword [ebp - 0x434], edi
call dword [sym.imp.USER32.dll_RegisterClassExW]
mov al, 1
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret

Function at 0x4121ee
Capabilities:
Hide graphical window

Disassembly:
and byte [esi + 0xc], 9
mov al, byte [esi + 0xc]
test al, 1
je 0x412224
test al, 8
jne 0x412224
push 0xfffffffffffffff0
push dword [esp + 8]
call dword [sym.imp.USER32.dll_GetWindowLongW]
test eax, 0x10000000
je 0x412224
or byte [esi + 0xc], 4
mov cl, byte [esi + 0xc]
test eax, 0x21000000
jne 0x412224
or cl, 2
mov byte [esi + 0xc], cl
test byte [esi + 0xc], 2
je 0x41223c
push 8
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, esi
jmp fcn.00411852
push 0
push dword [esi + 4]
call dword [sym.imp.USER32.dll_ShowWindow]
ret 4
Function at 0x412f9b
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x284
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x10], ebx
je 0x4130fb
cmp byte [0x44c8ec], bl
je 0x4130fb
push edi
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x20c]
push 0x5c
push eax
call fcn.00426161
pop ecx
pop ecx
cmp eax, ebx
je 0x412ff8
xor ecx, ecx
mov word [eax + 2], cx
push str.debug_message.exe
lea eax, [ebp - 0x20c]
push edi
push eax
call fcn.0042629b
add esp, 0xc
cmp dword [esi + 0x14], 0x10
jb 0x41301d
mov eax, dword [esi]
mov dword [ebp - 0x230], eax
jmp 0x413023
mov dword [ebp - 0x230], esi
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x22c], eax
lea eax, [ebp - 0x230]
lea ecx, [ebp - 0x228]
call fcn.004195bd
cmp dword [ebp - 0x218], ebx
je 0x4130eb
push 0x44
pop esi
push esi
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.00427d80
mov eax, dword [ebp - 0x228]
add esp, 0xc
cmp dword [ebp - 0x214], 8
mov dword [ebp - 0x284], esi
jae 0x413078
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x240]
push ecx
lea ecx, [ebp - 0x284]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4130c4
push 0xffffffffffffffff
push dword [ebp - 0x240]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [ebp - 0x23c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x240]
call esi
jmp 0x4130eb
cmp dword [ebp - 0x214], 8
mov eax, dword [ebp - 0x228]
jae 0x4130d9
lea eax, [ebp - 0x228]
push 0x40010
push str.Fatal_error
push eax
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
xor edi, edi
lea esi, [ebp - 0x228]
call fcn.00402346
pop edi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret
Function at 0x413109
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x448
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [esi + 8]
push edi
push eax
mov dword [ebp - 0x444], eax
call fcn.00412cd9
pop ecx
lea edi, [esi + 0xc]
push edi
lea ecx, [ebp - 0x420]
call fcn.00402aac
mov eax, dword [0x44c8f8]
xor ebx, ebx
cmp eax, ebx
je 0x413174
lea ecx, [ebp - 0x420]
push ecx
push dword [esi + 0xa0]
push dword [esi + 0xa8]
push dword [esi + 0xa4]
push dword [esi]
call eax
add esp, 0x14
test al, al
je 0x413174
push ebx
push 1
jmp 0x4132e1
cmp dword [esi], 2
jl 0x4131b3
cmp dword [ebp - 0x40c], 0x10
mov eax, dword [ebp - 0x420]
jae 0x41318e
lea eax, [ebp - 0x420]
push eax
push 0x43fee0
call fcn.00425dc6
add eax, 0x40
push eax
call fcn.0042618f
call fcn.00425dc6
add eax, 0x40
push eax
call fcn.00426105
add esp, 0x10
call fcn.00412df0
lea eax, [ebp - 0x43d]
push eax
call fcn.00412d9e
call fcn.00412ef7
test al, al
je 0x41320d
push 2
push ebx
push ebx
push dword [0x44c8e8]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp dword [ebp - 0x40c], 0x10
mov eax, dword [ebp - 0x420]
jae 0x4131f2
lea eax, [ebp - 0x420]
push ebx
lea ecx, [ebp - 0x448]
push ecx
push dword [ebp - 0x410]
push eax
push dword [0x44c8e8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
call fcn.00412dcd
mov eax, dword [esi]
xor ebx, ebx
inc ebx
cmp eax, 4
jne 0x413297
mov eax, 0x400
mov ecx, eax
cmp dword [ebp - 0x410], eax
jae 0x413231
mov ecx, dword [ebp - 0x410]
cmp dword [ebp - 0x40c], 0x10
mov eax, dword [ebp - 0x420]
jae 0x413246
lea eax, [ebp - 0x420]
push ecx
push eax
lea eax, [ebp - 0x404]
push eax
call fcn.00428020
lea eax, [ebp - 0x404]
push eax
call fcn.0041963d
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x413272
call fcn.0041962a
cmp dword [0x44c8f0], 0
je 0x41326d
push edi
lea ecx, [ebp - 0x43c]
call fcn.00402aac
lea eax, [ebp - 0x43c]
push eax
call dword [0x44c8f0]
pop ecx
jmp 0x4132d0
cmp eax, 3
jne 0x4132de
cmp dword [0x44c8f4], 0
push edi
lea ecx, [ebp - 0x43c]
je 0x4132c0
call fcn.00402aac
lea eax, [ebp - 0x43c]
push eax
call dword [0x44c8f4]
jmp 0x413294
call fcn.00402aac
lea ecx, [ebp - 0x43c]
call fcn.00412f9b
push 0
push ebx
lea ecx, [ebp - 0x43c]
call fcn.004020a8
push 0
push ebx
lea ecx, [ebp - 0x420]
call fcn.004020a8
push dword [esi + 0xac]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 0x444]
call fcn.00402021
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0042396b
leave
ret
Function at 0x4133ec
Capabilities:
Check os version
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x44465c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
mov dword [ebp - 0x12c], ebx
push edi
mov dword [esi], ebx
mov dword [esi + 0x18], 3
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push str.IsWow64Process
push str.kernel32.dll
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x413439
xor eax, eax
jmp 0x41345d
lea ecx, [ebp - 0x12c]
push ecx
push edi
mov dword [ebp - 0x12c], ebx
call eax
test eax, eax
jne 0x413452
push 2
pop eax
jmp 0x41345d
xor eax, eax
cmp dword [ebp - 0x12c], ebx
setne al
mov dword [esi + 0x24], eax
push 0x118
lea eax, [ebp - 0x124]
push ebx
mov dword [esi + 0x3c], 0xf
mov dword [esi + 0x38], ebx
mov byte [esi + 0x28], bl
push eax
mov dword [ebp - 0x128], 0x11c
call fcn.00427d80
add esp, 0xc
lea eax, [ebp - 0x128]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov edx, dword [ebp - 0x11c]
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0x120]
push 5
mov dword [esi + 0xc], edx
pop edx
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
cmp eax, edx
jne 0x4134cc
cmp ecx, ebx
jle 0x4134fd
xor eax, eax
cmp ecx, 1
setne al
inc eax
mov dword [esi], eax
jmp 0x4134fd
push 6
pop edi
cmp eax, edi
jne 0x4134f5
sub ecx, ebx
je 0x4134ed
dec ecx
je 0x4134e5
dec ecx
je 0x4134e1
mov dword [esi], edi
jmp 0x4134fd
mov dword [esi], edx
jmp 0x4134fd
mov dword [esi], 4
jmp 0x4134fd
mov dword [esi], 3
jmp 0x4134fd
jle 0x4134fd
mov dword [esi], 7
movzx eax, word [ebp - 0x14]
mov dword [esi + 0x10], eax
movzx eax, word [ebp - 0x12]
push 8
mov dword [esi + 0x14], eax
pop ecx
xor eax, eax
mov dword [ebp - 0x150], ebx
lea edi, [ebp - 0x14c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x150]
push eax
call dword [sym.imp.KERNEL32.dll_GetNativeSystemInfo]
movzx eax, word [ebp - 0x150]
cmp eax, ebx
je 0x413552
cmp eax, 6
je 0x413549
cmp eax, 9
jne 0x413555
mov dword [esi + 0x18], 1
jmp 0x413555
mov dword [esi + 0x18], 2
jmp 0x413555
mov dword [esi + 0x18], ebx
mov eax, dword [ebp - 0x13c]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x134]
pop edi
mov dword [esi + 0x20], eax
xor ecx, ebp
mov eax, esi
pop ebx
call fcn.0042396b
leave
ret