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

Disassembly:
push 0xffffffffffffffff
push 0x1008e4ce
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100c6580]
xor eax, esp
mov dword [esp + 0x244], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x100c6580]
xor eax, esp
push eax
lea eax, [esp + 0x25c]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esi + 8]
test eax, eax
jne 0x100472be
call fcn.10042d10
mov edi, eax
cmp dword [esi + 8], edi
je 0x100472be
test edi, edi
je 0x100472ac
mov eax, dword [edi]
mov ecx, dword [eax + 4]
push edi
call ecx
mov eax, dword [esi + 8]
test eax, eax
je 0x100472bb
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [esi + 8], edi
mov ecx, dword [esi + 0xb8]
mov ebp, dword [esi + 0xd0]
lea edi, [esi + 0xb8]
lea edx, [esp + 0x26c]
push edx
lea eax, [esp + 0x4c]
mov dword [esp + 0x3c], ecx
push eax
mov ecx, edi
call fcn.10043aa0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x100472f6
cmp eax, dword [esp + 0x38]
je 0x100472fb
call fcn.1007260f
cmp dword [ebx + 4], ebp
je 0x100473f0
mov ecx, dword [esi + 0x90]
mov edx, dword [esi + 0x78]
lea ebp, [esi + 0x78]
mov dword [esp + 0x3c], ecx
lea eax, [esp + 0x26c]
push eax
lea ecx, [esp + 0x4c]
push ecx
mov ecx, ebp
mov dword [esp + 0x40], edx
call fcn.10043aa0
mov ebx, eax
mov eax, dword [ebx]
test eax, eax
je 0x1004733a
cmp eax, dword [esp + 0x38]
je 0x1004733f
call fcn.1007260f
mov edx, dword [esp + 0x3c]
cmp dword [ebx + 4], edx
je 0x100473f0
lea eax, [esp + 0x26c]
push eax
mov ecx, edi
call fcn.10045ee0
cmp dword [eax], 0
jne 0x100473f0
mov ecx, esi
call fcn.10042db0
mov ecx, dword [esi + 4]
mov edx, dword [ecx + 4]
push eax
push edx
lea eax, [esp + 0x274]
push eax
mov ecx, ebp
call fcn.10046de0
mov eax, dword [eax]
push ecx
mov ecx, esp
mov dword [esp + 0x44], esp
mov dword [ecx], eax
test eax, eax
je 0x1004739b
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
mov ecx, dword [esi + 8]
call fcn.10034760
mov ebx, eax
test ebx, ebx
je 0x100473f0
push 0x50
call fcn.10071d47
add esp, 4
mov dword [esp + 0x38], eax
mov dword [esp + 0x264], 0
test eax, eax
je 0x100473d2
push ebx
mov ecx, eax
call fcn.10035bc0
mov ebx, eax
jmp 0x100473d4
xor ebx, ebx
lea ecx, [esp + 0x26c]
push ecx
mov ecx, edi
mov dword [esp + 0x268], 0xffffffff
call fcn.10045ee0
mov dword [eax], ebx
mov ebx, dword [esp + 0x26c]
cmp ebx, dword [esi + 0x138]
mov dword [esi + 0x13c], ebx
mov edx, dword [edi + 0x18]
mov eax, dword [edi]
lea ecx, [esp + 0x26c]
mov dword [esp + 0x3c], edx
push ecx
lea edx, [esp + 0x4c]
push edx
mov ecx, edi
setne byte [esp + 0x1f]
mov dword [esp + 0x40], eax
call fcn.10043aa0
mov ebp, eax
mov eax, dword [ebp]
test eax, eax
je 0x10047438
cmp eax, dword [esp + 0x38]
je 0x1004743d
call fcn.1007260f
mov eax, dword [esp + 0x3c]
cmp dword [ebp + 4], eax
je 0x100474a2
lea ecx, [esp + 0x26c]
push ecx
mov ecx, edi
call fcn.10045ee0
cmp dword [eax], 0
je 0x100474a2
cmp dword [esi + 0x1c], 0
mov dword [esi + 0x138], ebx
je 0x1004747a
cmp dword [esi + 0x20], 0
je 0x1004747a
mov edx, dword [esi + 0x1c]
mov eax, dword [esi + 0x20]
mov dword [esi + 0x6c], edx
mov dword [esi + 0x70], eax
jmp 0x100474ac
lea ecx, [esp + 0x26c]
push ecx
mov ecx, edi
call fcn.10045ee0
mov ecx, dword [eax]
lea edx, [esp + 0x48]
push edx
call fcn.10035a40
mov ecx, dword [eax]
mov dword [esi + 0x6c], ecx
mov edx, dword [eax + 4]
mov dword [esi + 0x70], edx
jmp 0x100474ac
mov dword [esi + 0x138], 0xffffffff
cmp dword [esi + 0x68], 2
jne 0x100475a2
xor eax, eax
mov dword [esp + 0x1c], eax
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x1c], 0x80000040
call fcn.10042db0
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [edx + 4]
push 0x43f
push eax
call ebp
mov edx, dword [esi]
mov eax, dword [edx + 0x4c]
mov ecx, esi
call eax
lea ecx, [esp + 0x48]
mov edi, eax
push ecx
mov ecx, esi
add edi, edi
call fcn.10046b40
mov edx, dword [eax]
mov eax, dword [esi]
lea ebx, [edx + edi]
mov edx, dword [eax + 0x48]
mov ecx, esi
call edx
mov edi, eax
mov eax, dword [esi]
mov edx, dword [eax + 0x54]
mov ecx, esi
add edi, ebx
call edx
test al, al
je 0x10047540
add edi, 0xa
movzx eax, word [esp + 0x2a]
cmp eax, edi
je 0x1004764a
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x28], eax
mov ecx, esi
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x1c], 0x80000040
mov word [esp + 0x2a], di
call fcn.10042db0
mov edx, dword [esi + 4]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [edx + 4]
push 0x440
push eax
jmp 0x10047648
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x5a]
push edx
mov word [esp + 0x5c], cx
call fcn.10072920
xor eax, eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
lea eax, [esp + 0x5c]
add esp, 0xc
mov ecx, esi
mov dword [esp + 0x18], 0x20
mov dword [esp + 0x1c], VariantClear
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], 0x104
call fcn.10042db0
mov edx, dword [esi + 4]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
lea ecx, [esp + 0x18]
push ecx
push eax
mov eax, dword [edx + 4]
push 0x43f
push eax
call ebp
xor ecx, ecx
cmp dword [esi + 0x138], 0xffffffff
setne cl
dec ecx
and ecx, 0xfffffffe
mov dword [esp + 0x24], ecx
mov ecx, esi
call fcn.10042db0
lea edx, [esp + 0x18]
push edx
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push 0x440
push ecx
call ebp
cmp byte [esp + 0x17], 0
je 0x10047692
xor eax, eax
mov ecx, esi
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
call fcn.10042db0
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push 0x41d
push ecx
call ebp
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
push 1
lea edx, [esp + 0x3c]
push edx
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [esp + 0x25c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x244]
xor ecx, esp
call fcn.1007219d
add esp, 0x254
ret 4