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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x47b538
mov eax, dword fs:[0]
push eax
sub esp, 0x48
push ebx
push esi
push edi
mov eax, dword [0x4a05d0]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x24]
push eax
push ecx
mov dword [esp + 0x28], 1
call dword [sym.imp.USER32.dll_GetClientRect]
mov eax, dword [esi + 0x98]
xor ebx, ebx
cmp eax, ebx
je 0x41e2e6
add eax, 6
cmp dword [esi + 0xa0], ebx
jne 0x41e2e2
add dword [esp + 0x24], eax
jmp 0x41e2e6
sub dword [esp + 0x2c], eax
mov ecx, esi
call fcn.0043fa93
mov dword [esp + 0x14], 0x10
test al, 1
je 0x41e303
mov dword [esp + 0x14], 0x15
jmp 0x41e30f
test al, 2
je 0x41e30f
mov dword [esp + 0x14], 0x12
test eax, 0x4000
je 0x41e31e
or dword [esp + 0x14], 0x8000
test eax, 0x8000
je 0x41e32d
or dword [esp + 0x14], 0x4020
test eax, 0x200
je 0x41e339
or dword [esp + 0x14], 0x24
mov edi, dword [ebp + 8]
push 1
mov ecx, edi
call fcn.00440675
cmp dword [esi + 0x80], ebx
je 0x41e360
cmp dword [esi + 0x84], ebx
je 0x41e360
mov edx, dword [edi]
mov eax, dword [esi + 0x78]
mov edx, dword [edx + 0x30]
push eax
jmp 0x41e369
mov eax, dword [edi]
mov ecx, dword [esi + 0x74]
mov edx, dword [eax + 0x30]
push ecx
mov ecx, edi
call edx
call fcn.0041e600
mov edx, dword [edi]
push eax
mov eax, dword [edx + 0x28]
mov ecx, edi
call eax
push 0x485fe4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
call fcn.0040a630
push 0x400
lea eax, [esp + 0x38]
push eax
mov dword [esp + 0x68], ebx
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push 0xb
push str.Km_uIlW_eg
mov ecx, edi
call edx
mov ecx, dword [esp + 0x3c]
sub ecx, dword [esp + 0x34]
mov ebx, dword [esp + 0x40]
sub ebx, dword [esp + 0x38]
mov eax, 0x2e8ba2e9
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
mov edx, dword [esp + 0x28]
add edx, ebx
mov dword [esp + 0x30], edx
mov edx, dword [esp + 0x2c]
sub edx, dword [esp + 0x24]
xor ecx, ecx
cmp eax, edx
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], ecx
jg 0x41e5b1
mov edx, dword [esi + 0x54]
xor eax, eax
cmp dword [edx - 0xc], ecx
mov dword [esp + 0x1c], eax
jle 0x41e523
test eax, eax
jl 0x41e5f0
mov ecx, dword [esi + 0x54]
cmp eax, dword [ecx - 0xc]
jg 0x41e5f0
movzx ecx, word [ecx + eax*2]
mov edx, 0xd
cmp dx, cx
je 0x41e512
mov eax, 0xa
cmp ax, cx
jne 0x41e47e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 0x7c]
lea ecx, [eax + ebx]
add dword [esp + 0x30], ecx
mov eax, ecx
neg eax
sub dword [esp + 0x28], eax
lea ecx, [esp + 0x18]
call fcn.0040a2f0
inc dword [esp + 0x20]
jmp 0x41e50e
push ecx
lea ecx, [esp + 0x1c]
call fcn.00409d10
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push 0x400
lea ecx, [esp + 0x38]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x3c]
sub eax, dword [esp + 0x24]
sub ecx, dword [esp + 0x34]
cmp ecx, eax
jle 0x41e50e
mov edx, dword [esp + 0x18]
mov eax, dword [edx - 0xc]
lea ecx, [esp + 0x18]
dec eax
push ecx
call fcn.0041e7b0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call edx
mov eax, dword [esi + 0x7c]
lea ecx, [eax + ebx]
add dword [esp + 0x30], ecx
mov eax, ecx
neg eax
sub dword [esp + 0x28], eax
lea ecx, [esp + 0x18]
call fcn.0040a2f0
mov eax, 1
sub dword [esp + 0x1c], eax
add dword [esp + 0x20], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x54]
inc eax
cmp eax, dword [ecx - 0xc]
mov dword [esp + 0x1c], eax
jl 0x41e40e
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
mov edx, dword [edi]
mov edx, dword [edx + 0x68]
push ecx
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [eax - 0xc]
push ecx
push eax
mov ecx, edi
call edx
mov ecx, dword [esi + 0x20]
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esi + 0x7c]
mov edx, dword [esp + 0x20]
mov edi, dword [esp + 0x50]
mov ecx, dword [esp + 0x48]
dec edx
add eax, ebx
imul eax, edx
lea edx, [eax + ebx]
sub edi, ecx
cmp edi, edx
jge 0x41e5b1
add eax, ecx
mov ecx, dword [esi + 0x20]
add eax, ebx
mov dword [esp + 0x50], eax
lea eax, [esp + 0x44]
push eax
push ecx
call dword [sym.imp.USER32.dll_GetParent]
push eax
call fcn.00443a23
mov ecx, eax
call fcn.00440b0b
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x50]
mov ecx, dword [esp + 0x44]
push 1
sub edx, eax
push edx
mov edx, dword [esp + 0x54]
sub edx, ecx
push edx
push eax
push ecx
mov ecx, esi
call fcn.0043fb81
mov dword [esp + 0x60], 0xffffffff
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or edx, 0xffffffff
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x41e5d9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
push 0x80070057
call fcn.0040a7c0
int3