joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43a010
Capabilities:
Check for software breakpoints

Disassembly:
push esi
mov esi, dword [esp + 8]
cmp dword [esi + 0x10], 0xca
jne 0x43a043
push esi
call fcn.0043d100
mov eax, dword [esi + 0x40]
add esp, 4
test eax, eax
je 0x43a03c
mov dword [esi + 0x10], 0xcf
mov eax, 1
pop esi
ret
mov dword [esi + 0x10], 0xcb
mov eax, dword [esi + 0x10]
cmp eax, 0xcb
jne 0x43a0c9
mov eax, dword [esi + 0x1b0]
mov ecx, dword [eax + 0x10]
test ecx, ecx
je 0x43a0b2
mov eax, dword [esi + 8]
test eax, eax
je 0x43a067
push esi
call dword [eax]
add esp, 4
mov ecx, dword [esi + 0x1b0]
push esi
call dword [ecx]
add esp, 4
test eax, eax
je 0x43a0ae
cmp eax, 2
je 0x43a0b2
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x43a05a
cmp eax, 3
je 0x43a08d
cmp eax, 1
jne 0x43a05a
mov eax, dword [ecx + 4]
inc eax
mov dword [ecx + 4], eax
mov eax, dword [esi + 8]
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
cmp edx, ecx
jl 0x43a05a
mov edx, dword [esi + 0x13c]
add edx, ecx
mov dword [eax + 8], edx
jmp 0x43a05a
xor eax, eax
pop esi
ret
mov eax, dword [esi + 0x90]
push esi
mov dword [esi + 0x98], eax
call fcn.0043a0f0
add esp, 4
pop esi
ret
cmp eax, 0xcc
je 0x43a0d8
mov ecx, dword [esi]
push esi
call dword [ecx]
add esp, 4
push esi
call fcn.0043a0f0
add esp, 4
pop esi
ret

Function at 0x45862a
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x458662
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.004566de
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.004566b6
jmp 0x45866e
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x459d18
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x459d5a
call fcn.0045f7d1
mov esi, dword [eax + 0xc]
push pe_nt_image_headers32
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x459d5a
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x459d51
xor eax, eax
jmp 0x459d62
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.00459d68
pop edi
pop esi
pop ebx
ret 4

Function at 0x45fd01
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x45fd2f
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x45fd4d
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0045fc67
jmp 0x45fd4d
mov eax, dword [esi + 0x14]
test eax, eax
je 0x45fd4d
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.0045fc67
test edi, edi
mov eax, edi
jne 0x45fd37
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x4014f0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov esi, eax
movzx eax, word [esp + 0xc]
push str.BINDATA
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
test edi, edi
jne 0x40151f
call dword [sym.imp.KERNEL32.dll_GetLastError]
pop edi
xor eax, eax
pop esi
ret
push ebx
push edi
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ebx, eax
test ebx, ebx
je 0x401541
push edi
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
test eax, eax
jne 0x401547
pop ebx
pop edi
xor eax, eax
pop esi
ret
push ebx
push eax
call dword [sym.imp.SHLWAPI.dll_SHCreateMemStream]
mov esi, eax
push esi
call fcn.00403110
add esp, 4
mov edi, eax
test esi, esi
je 0x401568
mov ecx, dword [esi]
mov edx, dword [ecx + 8]
push esi
call edx
pop ebx
mov eax, edi
pop edi
pop esi
ret

