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

Disassembly:
push 0xffffffffffffffff
push 0x5454f8
mov eax, dword fs:[0]
push eax
sub esp, 0x4c
push ebx
push ebp
push esi
push edi
mov eax, dword [0x579aa4]
xor eax, esp
push eax
lea eax, [esp + 0x60]
mov dword fs:[0], eax
mov dword [esp + 0x38], ecx
xor edi, edi
mov dword [esp + 0x68], edi
mov eax, dword [esp + 0x74]
cmp eax, edi
sete cl
test cl, cl
je 0x41172b
mov dword [esp + 0x68], 0xffffffff
cmp eax, edi
je 0x411ace
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
jmp 0x411ace
cmp eax, edi
jne 0x411739
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
mov eax, dword [ecx + 0xa8]
call eax
cmp dword [esp + 0x20], 0xb
jne 0x411990
lea ecx, [esp + 0x74]
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x1f], 0
call fcn.00420c70
mov byte [esp + 0x68], 1
mov ebp, dword [esp + 0x1c]
cmp ebp, edi
je 0x41179d
mov edx, dword [ebp]
mov ecx, dword [edx + 0x10c]
lea eax, [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x28], edi
call ecx
cmp dword [esp + 0x20], 0xff
jne 0x41179d
mov byte [esp + 0x1b], 1
jmp 0x4118cd
mov ecx, dword [esp + 0x74]
cmp ecx, edi
jne 0x4117af
push 0x80004003
call fcn.0050a1f0
lea edx, [esp + 0x20]
push edx
call fcn.00425870
lea ecx, [esp + 0x24]
mov byte [esp + 0x68], 2
call fcn.00420c10
mov byte [esp + 0x68], 4
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x4117dc
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebx, dword [esp + 0x24]
cmp ebx, edi
je 0x4118bc
mov eax, dword [ebx]
mov edx, dword [eax + 0xa8]
lea ecx, [esp + 0x28]
push ecx
push ebx
call edx
cmp dword [esp + 0x28], 9
jne 0x4118bc
lea eax, [esp + 0x28]
push eax
mov ecx, ebx
call fcn.00425870
lea ecx, [esp + 0x2c]
mov byte [esp + 0x68], 5
call fcn.00420c10
mov byte [esp + 0x68], 7
mov eax, dword [esp + 0x28]
cmp eax, edi
je 0x411832
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov ebp, dword [esp + 0x2c]
cmp ebp, edi
je 0x4118a6
mov ecx, ebp
call fcn.004255f0
cmp eax, 4
jne 0x41184d
mov byte [esp + 0x1b], 1
jmp 0x4118a6
lea eax, [esp + 0x30]
push eax
mov ecx, ebp
call fcn.00425870
lea ecx, [esp + 0x34]
mov byte [esp + 0x68], 8
call fcn.00420c10
mov byte [esp + 0x68], 0xa
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x41187c
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov esi, dword [esp + 0x34]
cmp esi, edi
je 0x411895
mov ecx, esi
call fcn.004255f0
cmp eax, 4
jne 0x411895
mov byte [esp + 0x1b], 1
mov byte [esp + 0x68], 7
cmp esi, edi
je 0x4118a6
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov byte [esp + 0x68], 4
cmp ebp, edi
je 0x4118b8
mov edx, dword [ebp]
mov eax, dword [edx + 8]
push ebp
call eax
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x68], 1
cmp ebx, edi
je 0x4118cd
mov ecx, dword [ebx]
mov edx, dword [ecx + 8]
push ebx
call edx
lea eax, [esp + 0x20]
push eax
push ecx
lea edx, [esp + 0x7c]
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
mov dword [esp + 0x2c], edi
call fcn.00420c70
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x80]
push eax
call fcn.00411af0
mov esi, eax
mov eax, dword [esp + 0x74]
cmp eax, edi
jne 0x41190c
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [eax]
lea edx, [esp + 0x50]
push edx
push eax
mov eax, dword [ecx + 0x40]
call eax
lea ecx, [esp + 0x50]
push ecx
lea edx, [esp + 0x40]
push edx
call dword [sym.imp.USER32.dll_CopyRect]
mov ebx, dword [esp + 0x7c]
cmp ebx, 1
jg 0x411937
mov ebx, 1
cmp byte [esp + 0x1b], 0
jne 0x411947
mov eax, esi
cdq
idiv ebx
neg eax
jmp 0x41194e
mov eax, dword [esp + 0x20]
cdq
idiv ebx
push eax
push edi
lea eax, [esp + 0x44]
push eax
call dword [sym.imp.USER32.dll_OffsetRect]
mov eax, dword [esp + 0x74]
cmp eax, edi
jne 0x41196d
push 0x80004003
call fcn.0050a1f0
mov ecx, dword [eax]
push 1
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0x44]
call eax
mov byte [esp + 0x68], 0
cmp ebp, edi
je 0x411994
mov ecx, dword [ebp]
mov edx, dword [ecx + 8]
push ebp
call edx
jmp 0x411994
mov ebx, dword [esp + 0x7c]
push ecx
mov ecx, dword [esp + 0x78]
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x78]
mov dword [esp + 0x24], edi
mov dword [esp + 0x80], esp
cmp eax, edi
je 0x4119b8
mov edx, dword [eax]
push eax
mov eax, dword [edx + 4]
call eax
lea esi, [esp + 0x24]
call fcn.00422170
cmp eax, edi
jge 0x4119d2
cmp eax, 0x80004002
je 0x4119d2
push eax
call fcn.0050a1f0
mov byte [esp + 0x68], 0xb
mov esi, dword [esp + 0x20]
cmp esi, edi
je 0x411aa5
mov ecx, dword [esi]
mov eax, dword [ecx + 0xf0]
lea edx, [esp + 0x1c]
push edx
push esi
mov dword [esp + 0x24], edi
call eax
cmp dword [esp + 0x1c], edi
jle 0x411aa5
mov ebp, dword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x411a10
mov ecx, 3
mov word [esp + 0x3c], cx
mov dword [esp + 0x44], edi
mov byte [esp + 0x68], 0xd
lea eax, [esp + 0x7c]
push eax
lea ecx, [esp + 0x40]
mov dword [esp + 0x80], 0
mov edx, dword [esi]
mov edx, dword [edx + 0xec]
push ecx
push esi
call edx
lea eax, [esp + 0x3c]
push eax
mov byte [esp + 0x6c], 0xc
call ebp
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
push ebx
push ecx
push ecx
mov eax, esp
mov dword [eax], edx
mov eax, dword [esp + 0x88]
mov dword [esp + 0x40], esp
test eax, eax
je 0x411a75
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x44]
push eax
call fcn.004116d0
mov byte [esp + 0x68], 0xb
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x411a98
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc edi
cmp edi, dword [esp + 0x1c]
jl 0x411a10
xor edi, edi
mov byte [esp + 0x68], 0
cmp esi, edi
je 0x411ab6
mov eax, dword [esi]
mov ecx, dword [eax + 8]
push esi
call ecx
mov dword [esp + 0x68], 0xffffffff
mov eax, dword [esp + 0x74]
cmp eax, edi
je 0x411ace
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov ecx, dword [esp + 0x60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x58
ret 0x10