Function at 0x41c6d9
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
mov eax, dword [0x452040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xd0], eax
push ebx
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0xc0], ebx
push esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0xd8], esi
push edi
test eax, eax
je 0x41cde4
cmp dword [ebp + 8], 0
je 0x41cde4
test ebx, ebx
jne 0x41c72a
mov eax, 0x80004003
jmp 0x41cde9
xor eax, eax
mov dword [ebx], eax
mov edi, eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0x74], eax
mov dword [ebp - 0xac], eax
mov dword [ebp - 0x9c], eax
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0xac]
push eax
push esi
call fcn.0041c632
add esp, 0xc
push edi
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
mov dword [ebp - 0xa0], eax
test eax, eax
jne 0x41c777
mov eax, 0x8007000e
jmp 0x41cde9
push esi
push eax
call dword [sym.imp.GDI32.dll_SelectObject]
mov esi, dword [ebp - 0x74]
xor eax, eax
inc eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xbc], eax
cmp eax, 2
sete al
mov byte [ebp - 0x75], al
test al, al
je 0x41c7c1
push edi
call fcn.00432d4a
mov dword [ebp - 0x74], eax
pop ecx
test eax, eax
je 0x41cdaf
push edi
push 0
push eax
call fcn.00431050
mov esi, dword [ebp - 0x74]
add esp, 0xc
mov dword [ebx], esi
mov ecx, dword [ebp - 0xd0]
xor ebx, ebx
mov dword [ebp - 0x88], ebx
movzx eax, word [ecx]
movzx edx, word [ecx + 2]
cmp ax, word [ebp - 0xc8]
jne 0x41c806
mov eax, 0xffff
cmp dx, ax
jne 0x41c806
mov edx, dword [ecx + 8]
xor eax, eax
mov ebx, dword [ecx + 0xc]
inc eax
mov dword [ebp - 0xa4], eax
mov eax, dword [ecx + 4]
add ecx, 0x10
mov dword [ebp - 0x88], eax
jmp 0x41c814
mov edx, dword [ecx + 4]
mov dword [ebp - 0xa4], ebx
mov ebx, dword [ecx]
add ecx, 8
movzx eax, word [ecx]
mov dword [ebp - 0x98], 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 - 0x94], eax
mov al, byte [ebp - 0x75]
mov dword [ebp - 0x7c], ecx
test al, al
je 0x41c8f2
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 - 0x98]
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 - 0x94]
add eax, esi
mov dword [ebp - 0x74], eax
mov word [eax], cx
add dword [ebp - 0x74], esi
mov al, byte [ebp - 0x75]
jmp 0x41c8f5
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 - 0xa8], esi
call fcn.0041c5af
add edi, eax
xor eax, eax
push eax
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.0041c5af
add edi, eax
lea eax, [ebp - 0x7c]
push eax
push esi
call fcn.0041c5fb
add esp, 0x20
add edi, eax
test bl, 0x40
je 0x41c95e
mov eax, dword [ebp - 0x7c]
add eax, 2
cmp dword [ebp - 0xa4], 0
mov dword [ebp - 0x7c], eax
je 0x41c950
add eax, 4
mov dword [ebp - 0x7c], eax
lea eax, [ebp - 0x7c]
push eax
xor eax, eax
push eax
call fcn.0041c5fb
pop ecx
pop ecx
push 0x5a
push dword [ebp - 0xa0]
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 - 0xd8]
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 - 0x82], al
mov al, byte [ebp - 0x59]
mov byte [ebp - 0x81], al
je 0x41c9ec
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 - 0x82]
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 - 0x81]
inc eax
mov dword [ebp - 0x74], eax
mov byte [eax], cl
inc dword [ebp - 0x74]
jmp 0x41c9ef
add edi, 6
lea eax, [ebp - 0x54]
mov dword [ebp - 0x80], eax
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0xa8]
call fcn.0041c5fb
mov esi, dword [ebp - 0x74]
add edi, eax
cmp byte [ebp - 0x75], 0
pop ecx
pop ecx
je 0x41ca1c
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x74], esi
jmp 0x41ca22
add edi, 3
and edi, 0xfffffffc
mov ecx, dword [ebp - 0x7c]
add ecx, 3
jmp 0x41cd80
mov edx, 0xffff
add eax, edx
cmp dword [ebp - 0xa4], 0
mov dword [ebp - 0x98], eax
mov eax, dword [ecx + 4]
mov dword [ebp - 0xb8], eax
je 0x41ca81
movzx eax, word [ecx + 0xc]
mov edx, dword [ecx]
mov ebx, dword [ecx + 8]
mov dword [ebp - 0xc4], eax
movzx eax, word [ecx + 0xe]
mov dword [ebp - 0xb0], eax
movzx eax, word [ecx + 0x10]
mov dword [ebp - 0x94], eax
movzx eax, word [ecx + 0x12]
mov dword [ebp - 0x8c], eax
mov eax, dword [ecx + 0x14]
add ecx, 0x18
jmp 0x41cabc
mov ebx, dword [ecx]
add ecx, 8
push 2
pop edx
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0xc4], eax
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0xb0], eax
movzx eax, word [ecx]
add ecx, edx
mov dword [ebp - 0x94], 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 0x41cb63
mov ecx, dword [ebp - 0xb8]
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 - 0xc4]
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 - 0xb0]
add eax, edx
mov dword [ebp - 0x74], eax
mov word [eax], cx
mov ecx, dword [ebp - 0x74]
mov eax, dword [ebp - 0x94]
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 0x41cb66
add edi, 0x18
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0xa8]
call fcn.0041c5af
add edi, eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x90], eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0x7c]
push eax
push dword [ebp - 0xa8]
call fcn.0041c5af
add edi, eax
add esp, 0x18
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0x8c], eax
test eax, eax
jne 0x41cbf0
test esi, esi
je 0x41cbf0
mov eax, 0x403bc4
mov cx, word [esi]
cmp cx, word [eax]
jne 0x41cbe1
test cx, cx
je 0x41cbdd
mov cx, word [esi + 2]
cmp cx, word [eax + 2]
jne 0x41cbe1
add esi, 4
add eax, 4
test cx, cx
jne 0x41cbbb
xor eax, eax
jmp 0x41cbe8
sbb eax, eax
xor ecx, ecx
inc ecx
or eax, ecx
test eax, eax
je 0x41cd11
cmp byte [ebp - 0x75], 0
je 0x41cd11
cmp dword [ebp - 0xcc], 0
jne 0x41cd11
mov esi, dword [ebp - 0x90]
test esi, esi
jne 0x41cc1e
mov esi, 0x4010c8
test esi, esi
je 0x41cd11
xor eax, eax
cmp word [esi], ax
je 0x41cd11
mov eax, dword [ebp - 0x80]
push 8
push dword [ebp - 0x9c]
movsx eax, word [eax]
push eax
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov edx, dword [ebp - 0x9c]
lea ecx, [edx + edx]
cmp eax, ecx
jae 0x41cd11
mov eax, dword [ebp - 0x88]
push 4
push dword [ebp - 0xac]
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 - 0xa0]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x8c]
test eax, eax
je 0x41ccf1
shr eax, 0x10
mov ecx, 0x80
cmp ax, cx
jne 0x41ccf1
and ebx, 0xf
cmp ebx, 5
je 0x41ccd3
cmp ebx, 6
je 0x41ccd3
cmp ebx, 2
je 0x41ccd3
cmp ebx, 3
je 0x41ccd3
cmp ebx, 4
je 0x41ccd3
cmp ebx, 9
je 0x41ccd3
mov eax, dword [ebp - 0xc]
add eax, 5
mov dword [ebp - 0xc], eax
jmp 0x41ccf4
mov ebx, dword [sym.imp.USER32.dll_GetSystemMetrics]
push 0x31
call ebx
mov ecx, dword [ebp - 8]
cmp eax, ecx
jle 0x41ccea
push 0x31
call ebx
mov ecx, eax
mov eax, dword [ebp - 0xc]
add eax, ecx
jmp 0x41ccce
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x80], eax
jge 0x41cd11
push dword [ebp - 0xac]
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 0x41cd35
mov eax, dword [ebp - 0x74]
mov word [eax], cx
mov esi, dword [ebp - 0x74]
add esi, 2
mov dword [ebp - 0x74], esi
jmp 0x41cd3b
mov esi, dword [ebp - 0x74]
add edi, 2
test cx, cx
je 0x41cd66
movzx eax, cx
test dl, dl
je 0x41cd62
push eax
push ebx
push esi
call fcn.00430a00
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 0x41cd64
add edi, eax
add ebx, eax
cmp byte [ebp - 0x75], 0
je 0x41cd77
add esi, 3
and esi, 0xfffffffc
mov dword [ebp - 0x74], esi
jmp 0x41cd7d
add edi, 3
and edi, 0xfffffffc
lea ecx, [ebx + 3]
mov eax, dword [ebp - 0x98]
and ecx, 0xfffffffc
test ax, ax
jne 0x41ca2d
mov eax, dword [ebp - 0xbc]
mov ebx, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xbc], eax
cmp eax, 2
jg 0x41cdb9
jmp 0x41c791
mov dword [ebp - 0xb4], 0x8007000e
push dword [ebp - 0xa0]
call dword [sym.imp.GDI32.dll_DeleteDC]
cmp dword [ebp - 0xb4], 0
jge 0x41cde0
xor eax, eax
mov dword [ebx], eax
cmp dword [ebp - 0x74], eax
je 0x41cde0
push dword [ebp - 0x74]
call fcn.00432d53
pop ecx
xor eax, eax
jmp 0x41cde9
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00430498
mov esp, ebp
pop ebp
ret