Function at 0x403990
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, ecx
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret
Function at 0x406370
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47ed88
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x495780]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov dword [esp + 0x10], ecx
mov eax, dword [ecx + 0xc]
mov ecx, dword [ecx + 8]
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push eax
push ecx
lea ebx, [esp + 0x1c]
call fcn.00405dc0
mov edi, dword [esp + 0x10]
mov ecx, dword [ebp + 8]
xor esi, esi
mov dword [esp + 0x38], esi
mov eax, dword [edi]
mov edx, dword [eax + 0x14]
push ecx
mov ecx, edi
call edx
mov eax, dword [edi + 0x30]
sub eax, dword [edi + 0x2c]
mov dword [esp + 0x10], esi
test eax, 0xfffffffc
jle 0x406463
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
sar ecx, 2
cmp esi, ecx
jb 0x4063f5
call fcn.0045e23c
mov edx, dword [edi + 0x2c]
mov ebx, dword [edx + esi*4]
cmp byte [ebx + 4], 0
je 0x406451
mov edx, dword [ebx + 0x10]
mov eax, dword [ebx + 8]
mov ecx, dword [ebx + 0xc]
mov dword [esp + 0x24], edx
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x14]
lea edx, [esp + 0x1c]
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp + 0xc]
mov esi, edx
mov dword [esp + 0x28], eax
call fcn.00404db0
test eax, eax
je 0x40644d
mov ecx, dword [ebx + 8]
sub dword [esp + 0x1c], ecx
mov edx, dword [ebx + 0xc]
sub dword [esp + 0x20], edx
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov ecx, esi
push ecx
push edx
mov ecx, ebx
call eax
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 0x30]
sub ecx, dword [edi + 0x2c]
inc esi
sar ecx, 2
cmp esi, ecx
mov dword [esp + 0x10], esi
jl 0x4063e3
mov edx, dword [esp + 0x18]
mov esi, dword [esp + 0x14]
mov eax, dword [esi]
push edx
push eax
call sub.gdiplus.dll_GdipRestoreGraphics
test eax, eax
je 0x40647b
mov dword [esi + 4], eax
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x406860
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x7c
mov eax, dword [ecx + 0x44]
push ebx
push esi
push edi
push eax
push ecx
mov dword [esp + 0x1c], ecx
call fcn.004010f0
add esp, 4
call fcn.004012b0
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x40689f
mov dword [edi + 8], eax
mov esi, dword [esp + 0x10]
mov ecx, dword [edi + 4]
lea eax, [esp + 0x10]
push eax
push ecx
shr esi, 2
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x4068bf
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x48]
test eax, eax
jne 0x4068ce
xor ebx, ebx
jmp 0x4068e9
cmp eax, 1
jne 0x4068d7
mov ebx, esi
jmp 0x4068e9
cmp eax, 2
jne 0x4068e1
lea ebx, [esi + esi]
jmp 0x4068e9
cmp eax, 3
jne 0x4068e9
lea ebx, [esi + esi*2]
mov al, byte [ecx + 0x18]
cmp al, 0xff
je 0x4069f5
fld1
movzx edx, al
fst dword [esp + 0x20]
mov dword [esp + 0x18], edx
fldz
lea eax, [esp + 0x18]
fst dword [esp + 0x24]
push eax
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x34]
fst dword [esp + 0x38]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x4c]
fst dword [esp + 0x50]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x64]
fst dword [esp + 0x68]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fst dword [esp + 0x78]
fst dword [esp + 0x7c]
fstp dword [esp + 0x80]
fst dword [esp + 0x3c]
fst dword [esp + 0x54]
fstp dword [esp + 0x84]
fild dword [esp + 0x1c]
mov dword [esp + 0x1c], 0
fdiv qword [0x48c070]
fstp dword [esp + 0x6c]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov edx, dword [esp + 0x18]
push 0
push 0
lea ecx, [esp + 0x28]
push ecx
push 1
push 1
push edx
mov dword [esp + 0x34], eax
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x4069a8
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x18]
push 0
mov ecx, dword [edi + 4]
push 0
push eax
mov eax, dword [esp + 0x1c]
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x4069d8
mov dword [esi + 4], eax
mov eax, dword [esp + 0x18]
push eax
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov eax, dword [esp + 0x14]
push esi
call fcn.00406a40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [edi + 4]
push 0
push 0
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x406a22
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
push esi
call fcn.00406a40
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4075f0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
mov eax, dword [ecx + 0x44]
push ebx
push esi
push edi
push eax
push ecx
mov dword [esp + 0x18], ecx
call fcn.004010f0
add esp, 4
call fcn.004012b0
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
xor ebx, ebx
push edx
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipGetImageWidth
cmp eax, ebx
je 0x40762f
mov dword [edi + 8], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [edi + 4]
lea eax, [esp + 0xc]
push eax
push ecx
shr esi, 2
mov dword [esp + 0x14], ebx
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x40764f
mov dword [edi + 8], eax
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0x48]
test eax, eax
jne 0x40765e
xor ebx, ebx
jmp 0x407679
cmp eax, 1
jne 0x407667
mov ebx, esi
jmp 0x407679
cmp eax, 2
jne 0x407671
lea ebx, [esi + esi]
jmp 0x407679
cmp eax, 3
jne 0x407679
lea ebx, [esi + esi*2]
mov al, byte [ecx + 0x18]
cmp al, 0xff
je 0x407775
fld1
movzx edx, al
fst dword [esp + 0x18]
mov dword [esp + 0x10], edx
fldz
lea eax, [esp + 0x10]
fst dword [esp + 0x1c]
push eax
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
fst dword [esp + 0x34]
fst dword [esp + 0x4c]
fstp dword [esp + 0x7c]
fild dword [esp + 0x14]
mov dword [esp + 0x14], 0
fdiv qword [0x48c070]
fstp dword [esp + 0x64]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov edx, dword [esp + 0x10]
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edx
mov dword [esp + 0x2c], eax
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x407732
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x10]
push 0
mov ecx, dword [edi + 4]
push 0
push eax
mov eax, dword [esp + 0x18]
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x407762
mov dword [esi + 4], eax
mov eax, dword [esp + 0x10]
push eax
call sub.gdiplus.dll_GdipDisposeImageAttributes
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0xc]
push 0
mov ecx, dword [edi + 4]
push 0
push 0
push 2
push eax
push esi
push 0
push ebx
push eax
push esi
mov esi, dword [ebp + 8]
mov edx, dword [esi]
push 0
push 0
push ecx
push edx
call sub.gdiplus.dll_GdipDrawImageRectRectI
test eax, eax
je 0x4077a2
mov dword [esi + 4], eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4078e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47f2a0
mov eax, dword fs:[0]
push eax
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [0x495780]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [0x497324]
lea eax, [esp + 0x10]
push eax
xor ebx, ebx
push ecx
mov dword [esp + 0x24], vtable.Gdiplus::SolidBrush.0
mov dword [esp + 0x18], ebx
call sub.gdiplus.dll_GdipCreateSolidFill
mov edi, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], edi
mov dword [esp + 0x58], ebx
mov edx, dword [esi + 8]
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
mov dword [esp + 0x3c], edx
mov edx, dword [esi + 0x14]
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], ecx
mov dword [esp + 0x48], edx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
push 2
push ecx
mov byte [esp + 0x60], 1
call fcn.004010f0
add esp, 4
push eax
call fcn.00401360
fldz
cmp dword [esi + 0x48], 0
fst dword [esp + 0x38]
fst dword [esp + 0x34]
mov ebx, eax
fst dword [esp + 0x30]
fst dword [esp + 0x2c]
je 0x4079a1
mov eax, dword [0x497328]
fstp st(0)
push eax
push edi
call sub.gdiplus.dll_GdipSetSolidFillColor
fldz
cmp dword [esi + 0x64], 8
mov edx, dword [esi + 0x60]
jb 0x4079af
mov ecx, dword [esi + 0x50]
jmp 0x4079b2
lea ecx, [esi + 0x50]
fst dword [esp + 0x1c]
fst dword [esp + 0x20]
fst dword [esp + 0x24]
fstp dword [esp + 0x28]
test ebx, ebx
je 0x4079ca
mov eax, dword [ebx]
jmp 0x4079cc
xor eax, eax
push 0
push 0
lea edi, [esp + 0x34]
push edi
push 0
lea edi, [esp + 0x2c]
push edi
mov edi, dword [ebp + 8]
push eax
push edx
push ecx
mov ecx, dword [edi]
push ecx
call sub.gdiplus.dll_GdipMeasureString
test eax, eax
je 0x4079f1
mov dword [edi + 4], eax
fild dword [esp + 0x44]
mov edx, dword [edi]
push 5
push edx
fsub dword [esp + 0x3c]
fld qword [0x48c068]
fmul st(1), st(0)
fxch st(1)
fstp dword [esp + 0x1c]
fild dword [esp + 0x50]
fsub dword [esp + 0x40]
fmulp st(1)
fstp dword [esp + 0x20]
call sub.gdiplus.dll_GdipSetTextRenderingHint
test eax, eax
je 0x407a26
mov dword [edi + 4], eax
cmp dword [esi + 0x64], 8
mov ecx, dword [esi + 0x60]
jb 0x407a34
mov esi, dword [esi + 0x50]
jmp 0x407a37
add esi, 0x50
fld dword [esp + 0x14]
fstp dword [esp + 0x3c]
fld dword [esp + 0x18]
fstp dword [esp + 0x40]
fldz
fst dword [esp + 0x44]
fstp dword [esp + 0x48]
test ebx, ebx
je 0x407a59
mov eax, dword [ebx]
jmp 0x407a5b
xor eax, eax
mov ebx, dword [esp + 0x10]
push ebx
push 0
lea edx, [esp + 0x44]
push edx
push eax
mov eax, dword [edi]
push ecx
push esi
push eax
call sub.gdiplus.dll_GdipDrawString
test eax, eax
je 0x407a79
mov dword [edi + 4], eax
push 0
call sub.gdiplus.dll_GdipDeleteFontFamily
push ebx
call sub.gdiplus.dll_GdipDeleteBrush
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x407d60
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47f428
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x495780]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
mov al, 1
mov byte [esi + 4], al
mov byte [esi + 5], al
mov dword [esi], vtable.dui::View.0
mov byte [esi + 6], bl
mov byte [esi + 7], bl
lea eax, [esi + 0x20]
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 8], ebx
push eax
mov byte [esi + 0x18], 0xff
mov dword [esi + 0x1c], ebx
call fcn.00406640
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], ebx
mov dword [esi + 0x40], ebx
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0x30]
mov dword [esi + 0x44], 0x4844d4
mov dword [esi + 0x48], ecx
mov ecx, dword [esp + 0x34]
mov dword [esi], vtable.CMessageBoxView.0
mov dword [esi + 0x44], vtable.CMessageBoxView.1.0
mov dword [esi + 0x58], edx
mov edi, esi
mov dword [esi + 0x5c], eax
mov dword [esi + 0x60], ecx
call fcn.00407e30
call fcn.00408060
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 0x14

