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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5ee4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
push ebx
push esi
push edi
mov eax, dword [0x6731c0]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 0x110], 0
je 0x41f336
call fcn.0046ed10
mov ecx, dword [eax + 4]
call fcn.0046c986
xor esi, esi
mov dword [esp + 0x80], 0
mov dword [esp + 0x14], esi
cmp dword [ebp + 0x18], esi
je 0x41ee23
push dword [ebx + 0x20]
call dword [sym.imp.USER32.dll_GetDC]
push eax
call fcn.00460601
mov esi, eax
mov dword [esp + 0x14], eax
movdqa xmm0, xmmword [0x64c3c0]
push dword [ebx + 0x20]
movdqu xmmword [esp + 0x58], xmm0
movdqa xmm0, xmmword [0x64c3c0]
movdqu xmmword [esp + 0x68], xmm0
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41ef02
push ecx
push 0
lea eax, [esp + 0x4c]
mov ecx, ebx
push eax
call fcn.00421280
lea ecx, [esp + 0x54]
cmp ecx, eax
je 0x41ee88
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 0x41ee9c
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.004213d0
lea ecx, [esp + 0x64]
cmp ecx, eax
je 0x41eee8
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 0x41ef3e
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 0x41ef3a
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 0x41ef4f
xor ecx, ecx
jmp 0x41ef55
mov ecx, dword [ebx + 0x164]
mov edi, dword [ebp + 8]
test edi, edi
js 0x41ef6a
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 0x41ef7f
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 0x41ef93
cmp eax, ecx
jge 0x41ef93
mov eax, dword [ebx + 0x164]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
js 0x41efa7
cmp eax, ecx
jge 0x41efa7
mov eax, dword [ebx + 0x164]
mov dword [ebp + 0x14], eax
cmp dword [ebp + 0x1c], 0
je 0x41f222
mov eax, dword [ebx + 0x36c]
neg eax
sbb eax, eax
mov dword [esp + 0x20], eax
je 0x41f109
lea eax, [ebx + 0x360]
jmp 0x41efd0
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.0042e170
mov eax, dword [esp + 0x44]
test eax, eax
js 0x41f0e2
cmp eax, dword [ebx + 0x158]
jge 0x41f0e2
mov esi, dword [esp + 0x48]
test esi, esi
js 0x41f0e2
cmp esi, dword [ebx + 0x160]
jge 0x41f0e2
push esi
push eax
mov ecx, ebx
call fcn.0041a9c0
mov ecx, eax
test ecx, ecx
je 0x41f03a
mov eax, dword [ecx]
call dword [eax + 0x58]
and eax, 0xfffffffd
mov ecx, ebx
push eax
push esi
push dword [esp + 0x4c]
call fcn.00423b20
mov eax, dword [esp + 0x44]
cmp edi, eax
jg 0x41f067
mov edx, dword [ebp + 0x10]
cmp eax, edx
jg 0x41f067
cmp dword [ebp + 0xc], esi
jg 0x41f067
cmp esi, dword [ebp + 0x14]
jle 0x41f0f4
mov ecx, dword [esp + 0x24]
test ecx, ecx
js 0x41f0a5
mov edx, dword [esp + 0x28]
test edx, edx
js 0x41f0a5
cmp dword [esp + 0x18], 0
jl 0x41f0a5
cmp dword [esp + 0x1c], 0
jl 0x41f0a5
cmp ecx, dword [esp + 0x18]
jg 0x41f0a5
cmp edx, dword [esp + 0x1c]
jg 0x41f0a5
cmp eax, ecx
jl 0x41f0a5
cmp eax, dword [esp + 0x18]
jg 0x41f0a5
cmp esi, edx
jl 0x41f0a5
cmp esi, dword [esp + 0x1c]
jle 0x41f0bd
cmp eax, dword [esp + 0x2c]
jl 0x41f0f1
cmp eax, dword [esp + 0x30]
jg 0x41f0f1
cmp esi, dword [esp + 0x34]
jl 0x41f0f1
cmp esi, dword [esp + 0x38]
jg 0x41f0f1
cmp dword [ebp + 0x18], 0
je 0x41f0d7
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x41f0d7
push ecx
push esi
push eax
mov ecx, ebx
call fcn.0041e8d0
jmp 0x41f0f1
push esi
push eax
mov ecx, ebx
call fcn.004251e0
jmp 0x41f0f1
push dword [esp + 0x40]
lea ecx, [ebx + 0x360]
call fcn.0042e080
mov edx, dword [ebp + 0x10]
cmp dword [esp + 0x20], 0
lea eax, [ebx + 0x360]
jne 0x41efd0
mov esi, dword [esp + 0x14]
mov eax, dword [ebx + 0x104]
test dword [ebx + 0x100], eax
jne 0x41f222
test edi, edi
js 0x41f312
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 0x14]
jl 0x41f225
test edx, edx
js 0x41f225
test eax, eax
js 0x41f225
mov eax, dword [ebx + 0x388]
neg eax
sbb eax, eax
mov dword [esp + 0x20], eax
je 0x41f222
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.0042e170
lea eax, [esp + 0x38]
mov ecx, ebx
push eax
call fcn.0041e890
test eax, eax
je 0x41f20a
mov esi, dword [esp + 0x3c]
push esi
push dword [esp + 0x3c]
call fcn.00423bf0
or eax, 2
mov ecx, ebx
push eax
push esi
push dword [esp + 0x40]
call fcn.00423b20
lea ecx, [esp + 0x54]
call fcn.0041a920
test eax, eax
je 0x41f1d3
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x58]
call fcn.0041a980
test eax, eax
jne 0x41f1e5
lea eax, [esp + 0x38]
push eax
lea ecx, [esp + 0x68]
call fcn.0041a980
test eax, eax
je 0x41f20a
cmp dword [ebp + 0x18], 0
je 0x41f1fe
test edi, edi
je 0x41f1fe
push edi
push esi
push dword [esp + 0x40]
mov ecx, ebx
call fcn.0041e8d0
jmp 0x41f20a
push esi
push dword [esp + 0x3c]
mov ecx, ebx
call fcn.004251e0
cmp dword [esp + 0x20], 0
lea eax, [ebx + 0x37c]
jne 0x41f160
mov edi, dword [ebp + 8]
mov esi, dword [esp + 0x14]
mov eax, dword [ebp + 0x14]
test edi, edi
js 0x41f312
mov edx, dword [ebp + 0xc]
test edx, edx
js 0x41f312
mov ecx, dword [ebp + 0x10]
test ecx, ecx
js 0x41f312
test eax, eax
js 0x41f312
cmp ecx, dword [ebx + 0x158]
jge 0x41f312
cmp eax, dword [ebx + 0x160]
jge 0x41f312
cmp edi, ecx
jg 0x41f312
cmp edx, eax
jg 0x41f312
mov esi, edx
push esi
push edi
mov ecx, ebx
call fcn.00424f40
mov ecx, dword [ebp + 0x1c]
cmp ecx, eax
je 0x41f2f7
push esi
test ecx, ecx
mov ecx, ebx
push edi
je 0x41f297
call fcn.00423bf0
or eax, 2
jmp 0x41f29f
call fcn.00423bf0
and eax, 0xfffffffd
push eax
push esi
push edi
mov ecx, ebx
call fcn.00423b20
lea ecx, [esp + 0x54]
call fcn.0041a920
test eax, eax
je 0x41f2c5
push esi
push edi
lea ecx, [esp + 0x5c]
call fcn.0041a950
test eax, eax
jne 0x41f2d4
push esi
push edi
lea ecx, [esp + 0x6c]
call fcn.0041a950
test eax, eax
je 0x41f2f7
cmp dword [ebp + 0x18], 0
je 0x41f2ee
mov eax, dword [esp + 0x14]
test eax, eax
je 0x41f2ee
push eax
push esi
push edi
mov ecx, ebx
call fcn.0041e8d0
jmp 0x41f2f7
push esi
push edi
mov ecx, ebx
call fcn.004251e0
inc esi
cmp esi, dword [ebp + 0x14]
jle 0x41f275
mov edx, dword [ebp + 0xc]
inc edi
cmp edi, dword [ebp + 0x10]
jle 0x41f273
mov esi, dword [esp + 0x14]
test esi, esi
je 0x41f322
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.00430500
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