Function at 0x4087a0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41e883
mov eax, dword fs:[0]
push eax
sub esp, 0xac
mov eax, dword [0x42f00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
push 0x2c
lea eax, [ebp - 0x94]
push 0
push eax
call fcn.0040dbe0
mov edi, dword [0x42a37c]
lea ecx, [ebp - 0x30]
mov esi, dword [0x42a380]
add esp, 0xc
xorps xmm0, xmm0
mov dword [ebp - 0x28], 0
mov edx, ebx
movq qword [ebp - 0x30], xmm0
call fcn.00404cd0
push esi
push edi
sub esp, 0x10
mov dword [ebp - 4], 0
lea edx, [ebp - 0x30]
lea ecx, [ebp - 0x94]
call fcn.004017c0
add esp, 0x18
lea ecx, [ebp - 0x30]
call fcn.00403e90
mov dword [ebp - 4], 1
mov esi, dword [ebp - 0x90]
mov ebx, esi
shl ebx, 4
sub ebx, esi
mov dword [ebp - 0x9c], esi
add ebx, ebx
test bl, 3
je 0x408854
and ebx, 0xfffffffc
add ebx, 4
mov eax, esi
imul eax, ebx
lea edi, [eax + eax*4]
add edi, edi
push edi
mov dword [ebp - 0xb0], edi
call fcn.0040fda3
add esp, 4
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x408b73
push edi
push 0xff
push eax
call fcn.0040dbe0
mov eax, 0x4d42
mov dword [ebp - 0x1a], 0x36
mov word [ebp - 0x24], ax
xor ecx, ecx
lea eax, [edi + 0x36]
mov dword [ebp - 0x68], 0x28
mov dword [ebp - 0x22], eax
add esp, 0xc
xor eax, eax
mov dword [ebp - 0x5c], 0x180001
mov dword [ebp - 0x1e], eax
lea eax, [esi + esi*4]
add eax, eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x64], eax
mov eax, esi
neg eax
mov dword [ebp - 0x54], 0
shl eax, 2
sub eax, esi
mov dword [ebp - 0x50], 0
add eax, eax
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
mov dword [ebp - 0xa4], ecx
test esi, esi
je 0x408a31
mov edi, dword [ebp - 0xa8]
lea eax, [ebx + ebx*4]
xor edx, edx
mov dword [ebp - 0xac], edi
add eax, eax
mov dword [ebp - 0x14], edx
mov dword [ebp - 0xb4], eax
mov eax, esi
mov edx, edi
xor esi, esi
mov dword [ebp - 0xa0], edx
inc edi
nop dword [eax]
test esi, esi
js 0x4089f1
mov eax, dword [ebp - 0x90]
cmp esi, eax
jge 0x4089eb
test ecx, ecx
js 0x4089eb
cmp ecx, eax
jge 0x4089eb
mov eax, dword [ebp - 0x7c]
mov edx, dword [ebp - 0x80]
sub eax, edx
sar eax, 4
cmp eax, ecx
jbe 0x408b6e
mov eax, dword [ebp - 0x14]
cmp dword [eax + edx + 0xc], esi
jbe 0x408b8e
mov ecx, dword [eax + edx]
mov eax, esi
shr eax, 5
lea edx, [ecx + eax*4]
mov ecx, esi
and ecx, 0x1f
mov eax, 1
shl eax, cl
test dword [edx], eax
mov edx, dword [ebp - 0xa0]
je 0x4089e5
mov eax, edi
sub edx, edi
mov ecx, 0xa
mov byte [eax + edx], 0
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov dword [eax + 0x18], 0
mov byte [eax + 0x1c], 0
add eax, ebx
sub ecx, 1
jne 0x4089a0
mov edx, dword [ebp - 0xa0]
mov ecx, dword [ebp - 0xa4]
mov eax, dword [ebp - 0x9c]
add edx, 0x1e
inc esi
add edi, 0x1e
mov dword [ebp - 0xa0], edx
cmp esi, eax
jb 0x408930
mov edi, dword [ebp - 0xac]
inc ecx
add edi, dword [ebp - 0xb4]
add dword [ebp - 0x14], 0x10
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xac], edi
cmp ecx, eax
jb 0x408921
mov edi, dword [ebp - 0xb0]
lea eax, [ebp - 0x98]
mov dword [ebp - 0x98], 0
push eax
push 1
push 0
call dword [sym.imp.ole32.dll_CreateStreamOnHGlobal]
test eax, eax
jne 0x408b24
mov dword [ebp - 0x14], eax
lea edx, [ebp - 0x14]
mov eax, dword [ebp - 0x98]
push edx
push 0xe
lea edx, [ebp - 0x24]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x14]
push edx
push 0x28
lea edx, [ebp - 0x68]
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x10]
mov eax, dword [ebp - 0x98]
lea edx, [ebp - 0x14]
push edx
push edi
push dword [ebp - 0xa8]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
push 4
call fcn.0040bc1d
add esp, 4
mov dword [ebp - 0x40], 1
mov ebx, eax
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0xb0], ebx
mov dword [ebp - 0x38], 0
push 0
push eax
push ebx
mov dword [ebx], 0
mov dword [ebp - 0x34], 0
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
sub esp, 8
push dword [ebp - 0x98]
call fcn.004055b0
mov edi, eax
push edi
push 0
push 0x172
push dword [0x430cb4]
call dword [sym.imp.USER32.dll_SendMessageA]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
push eax
call esi
push edi
call esi
push dword [ebx]
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
push 4
push ebx
mov dword [ebx], 0
call fcn.0040bc4d
add esp, 8
mov eax, dword [ebp - 0x98]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
test eax, eax
jne 0x408b24
push dword [ebp - 0xa8]
call fcn.0040fd9e
add esp, 4
lea ecx, [ebp - 0x74]
call fcn.00403e30
lea ecx, [ebp - 0x80]
call fcn.00403e30
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bc0c
mov esp, ebp
pop ebp
ret
call fcn.00403e20
push 0
push str.Error
push str.Out_of_memory
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0xffffffffffffffff
call fcn.00411b2e
call fcn.00403f10
int3