Function at 0x417be0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42b9f6
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x438008]
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 esi, ecx
mov ecx, dword [esi]
lea eax, [esi + 4]
mov dword [ebp - 0x68], eax
test ecx, ecx
je 0x417c58
push ecx
mov dword [esi], 0
mov dword [eax], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
call dword [sym.imp.GDI32.dll_DeleteObject]
jmp 0x417c5b
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x84], vtable.CVolCommonBaseWithMemManager.0
mov dword [ebp - 0x84], vtable.CVolObject.0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x84], vtable.CVolMem.0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x6c], 0x40
mov dword [ebp - 4], 1
mov eax, 0x428
mov ebx, dword [ebp - 0x6c]
cdq
idiv ebx
mov eax, dword [ebp - 0x84]
sub ebx, edx
add ebx, 0x428
push ebx
mov eax, dword [eax]
cmp eax, method.CWString.virtual_0
jne 0x417cec
mov ecx, 0x438d88
call fcn.0041fdf0
mov edi, eax
test edi, edi
jne 0x417cf6
push 0xffffffffffffffff
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
lea ecx, [ebp - 0x84]
call eax
mov edi, eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x74], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x78], edi
mov dword [ebp - 0x70], 0x428
mov dword [edi + 0x14], 0
mov dword [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov dword [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov dword [edi + 4], eax
mov eax, 1
mov word [edi + 0xc], ax
mov eax, dword [ebp + 0x10]
mov dword [edi], 0x28
mov dword [edi + 8], ebx
mov word [edi + 0xe], ax
mov dword [edi + 0x10], 0
cmp eax, 8
jg 0x417d67
push 0x400
lea eax, [edi + 0x28]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
push 0
push 0
push dword [ebp - 0x68]
push 0
push edi
push 0
call dword [sym.imp.GDI32.dll_CreateDIBSection]
test eax, eax
jne 0x417d84
xor esi, esi
jmp 0x417e43
lea ecx, [ebp - 0x64]
sar ebx, 0x1f
push ecx
push 0x54
push eax
mov dword [esi], eax
add ebx, 2
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp eax, 0x54
jne 0x417dfe
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x48]
cdq
mov edi, eax
mov dword [esi + 8], ecx
movzx eax, word [ebp - 0x3e]
xor edi, edx
mov dword [esi + 0x14], eax
sub edi, edx
imul eax, ecx
mov ecx, dword [ebp - 0x68]
mov dword [esi + 0x1c], 1
mov dword [esi + 0xc], edi
add eax, 0x1f
cdq
and edx, 0x1f
add edx, eax
mov eax, dword [ebp - 0x50]
sar edx, 5
shl edx, 2
mov dword [esi + 0x10], edx
mov dword [ecx], eax
test ebx, ebx
jne 0x417de7
cmp dword [ebp - 0x44], ebx
setg bl
inc ebx
cmp ebx, 2
jne 0x417e28
lea eax, [edi - 1]
imul eax, edx
add eax, dword [ebp - 0x50]
neg edx
mov dword [ecx], eax
mov dword [esi + 0x10], edx
jmp 0x417e28
mov eax, dword [ebp - 0x60]
mov dword [esi + 8], eax
mov eax, dword [ebp - 0x5c]
mov dword [esi + 0xc], eax
movzx eax, word [ebp - 0x52]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x68]
mov dword [esi + 0x1c], 0
mov dword [esi + 0x10], 0
mov dword [eax], 0
test byte [ebp + 0x1c], 1
mov ecx, 1
mov dword [esi + 0x18], 0
mov eax, dword [esi + 0x18]
cmovne eax, ecx
mov dword [esi + 0x18], eax
mov esi, ecx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x84], vtable.CVolMem.0
mov dword [ebp - 4], 3
mov edx, dword [ebp - 0x78]
test edx, edx
je 0x417e87
mov eax, dword [ebp - 0x84]
push edx
mov eax, dword [eax + 0xc]
cmp eax, method.CWString.virtual_12
jne 0x417e7f
mov ecx, 0x438d88
call fcn.0041fed0
jmp 0x417e87
lea ecx, [ebp - 0x84]
call eax
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov dword [ebp - 0x84], vtable.CVolObject.0
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.00426886
mov esp, ebp
pop ebp
ret 0x18