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

Disassembly:
sub esp, 0x78
mov eax, dword [0x5bc9cc]
xor eax, esp
mov dword [esp + 0x74], eax
push ebx
push ebp
mov ebp, dword [esp + 0x84]
push esi
xor eax, eax
push edi
mov edi, dword [0x56b80c]
mov ebx, edx
mov edx, dword [0x56b808]
mov esi, ecx
mov ecx, dword [0x56b804]
mov dword [esp + 0x10], eax
mov dword [esp + 0x1c], eax
mov eax, dword [0x56b800]
push 0x571998
push ebp
mov dword [esp + 0x40], ebp
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], edx
mov dword [esp + 0x70], edi
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x84], edi
mov dword [esp + 0x88], 0
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], edx
mov dword [esp + 0x60], edi
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0x4c], edx
mov dword [esp + 0x50], edi
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a1c2
push 0x5719b8
push ebp
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a1c2
lea eax, [esi + 0x1a0]
push 0x56b800
push eax
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40a1c2
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x74]
xor ecx, esp
call fcn.0052944d
add esp, 0x78
ret 4
cmp dword [esi + 0x1c], 0
je 0x40a204
push 0x5719a8
push ebx
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a204
push 0x5719c8
push ebx
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a204
lea ecx, [esi + 0x1b0]
push 0x56b800
push ecx
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a1ab
push esi
lea ecx, [esp + 0x24]
mov edi, 0x5700d4
call fcn.00409b30
test eax, eax
je 0x40a1ab
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.PROPSYS.dll_PropVariantToUInt32]
test eax, eax
jl 0x40a1ab
lea ecx, [esp + 0x20]
push ecx
call dword [sym.imp.ole32.dll_PropVariantClear]
mov edx, dword [0x5700fc]
mov eax, dword [0x570100]
mov ecx, dword [0x570104]
mov dword [esp + 0x5c], edx
mov edx, dword [0x570108]
mov dword [esp + 0x60], eax
mov eax, dword [0x57010c]
mov dword [esp + 0x64], ecx
mov ecx, dword [0x5700e8]
mov dword [esp + 0x68], edx
mov edx, dword [0x5700ec]
xor ebx, ebx
cmp dword [esp + 0x10], ebx
mov dword [esp + 0x6c], eax
mov eax, dword [0x5700f0]
mov dword [esp + 0x70], ecx
mov ecx, dword [0x5700f4]
mov dword [esp + 0x74], edx
mov edx, dword [0x5700f8]
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov dword [esp + 0x80], edx
mov dword [esp + 0x14], ebx
jbe 0x40a49b
lea ebx, [ebx]
mov edi, dword [esp + 0x38]
push 0x571998
push edi
xor ebp, ebp
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a2da
push 0x5719b8
push edi
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40a325
push esi
lea ecx, [esp + 0x24]
lea edi, [esp + 0x60]
mov dword [esp + 0x70], ebx
call fcn.00409b30
test eax, eax
je 0x40a416
cmp word [esp + 0x20], 0x1f
jne 0x40a416
mov ecx, dword [esp + 0x28]
lea eax, [esp + 0x4c]
push eax
push ecx
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea edx, [esp + 0x20]
push edx
mov edi, eax
call dword [sym.imp.ole32.dll_PropVariantClear]
test edi, edi
jl 0x40a416
xor ebx, ebx
lea edi, [esp + 0x4c]
call fcn.0040a000
test eax, eax
mov dword [esp + 0x18], eax
jne 0x40a358
lea eax, [esi + 0x1a0]
push 0x56b800
push eax
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a358
mov dword [esp + 0x18], 1
cmp dword [esi + 0x1c], 0
je 0x40a40f
mov edi, dword [esp + 0x34]
push 0x5719a8
push edi
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a38a
push 0x5719c8
push edi
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40a3fe
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x80], ecx
push esi
lea ecx, [esp + 0x24]
lea edi, [esp + 0x74]
call fcn.00409b30
test eax, eax
je 0x40a416
cmp word [esp + 0x20], 0x1f
jne 0x40a416
mov eax, dword [esp + 0x28]
lea edx, [esp + 0x3c]
push edx
push eax
call dword [sym.imp.ole32.dll_CLSIDFromString]
lea ecx, [esp + 0x20]
push ecx
mov edi, eax
call dword [sym.imp.ole32.dll_PropVariantClear]
test edi, edi
jl 0x40a416
mov ebx, 1
lea edi, [esp + 0x3c]
call fcn.0040a000
mov ebp, eax
test ebp, ebp
jne 0x40a3fe
lea edx, [esi + 0x1b0]
push 0x56b800
push edx
call fcn.004030f0
add esp, 8
test eax, eax
jne 0x40a3fe
mov ebp, ebx
cmp dword [esi + 0x1c], 0
je 0x40a40f
cmp dword [esp + 0x18], 0
je 0x40a416
test ebp, ebp
jmp 0x40a414
cmp dword [esp + 0x18], 0
jne 0x40a42d
mov ebx, dword [esp + 0x14]
add ebx, 1
cmp ebx, dword [esp + 0x10]
mov dword [esp + 0x14], ebx
jb 0x40a2b0
jmp 0x40a49b
lea edi, [esi + 0x1a0]
push 0x56b800
push edi
mov dword [esp + 0x24], 1
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40a468
mov eax, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
mov edx, dword [esp + 0x54]
mov dword [edi], eax
mov eax, dword [esp + 0x58]
mov dword [edi + 4], ecx
mov dword [edi + 8], edx
mov dword [edi + 0xc], eax
add esi, 0x1b0
push 0x56b800
push esi
call fcn.004030f0
add esp, 8
test eax, eax
je 0x40a49b
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x44]
mov dword [esi], ecx
mov ecx, dword [esp + 0x48]
mov dword [esi + 4], edx
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x84]
mov eax, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.0052944d
add esp, 0x78
ret 4