Function at 0x41f4c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x45a038]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xc8], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc0], ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xd0], esi
push edi
test eax, eax
je 0x41fbcb
cmp dword [ebp + 8], 0
je 0x41fbcb
test ebx, ebx
jne 0x41f511
mov eax, 0x80004003
jmp 0x41fbd0
xor eax, eax
mov dword [ebx], eax
mov edi, eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0xa8]
push eax
push esi
call fcn.0041f419
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xac], eax
test eax, eax
jne 0x41f55e
mov eax, 0x8007000e
jmp 0x41fbd0
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0x74]
xor eax, eax
inc eax
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xbc], eax
cmp eax, 2
sete al
mov byte [ebp - 0x75], al
test al, al
je 0x41f5a8
push edi
call fcn.004334e1
mov dword [ebp - 0x74], eax
pop ecx
test eax, eax
je 0x41fb96
push edi
push 0
push eax
call fcn.00434c90
mov esi, dword [ebp - 0x74]
add esp, 0xc
mov dword [ebx], esi
mov ecx, dword [ebp - 0xc8]
xor ebx, ebx
mov dword [ebp - 0x88], ebx
movzx eax, word [ecx]
movzx edx, word [ecx + 2]
cmp ax, word [ebp - 0xcc]
jne 0x41f5ed
mov eax, 0xffff
cmp dx, ax
jne 0x41f5ed
mov edx, dword [ecx + 8]
xor eax, eax
mov ebx, dword [ecx + 0xc]
inc eax
mov dword [ebp - 0x9c], eax
mov eax, dword [ecx + 4]
add ecx, 0x10
mov dword [ebp - 0x88], eax
jmp 0x41f5fb
mov edx, dword [ecx + 4]
mov dword [ebp - 0x9c], ebx
mov ebx, dword [ecx]
add ecx, 8
movzx eax, word [ecx]
mov dword [ebp - 0x94], eax
movzx eax, word [ecx + 2]
mov dword [ebp - 0x80], eax
movzx eax, word [ecx + 4]
mov dword [ebp - 0x90], eax
movzx eax, word [ecx + 6]
mov dword [ebp - 0x8c], eax
movzx eax, word [ecx + 8]
add ecx, 0xa
mov dword [ebp - 0x98], eax
mov al, byte [ebp - 0x75]
mov dword [ebp - 0x7c], ecx
test al, al
je 0x41f6d9
xor eax, eax
mov ecx, 0xffff
inc eax
mov word [esi], ax
mov eax, dword [ebp - 0x74]
push 2
pop esi
add eax, esi
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x88]
add eax, esi
mov dword [ebp - 0x74], eax
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
mov dword [eax], edx
mov eax, ebx
mov ecx, dword [ebp - 0x74]
or eax, 0x40
add ecx, 4
mov dword [ebp - 0x74], ecx
mov dword [ecx], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x94]
add eax, 4
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x80]
add eax, esi
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x90]
add eax, esi
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x8c]
add eax, esi
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x98]
add eax, esi
mov dword [ebp - 0x74], eax
mov word [eax], cx
add dword [ebp - 0x74], esi
mov al, byte [ebp - 0x75]
jmp 0x41f6dc
add edi, 0x1a
movzx esi, al
lea eax, [ebp - 0x74]
neg esi
push 0
sbb esi, esi
and esi, eax
lea eax, [ebp - 0x7c]
push eax
push esi
mov dword [ebp - 0xa0], esi
call fcn.0041f396
add edi, eax
xor eax, eax
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.0041f396
add edi, eax
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.0041f3e2
add esp, 0x20
add edi, eax
test bl, 0x40
je 0x41f745
mov eax, dword [ebp - 0x7c]
add eax, 2
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x7c], eax
je 0x41f737
add eax, 4
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
xor eax, eax
push eax
call fcn.0041f3e2
pop ecx
pop ecx
push 0x5a
push dword [ebp - 0xac]
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
mov ecx, eax
mov eax, 0x5a0
cdq
idiv ecx
mov esi, eax
lea eax, [ebp - 0x70]
push eax
push 0x5c
push dword [ebp - 0xd0]
call dword [sym.imp.GDI32.dll_GetObjectW]
cmp byte [ebp - 0x75], 0
mov al, byte [ebp - 0x5c]
movzx ebx, word [ebp - 0x60]
mov byte [ebp - 0x81], al
mov al, byte [ebp - 0x59]
mov byte [ebp - 0x82], al
je 0x41f7d3
imul esi, dword [ebp - 0x70]
push 0x14
pop ecx
neg esi
movzx eax, si
cdq
idiv ecx
mov ecx, dword [ebp - 0x74]
mov word [ecx], ax
mov eax, dword [ebp - 0x74]
mov cl, byte [ebp - 0x81]
add eax, 2
mov dword [ebp - 0x74], eax
mov word [eax], bx
mov eax, dword [ebp - 0x74]
add eax, 2
mov dword [ebp - 0x74], eax
mov byte [eax], cl
mov eax, dword [ebp - 0x74]
mov cl, byte [ebp - 0x82]
inc eax
mov dword [ebp - 0x74], eax
mov byte [eax], cl
inc dword [ebp - 0x74]
jmp 0x41f7d6
add edi, 6
lea eax, [ebp - 0x54]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0xa0]
call fcn.0041f3e2
mov esi, dword [ebp - 0x74]
add edi, eax
cmp byte [ebp - 0x75], 0
pop ecx
pop ecx
je 0x41f803
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x74], esi
jmp 0x41f809
add edi, 3
and edi, 0xfffffffc
mov ecx, dword [ebp - 0x7c]
add ecx, 3
jmp 0x41fb67
mov edx, 0xffff
add eax, edx
cmp dword [ebp - 0x9c], 0
mov dword [ebp - 0x94], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb0], eax
je 0x41f868
movzx eax, word [ecx + 0xc]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xb4], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0xb8], eax
movzx eax, word [ecx + 0x10]
mov dword [ebp - 0x98], eax
movzx eax, word [ecx + 0x12]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
jmp 0x41f8a3
mov ebx, dword [ecx]
add ecx, 8
push 2
pop edx
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0xb4], eax
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0xb8], eax
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0x98], eax
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0x8c], eax
movzx eax, word [ecx]
add ecx, edx
xor edx, edx
mov dword [ebp - 0x90], eax
xor eax, eax
mov dword [ebp - 0x7c], ecx
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x80], eax
cmp byte [ebp - 0x75], al
je 0x41f94a
mov ecx, dword [ebp - 0xb0]
mov dword [esi], edx
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
push 2
pop edx
mov dword [eax], ecx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xb4]
add eax, 4
mov dword [ebp - 0x74], eax
mov dword [eax], ebx
mov eax, dword [ebp - 0x74]
add eax, 4
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0xb8]
add eax, edx
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x98]
add ecx, edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x88], ecx
mov word [ecx], ax
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x8c]
add ecx, edx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x80], ecx
mov word [ecx], ax
mov eax, dword [ebp - 0x74]
mov ecx, dword [ebp - 0x90]
add eax, edx
mov dword [ebp - 0x74], eax
mov dword [eax], ecx
mov esi, dword [ebp - 0x74]
add esi, 4
mov dword [ebp - 0x74], esi
jmp 0x41f94d
add edi, 0x18
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0xa0]
call fcn.0041f396
add edi, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xd8]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0xa0]
call fcn.0041f396
add edi, eax
add esp, 0x18
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x41f9d7
test esi, esi
je 0x41f9d7
mov eax, 0x403b9c
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41f9c8
test cx, cx
je 0x41f9c4
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41f9c8
add esi, 4
add eax, 4
test cx, cx
jne 0x41f9a2
xor eax, eax
jmp 0x41f9cf
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x41faf8
cmp byte [ebp - 0x75], 0
je 0x41faf8
cmp dword [ebp - 0xd8], 0
jne 0x41faf8
mov esi, dword [ebp - 0x90]
test esi, esi
jne 0x41fa05
mov esi, 0x401088
test esi, esi
je 0x41faf8
xor eax, eax
cmp word [esi], ax
je 0x41faf8
mov eax, dword [ebp - 0x80]
push 8
push dword [ebp - 0xa4]
movsx eax, word [eax]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebp - 0xa4]
lea ecx, [edx + edx]
cmp eax, ecx
jae 0x41faf8
mov eax, dword [ebp - 0x88]
push 4
push dword [ebp - 0xa8]
movsx eax, word [eax]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x80], eax
xor eax, eax
push 0x400
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0x14]
push eax
push 0xffffffffffffffff
push esi
push dword [ebp - 0xac]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x41fad8
shr eax, 0x10
mov ecx, 0x80
cmp ax, cx
jne 0x41fad8
and ebx, 0xf
cmp ebx, 5
je 0x41faba
cmp ebx, 6
je 0x41faba
cmp ebx, 2
je 0x41faba
cmp ebx, 3
je 0x41faba
cmp ebx, 4
je 0x41faba
cmp ebx, 9
je 0x41faba
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
jmp 0x41fadb
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebx
mov ecx, dword [ebp - 8]
cmp eax, ecx
jle 0x41fad1
push 0x31
call ebx
mov ecx, eax
mov eax, dword [ebp - 0xc]
add eax, ecx
jmp 0x41fab5
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x80], eax
jge 0x41faf8
push dword [ebp - 0xa8]
push 4
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov ecx, dword [ebp - 0x88]
mov word [ecx], ax
mov ebx, dword [ebp - 0x7c]
mov dl, byte [ebp - 0x75]
movzx ecx, word [ebx]
add ebx, 2
mov dword [ebp - 0x80], ecx
test dl, dl
je 0x41fb1c
mov eax, dword [ebp - 0x74]
mov word [eax], cx
mov esi, dword [ebp - 0x74]
add esi, 2
mov dword [ebp - 0x74], esi
jmp 0x41fb22
mov esi, dword [ebp - 0x74]
add edi, 2
test cx, cx
je 0x41fb4d
movzx eax, cx
test dl, dl
je 0x41fb49
push eax
push ebx
push esi
call fcn.00434710
mov esi, dword [ebp - 0x74]
add esp, 0xc
mov ecx, dword [ebp - 0x80]
movzx eax, cx
add esi, eax
mov dword [ebp - 0x74], esi
jmp 0x41fb4b
add edi, eax
add ebx, eax
cmp byte [ebp - 0x75], 0
je 0x41fb5e
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x74], esi
jmp 0x41fb64
add edi, 3
and edi, 0xfffffffc
lea ecx, [ebx + 3]
mov eax, dword [ebp - 0x94]
and ecx, 0xfffffffc
test ax, ax
jne 0x41f814
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xbc], eax
cmp eax, 2
jg 0x41fba0
jmp 0x41f578
mov dword [ebp - 0xc4], 0x8007000e
push dword [ebp - 0xac]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0xc4], 0
jge 0x41fbc7
xor eax, eax
mov dword [ebx], eax
cmp dword [ebp - 0x74], eax
je 0x41fbc7
push dword [ebp - 0x74]
call fcn.004334ea
pop ecx
xor eax, eax
jmp 0x41fbd0
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00433104
mov esp, ebp
pop ebp
ret