Function at 0x4104b0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cc1f5
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x1c], esi
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00406070
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0
call fcn.00407aa0
or ebx, 0xffffffff
test al, al
jne 0x410506
mov byte [ebp + 0xb], al
jmp 0x410a31
call fcn.00407970
mov ecx, eax
test ecx, ecx
je 0x410a60
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
mov eax, 0x4dd524
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
test eax, 0xffff0000
jne 0x41053e
movzx eax, ax
push eax
call fcn.00407ab0
jmp 0x41054a
push 9
push 0x4dd524
call fcn.00408590
mov byte [ebp - 4], 3
call fcn.00407970
mov ecx, eax
test ecx, ecx
je 0x410a6a
mov eax, dword [ecx]
call dword [eax + 0xc]
lea edi, [eax + 0x10]
mov dword [ebp - 0x18], edi
lea eax, [esi + 0x104]
mov byte [ebp - 4], 4
mov esi, dword [ebp + 8]
xor ebx, ebx
mov dword [ebp - 0x14], eax
nop word [eax + eax]
push ebx
call fcn.004185b0
add esp, 4
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
push eax
push esi
call fcn.00408080
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
cmp eax, 0xffffffff
jne 0x4105ca
push ebx
lea eax, [ebp - 0x18]
push 0x4dd3b8
push eax
call fcn.004077a0
mov edi, dword [ebp - 0x18]
lea ecx, [ebp - 0x10]
add esp, 0xc
push 0xffffffffffffffff
push edi
push esi
call fcn.00408080
mov ecx, dword [ebp - 0x14]
mov dword [ecx], eax
cmp eax, 0xffffffff
je 0x4105d7
push eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [ebp - 0x14]
mov dword [ecx - 0x7c], eax
inc ebx
add ecx, 4
mov dword [ebp - 0x14], ecx
cmp ebx, 0x1f
jb 0x410580
push 7
push 0x4dd538
lea ecx, [ebp + 8]
call fcn.00408590
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x14]
push 0
push 0x4dd548
push esi
push eax
lea ecx, [ebp - 0x10]
call fcn.004083a0
mov ebx, dword [ebp - 0x1c]
mov ecx, ebx
push eax
mov byte [ebp - 4], 5
call fcn.00406cb0
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410637
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x4dd554
push esi
lea eax, [ebp - 0x14]
push eax
lea ecx, [ebp - 0x10]
call fcn.004083a0
push eax
lea ecx, [ebx + 4]
mov byte [ebp - 4], 6
call fcn.00406cb0
mov edx, dword [ebp - 0x14]
or eax, 0xffffffff
mov byte [ebp - 4], 4
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410677
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
push 0x4dd560
push esi
lea ecx, [ebp - 0x10]
call fcn.00408050
push 5
mov byte [ebx + 0x181], al
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x4dd56c
push esi
lea ecx, [ebp - 0x10]
call fcn.00408080
push eax
mov dword [ebx + 0x78], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [ebx + 0x80]
mov dword [ebp - 0x1c], eax
test ecx, ecx
je 0x4106c9
cmp ecx, eax
je 0x4106c9
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
mov eax, dword [ebp - 0x1c]
push 8
mov dword [ebx + 0x80], eax
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x4dd580
push esi
lea ecx, [ebp - 0x10]
call fcn.00408080
push eax
mov dword [ebx + 0x7c], eax
call dword [sym.imp.GDI32.dll_CreateSolidBrush]
mov ecx, dword [ebx + 0x84]
mov esi, eax
test ecx, ecx
je 0x410707
cmp ecx, esi
je 0x410707
push ecx
call dword [sym.imp.GDI32.dll_DeleteObject]
push 8
push 0x4dd594
lea ecx, [ebp + 8]
mov dword [ebx + 0x84], esi
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 8], eax
push 0x4dd580
push esi
call fcn.00408080
push 0xffffffffffffffff
push 0x4dd5a8
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0xc], eax
call fcn.00408080
push dword [ebx + 0x78]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x10], eax
push 0x4dd5c4
push esi
call fcn.00408080
push 1
push 0x4dd5e0
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x14], eax
call fcn.00408050
push 8
push 0x4dd5fc
lea ecx, [ebp + 8]
mov byte [ebx + 0x18], al
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x1c], eax
push 0x4dd580
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x20], eax
push 0x4dd610
push esi
call fcn.00408080
push 6
push 0x4d6b08
lea ecx, [ebp + 8]
mov dword [ebx + 0x24], eax
call fcn.00408590
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0xffffffffffffffff
push 0x4dd56c
push esi
call fcn.00408080
push 0xffffffffffffffff
push 0x4dd580
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x28], eax
call fcn.00408080
push 0xffffffffffffffff
push 0x4dd624
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x2c], eax
call fcn.00408080
push 4
push 0x4dd640
lea ecx, [ebp + 8]
mov dword [ebx + 0x30], eax
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x44], eax
push 0x4dd580
push esi
call fcn.00408080
push 6
push 0x4dd64c
lea ecx, [ebp + 8]
mov dword [ebx + 0x48], eax
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x54], eax
push 0x4dd580
push esi
call fcn.00408080
push 9
push 0x4dd65c
lea ecx, [ebp + 8]
mov dword [ebx + 0x58], eax
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x5c], eax
push 0x4dd580
push esi
call fcn.00408080
push 7
push 0x4dd670
lea ecx, [ebp + 8]
mov dword [ebx + 0x60], eax
call fcn.00408590
push 0x800000
push 0x4dd680
push dword [ebp + 8]
lea ecx, [ebp - 0x10]
call fcn.00408080
push 6
push 0x4dd69c
lea ecx, [ebp + 8]
mov dword [ebx + 0x34], eax
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push dword [ebx + 0x7c]
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x4c], eax
push 0x4dd580
push esi
call fcn.00408080
push 9
mov dword [ebx + 0x50], eax
push 0x4dd6ac
lea ecx, [ebp + 8]
call fcn.00408590
push dword [ebx + 0x78]
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0x4dd56c
push esi
call fcn.00408080
push 0x808080
push 0x4dd6c0
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x6c], eax
call fcn.00408080
push 0x404040
push 0x4dd6e0
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x68], eax
call fcn.00408080
push 0xc0c0c0
push 0x4dd6fc
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x64], eax
call fcn.00408080
push 0
push 0x4dd714
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x70], eax
call fcn.00408050
push 8
push 0x4dd720
lea ecx, [ebp + 8]
mov byte [ebx + 0x74], al
call fcn.00408590
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x10]
push 0
push 0x4dd734
push esi
call fcn.00408050
push 0xa0a0a
push 0x4dd748
push esi
lea ecx, [ebp - 0x10]
mov byte [ebx + 0x40], al
call fcn.00408080
push 0x232425
push 0x4dd770
push esi
lea ecx, [ebp - 0x10]
mov dword [ebx + 0x38], eax
call fcn.00408080
mov dword [ebx + 0x3c], eax
add edi, 0xfffffff0
mov byte [ebx + 0x180], 0
or ebx, 0xffffffff
mov byte [ebp + 0xb], 1
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410a1a
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x410a31
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x410a49
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov al, byte [ebp + 0xb]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80004005
call fcn.004075e0
push 0x80004005
call fcn.004075e0
int3