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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x59b6d8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6101c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x110], 0
je 0x41ea46
call fcn.00467747
mov ecx, dword [eax + 4]
call fcn.004653c6
xor esi, esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x14], esi
cmp dword [ebp + 0x18], esi
je 0x41e533
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.004580c8
mov esi, eax
mov dword [esp + 0x14], eax
movdqa xmm0, xmmword [0x5ea990]
push dword [ebx + 0x20]
movdqu xmmword [esp + 0x58], xmm0
movdqa xmm0, xmmword [0x5ea990]
movdqu xmmword [esp + 0x68], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41e612
push ecx
push 0
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.00420990
lea ecx, [esp + 0x54]
cmp ecx, eax
je 0x41e598
mov edx, dword [eax + 0xc]
mov edi, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edx
jmp 0x41e5ac
mov eax, dword [esp + 0x60]
mov edi, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x54]
sub esp, 8
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x4c]
mov dword [esp + 0x30], ecx
mov ecx, ebx
mov dword [esp + 0x20], edi
push eax
call fcn.00420ae0
lea ecx, [esp + 0x64]
cmp ecx, eax
je 0x41e5f8
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 8]
mov ecx, dword [eax + 4]
mov eax, dword [eax]
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
jmp 0x41e64e
mov edi, dword [esp + 0x70]
mov edx, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x38], edi
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], ecx
jmp 0x41e64a
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x70]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x6c]
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x64]
cmp byte [ebx + 0x50b], 0
mov dword [esp + 0x2c], eax
je 0x41e65f
xor ecx, ecx
jmp 0x41e665
mov ecx, dword [ebx + 0x164]
mov edi, dword [ebp + 8]
test edi, edi
js 0x41e67a
mov eax, dword [ebx + 0x15c]
cmp edi, eax
cmovl edi, eax
mov dword [ebp + 8], edi
mov edx, dword [ebp + 0x10]
test edx, edx
js 0x41e68f
mov eax, dword [ebx + 0x15c]
cmp edx, eax
cmovl edx, eax
mov dword [ebp + 0x10], edx
mov eax, dword [ebp + 0xc]
test eax, eax
js 0x41e6a3
cmp eax, ecx
jge 0x41e6a3
mov eax, dword [ebx + 0x164]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
js 0x41e6b7
cmp eax, ecx
jge 0x41e6b7
mov eax, dword [ebx + 0x164]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x1c], 0
je 0x41e932
mov eax, dword [ebx + 0x36c]
neg eax
sbb eax, eax
mov dword [esp + 0x20], eax
je 0x41e819
lea eax, [ebx + 0x360]
jmp 0x41e6e0
lea ecx, [esp + 0x44]
mov dword [esp + 0x44], 0xffffffff
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x4c], 0xffffffff
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0042d880
mov eax, dword [esp + 0x44]
test eax, eax
js 0x41e7f2
cmp eax, dword [ebx + 0x158]
jge 0x41e7f2
mov esi, dword [esp + 0x48]
test esi, esi
js 0x41e7f2
cmp esi, dword [ebx + 0x160]
jge 0x41e7f2
push esi
push eax
mov ecx, ebx
call fcn.0041a0d0
mov ecx, eax
test ecx, ecx
je 0x41e74a
mov eax, dword [ecx]
call dword [eax + 0x58]
and eax, 0xfffffffd
mov ecx, ebx
push eax
push esi
push dword [esp + 0x4c]
call fcn.00423230
mov eax, dword [esp + 0x44]
cmp edi, eax
jg 0x41e777
mov edx, dword [ebp + 0x10]
cmp eax, edx
jg 0x41e777
cmp dword [ebp + 0xc], esi
jg 0x41e777
cmp esi, dword [ebp + 0x14]
jle 0x41e804
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x41e7b5
mov edx, dword [esp + 0x28]
test edx, edx
js 0x41e7b5
cmp dword [esp + 0x18], 0
jl 0x41e7b5
cmp dword [esp + 0x1c], 0
jl 0x41e7b5
cmp ecx, dword [esp + 0x18]
jg 0x41e7b5
cmp edx, dword [esp + 0x1c]
jg 0x41e7b5
cmp eax, ecx
jl 0x41e7b5
cmp eax, dword [esp + 0x18]
jg 0x41e7b5
cmp esi, edx
jl 0x41e7b5
cmp esi, dword [esp + 0x1c]
jle 0x41e7cd
cmp eax, dword [esp + 0x2c]
jl 0x41e801
cmp eax, dword [esp + 0x30]
jg 0x41e801
cmp esi, dword [esp + 0x34]
jl 0x41e801
cmp esi, dword [esp + 0x38]
jg 0x41e801
cmp dword [ebp + 0x18], 0
je 0x41e7e7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41e7e7
push ecx
push esi
push eax
mov ecx, ebx
call fcn.0041dfe0
jmp 0x41e801
push esi
push eax
mov ecx, ebx
call fcn.004248f0
jmp 0x41e801
push dword [esp + 0x40]
lea ecx, [ebx + 0x360]
call fcn.0042d790
mov edx, dword [ebp + 0x10]
cmp dword [esp + 0x20], 0
lea eax, [ebx + 0x360]
jne 0x41e6e0
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x104]
test dword [ebx + 0x100], eax
jne 0x41e932
test edi, edi
js 0x41ea22
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x14]
jl 0x41e935
test edx, edx
js 0x41e935
test eax, eax
js 0x41e935
mov eax, dword [ebx + 0x388]
neg eax
sbb eax, eax
mov dword [esp + 0x20], eax
je 0x41e932
mov edi, dword [esp + 0x14]
lea eax, [ebx + 0x37c]
mov edi, edi
lea ecx, [esp + 0x38]
mov dword [esp + 0x38], 0xffffffff
push ecx
lea ecx, [esp + 0x44]
mov dword [esp + 0x40], 0xffffffff
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, eax
call fcn.0042d880
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0041dfa0
test eax, eax
je 0x41e91a
mov esi, dword [esp + 0x3c]
push esi
push dword [esp + 0x3c]
call fcn.00423300
or eax, 2
mov ecx, ebx
push eax
push esi
push dword [esp + 0x40]
call fcn.00423230
lea ecx, [esp + 0x54]
call fcn.0041a030
test eax, eax
je 0x41e8e3
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.0041a090
test eax, eax
jne 0x41e8f5
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x68]
call fcn.0041a090
test eax, eax
je 0x41e91a
cmp dword [ebp + 0x18], 0
je 0x41e90e
test edi, edi
je 0x41e90e
push edi
push esi
push dword [esp + 0x40]
mov ecx, ebx
call fcn.0041dfe0
jmp 0x41e91a
push esi
push dword [esp + 0x3c]
mov ecx, ebx
call fcn.004248f0
cmp dword [esp + 0x20], 0
lea eax, [ebx + 0x37c]
jne 0x41e870
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
test edi, edi
js 0x41ea22
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x41ea22
mov ecx, dword [ebp + 0x10]
test ecx, ecx
js 0x41ea22
test eax, eax
js 0x41ea22
cmp ecx, dword [ebx + 0x158]
jge 0x41ea22
cmp eax, dword [ebx + 0x160]
jge 0x41ea22
cmp edi, ecx
jg 0x41ea22
cmp edx, eax
jg 0x41ea22
mov esi, edx
push esi
push edi
mov ecx, ebx
call fcn.00424650
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
je 0x41ea07
push esi
test ecx, ecx
mov ecx, ebx
push edi
je 0x41e9a7
call fcn.00423300
or eax, 2
jmp 0x41e9af
call fcn.00423300
and eax, 0xfffffffd
push eax
push esi
push edi
mov ecx, ebx
call fcn.00423230
lea ecx, [esp + 0x54]
call fcn.0041a030
test eax, eax
je 0x41e9d5
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0041a060
test eax, eax
jne 0x41e9e4
push esi
push edi
lea ecx, [esp + 0x6c]
call fcn.0041a060
test eax, eax
je 0x41ea07
cmp dword [ebp + 0x18], 0
je 0x41e9fe
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41e9fe
push eax
push esi
push edi
mov ecx, ebx
call fcn.0041dfe0
jmp 0x41ea07
push esi
push edi
mov ecx, ebx
call fcn.004248f0
inc esi
cmp esi, dword [ebp + 0x14]
jle 0x41e985
mov edx, dword [ebp + 0xc]
inc edi
cmp edi, dword [ebp + 0x10]
jle 0x41e983
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41ea32
push dword [esi + 4]
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_ReleaseDC]
lea ecx, [esp + 0x13]
mov dword [esp + 0x80], 0xffffffff
call fcn.0042fc10
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18