Function at 0x408310
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x14]
mov edx, dword [eax + 0x3c]
push esi
cmp edx, 1
jne 0x40832e
mov esi, dword [esp + 8]
xor edx, edx
cmp esi, dword [ecx + 0xc]
setne dl
inc edx
mov dword [eax + 0x40], edx
jmp 0x40834e
cmp edx, 4
jne 0x408347
mov esi, dword [esp + 8]
xor edx, edx
cmp esi, dword [ecx + 0xc]
setne dl
add edx, 6
mov dword [eax + 0x40], edx
jmp 0x40834e
mov dword [eax + 0x40], 1
mov eax, dword [ecx - 0x44]
mov edx, dword [eax + 8]
add ecx, 0xffffffbc
call edx
mov esi, eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0
push 0
push 0x402
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop esi
ret 4
Function at 0x408c80
Capabilities:
Hide graphical window

Disassembly:
push 0xffffffffffffffff
push 0x47f466
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
mov eax, dword [0x495780]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
push 0x4c
call fcn.0045bae8
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
xor ebx, ebx
mov dword [esp + 0x28], ebx
cmp esi, ebx
je 0x408d01
mov dword [esi], ebx
mov byte [esi + 4], 0xff
mov byte [esi + 5], 1
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x10], bl
mov dword [esi + 0x14], ebx
lea eax, [esi + 0x28]
push eax
mov dword [esi + 0x24], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ebx
call fcn.00406640
mov dword [esi + 0x40], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x20], 0x320
mov dword [esi + 0x24], 0x258
jmp 0x408d03
xor esi, esi
lea ecx, [esp + 0x18]
push ecx
push edi
mov dword [esp + 0x30], 0xffffffff
call fcn.004087b0
lea eax, [esp + 0x18]
call fcn.00403730
mov ecx, esi
call fcn.004037b0
cmp dword [edi + 0x20], 8
jb 0x408d31
mov ecx, dword [edi + 0xc]
jmp 0x408d34
lea ecx, [edi + 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 4]
add eax, 4
push ecx
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 0x64
call fcn.0045bae8
add esp, 4
mov dword [esp + 0x10], eax
mov ebp, 1
mov dword [esp + 0x28], ebp
cmp eax, ebx
je 0x408d82
mov edx, dword [esp + 0x18]
sub esp, 8
mov ecx, esp
mov dword [ecx], edx
mov edx, dword [esp + 0x24]
mov dword [esp + 0x1c], esp
mov dword [ecx + 4], edx
lea ecx, [edi + 4]
push ecx
push esi
push eax
call fcn.00407d60
jmp 0x408d84
xor eax, eax
push ebp
push eax
mov ecx, esi
mov dword [esp + 0x30], 0xffffffff
call fcn.004039c0
mov dword [edi + 0x44], ebp
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 0xffffffffffffffec
push eax
call dword [sym.imp.USER32.dll_GetWindowLongW]
or eax, 0x80
push eax
mov eax, dword [esi]
mov ecx, dword [eax + 4]
push 0xffffffffffffffec
push ecx
call dword [sym.imp.USER32.dll_SetWindowLongW]
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ebp, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push eax
call ebp
mov ecx, dword [edi + 4]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x408df0
mov edx, dword [esi]
mov eax, dword [edx + 4]
mov ecx, dword [edi + 4]
push 3
push ebx
push ebx
push ebx
push ebx
push eax
push ecx
call ebp
mov edx, dword [esi]
mov eax, dword [edx + 4]
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 0x48]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
add esi, 0x18
push esi
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret
Function at 0x40a5b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x74
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x54]
mov eax, dword [ebx + eax*4 + 0x44]
push esi
push edi
push eax
push ecx
call fcn.004010f0
add esp, 4
call fcn.004012b0
mov edi, eax
mov edx, dword [edi + 4]
lea ecx, [esp + 0xc]
push ecx
push edx
mov dword [esp + 0x1c], edi
mov dword [esp + 0x14], 0
call sub.gdiplus.dll_GdipGetImageWidth
test eax, eax
je 0x40a5f7
mov dword [edi + 8], eax
mov esi, dword [esp + 0xc]
mov ecx, dword [edi + 4]
lea eax, [esp + 0xc]
inc esi
push eax
shr esi, 1
push ecx
dec esi
mov dword [esp + 0x14], 0
call sub.gdiplus.dll_GdipGetImageHeight
test eax, eax
je 0x40a61c
mov dword [edi + 8], eax
mov edi, dword [esp + 0xc]
mov al, byte [ebx + 0x18]
inc edi
shr edi, 1
dec edi
cmp al, 0xff
je 0x40a739
fld1
movzx edx, al
fst dword [esp + 0x18]
mov dword [esp + 0xc], edx
fldz
lea eax, [esp + 0xc]
fst dword [esp + 0x1c]
push eax
fst dword [esp + 0x24]
fst dword [esp + 0x28]
fst dword [esp + 0x2c]
fst dword [esp + 0x30]
fst dword [esp + 0x38]
fst dword [esp + 0x3c]
fst dword [esp + 0x40]
fst dword [esp + 0x44]
fst dword [esp + 0x48]
fst dword [esp + 0x50]
fst dword [esp + 0x54]
fst dword [esp + 0x58]
fst dword [esp + 0x5c]
fst dword [esp + 0x60]
fst dword [esp + 0x68]
fst dword [esp + 0x6c]
fst dword [esp + 0x70]
fst dword [esp + 0x74]
fstp dword [esp + 0x78]
fst dword [esp + 0x34]
fst dword [esp + 0x4c]
fstp dword [esp + 0x7c]
fild dword [esp + 0x10]
mov dword [esp + 0x10], 0
fdiv qword [0x48c070]
fstp dword [esp + 0x64]
call sub.gdiplus.dll_GdipCreateImageAttributes
mov edx, dword [esp + 0xc]
push 0
push 0
lea ecx, [esp + 0x20]
push ecx
push 1
push 1
push edx
mov dword [esp + 0x28], eax
call sub.gdiplus.dll_GdipSetImageAttributesColorMatrix
test eax, eax
je 0x40a6dd
mov dword [esp + 0x10], eax
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0xc], ecx
mov ecx, dword [esp + 0x24]
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, dword [ebp + 8]
mov dword [eax + 0xc], edi
lea eax, [esp + 0x2c]
push eax
push ecx
push esi
call fcn.00409070
mov edx, dword [esp + 0x38]
add esp, 0x2c
push edx
call sub.gdiplus.dll_GdipDisposeImageAttributes
mov ecx, esi
mov edx, ebx
call fcn.0040a9a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
sub esp, 0x10
mov eax, esp
xor ecx, ecx
mov dword [eax], ecx
mov ecx, dword [ebx + 0x10]
xor edx, edx
mov dword [eax + 4], edx
mov dword [eax + 8], ecx
mov ecx, dword [ebx + 0x14]
mov dword [eax + 0xc], ecx
sub esp, 0x10
mov eax, esp
mov dword [eax], esi
mov dword [eax + 4], edi
mov dword [eax + 8], esi
mov esi, dword [ebp + 8]
mov dword [eax + 0xc], edi
mov eax, dword [esp + 0x34]
push edx
push eax
push esi
call fcn.00409070
add esp, 0x2c
mov ecx, esi
mov edx, ebx
call fcn.0040a9a0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4