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

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x45fc2a02
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x46039020]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
xor esi, esi
mov ebx, ecx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x10], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x14], esi
mov dword [esp + 0x78], esi
mov edi, dword [ebp + 8]
lea eax, [edi + 8]
mov dword [esp + 0x64], eax
push eax
mov byte [esp + 0x6c], 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [esp + 0x68], 1
mov byte [esp + 0x78], 1
xor eax, eax
cmp dword [ebp + 0x1c], esi
setne al
cmp eax, esi
jne 0x45e29c54
mov esi, 0x80004005
mov byte [esp + 0x78], 0
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x68], 0
or dword [esp + 0x78], 0xffffffff
push 0
call fcn.45dd96ef
and dword [esp + 0x18], 0
mov eax, esi
jmp 0x45e2a42d
test byte [edi + 0x30], 1
je 0x45e29c82
mov eax, dword [ebp + 0xc]
cmp eax, esi
je 0x45e29c82
push 4
lea esi, [eax + 8]
pop ecx
mov edi, 0x45db1f00
xor eax, eax
repe cmpsd dword [esi], dword es:[edi]
jne 0x45e29c82
and dword [esp + 0x38], eax
mov ebx, dword [esp + 0x38]
mov dword [esp + 0x10], 0x10
test ebx, ebx
jne 0x45e29d8a
cmp dword [ebp + 0x1c], ebx
jne 0x45e29c9e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x20]
mov dword [esp + 0x30], eax
jmp 0x45e29d8e
xor esi, esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x18], esi
mov byte [esp + 0x78], 2
mov edi, dword [ebp + 0x18]
push edi
lea eax, [esp + 0x1c]
push eax
call fcn.45e6633b
cmp dword [esp + 0x18], esi
jne 0x45e29cdb
mov byte [esp + 0x78], 1
push esi
call fcn.45dd96ef
mov dword [esp + 0x1c], esi
pop ecx
mov esi, 0x8007000e
jmp 0x45e29c28
cmp edi, esi
jbe 0x45e29d29
mov esi, dword [esp + 0x18]
mov ebx, dword [ebp + 0x1c]
mov dword [esp + 0x54], edi
mov edi, dword [ebp + 8]
sub ebx, esi
and dword [esi], 0
cmp dword [edi + 0x20], 0
jbe 0x45e29d1e
xor ecx, ecx
mov edx, dword [edi + 0x24]
imul ecx, ecx, 0x14
mov eax, dword [ebx + esi]
mov ecx, dword [ecx + edx]
call fcn.45e285b4
test eax, eax
jne 0x45e29d1a
inc dword [esi]
mov ecx, dword [esi]
cmp ecx, dword [edi + 0x20]
jb 0x45e29cfa
jmp 0x45e29d1e
inc dword [esp + 0x40]
add esi, 4
dec dword [esp + 0x54]
jne 0x45e29cef
jmp 0x45e29d2c
mov edi, dword [ebp + 8]
mov eax, dword [esp + 0x40]
push eax
mov dword [esp + 0x34], eax
lea eax, [esp + 0x18]
push eax
call fcn.45e6633b
mov edx, dword [esp + 0x14]
xor esi, esi
cmp edx, esi
jne 0x45e29d57
mov byte [esp + 0x78], 1
push dword [esp + 0x18]
jmp 0x45e29cc7
xor ecx, ecx
cmp dword [ebp + 0x18], esi
jbe 0x45e29d75
mov eax, dword [esp + 0x18]
mov eax, dword [eax + ecx*4]
cmp eax, dword [edi + 0x20]
je 0x45e29d6f
mov dword [edx], eax
add edx, 4
inc ecx
cmp ecx, dword [ebp + 0x18]
jb 0x45e29d5e
mov byte [esp + 0x78], 1
push dword [esp + 0x18]
call fcn.45dd96ef
pop ecx
mov dword [esp + 0x18], esi
jmp 0x45e29d8e
mov dword [esp + 0x30], ebx
xor esi, esi
cmp dword [esp + 0x30], esi
jne 0x45e29db8
mov byte [esp + 0x78], 0
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x68], 0
or dword [esp + 0x78], 0xffffffff
push dword [esp + 0x14]
jmp 0x45e29c43
mov esi, dword [esp + 0x30]
push 0x18
push esi
call fcn.45e75e81
mov ebx, eax
xor edi, edi
pop ecx
pop ecx
mov dword [esp + 0x50], ebx
cmp ebx, edi
je 0x45e2a402
mov eax, esi
imul eax, eax, 0x18
push eax
push edi
push ebx
call fcn.45fb1390
add esp, 0xc
mov dword [esp + 0x1c], edi
cmp esi, edi
mov edi, dword [ebp + 8]
jbe 0x45e29e5c
mov edx, dword [ebp + 0xc]
mov ecx, dword [esp + 0x14]
lea eax, [ebx + 8]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x1c]
add edx, 8
sub eax, ecx
mov dword [esp + 0x4c], eax
jmp 0x45e29e11
mov eax, dword [esp + 0x4c]
cmp dword [esp + 0x38], 0
jne 0x45e29e36
cmp dword [eax + ecx], 0
mov eax, dword [esp + 0x1c]
je 0x45e29e24
mov eax, dword [ecx]
mov esi, dword [edi + 0x24]
imul eax, eax, 0x14
add eax, esi
test byte [eax + 0xc], 1
jne 0x45e29e48
mov esi, dword [eax]
jmp 0x45e29e38
mov esi, edx
mov edi, dword [esp + 0x34]
add dword [esp + 0x34], 0x18
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 8]
inc dword [esp + 0x1c]
mov esi, dword [esp + 0x30]
add ecx, 4
add edx, 0x18
cmp dword [esp + 0x1c], esi
jb 0x45e29e0d
and dword [esp + 0x54], 0
and dword [esp + 0x1c], 0
test esi, esi
jbe 0x45e2a2e9
mov eax, dword [esp + 0x14]
mov edx, dword [ebp + 0x1c]
lea ecx, [ebx + 8]
mov dword [esp + 0x3c], ecx
mov ecx, dword [ebp + 0xc]
add ecx, 8
sub edx, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x4c], edx
and dword [esp + 0x10], 0x1c
xor ecx, ecx
mov dword [esp + 0x28], ecx
mov dword [esp + 0x24], ecx
cmp dword [esp + 0x38], ecx
jne 0x45e29ef4
mov eax, dword [esp + 0x40]
cmp dword [eax + edx], ecx
jne 0x45e29eb4
mov esi, dword [esp + 0x1c]
jmp 0x45e29eba
mov eax, dword [esp + 0x40]
mov esi, dword [eax]
mov ecx, dword [edi + 0x24]
mov eax, esi
imul eax, eax, 0x14
add eax, ecx
test byte [eax + 0xc], 1
jne 0x45e2a2cd
mov ebx, dword [eax + 4]
mov eax, dword [edi + 0x28]
mov ecx, esi
imul ecx, ecx, 0xc
add ecx, eax
call fcn.45e2a448
add ebx, eax
or dword [esp + 0x10], 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
jmp 0x45e29fb2
mov eax, dword [esp + 0x2c]
mov eax, dword [eax - 4]
xor esi, esi
xor ebx, ebx
cmp eax, ecx
jne 0x45e29f70
or dword [esp + 0x10], 1
cmp dword [ebp + 0x18], esi
jbe 0x45e29f66
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx + esi*4]
call fcn.45e285b4
test eax, eax
je 0x45e29f23
or ebx, 1
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x45e29f0d
test ebx, ebx
je 0x45e29f66
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x40]
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
jne 0x45e29f66
mov ecx, dword [esp + 0x20]
mov edx, dword [edi + 0x24]
mov eax, ecx
imul ecx, ecx, 0xc
imul eax, eax, 0x14
mov esi, dword [eax + edx + 4]
mov eax, dword [edi + 0x28]
add ecx, eax
call fcn.45e2a448
add esi, eax
mov dword [esp + 0x18], esi
jmp 0x45e29fb2
or dword [esp + 0x10], 4
jmp 0x45e2a2a5
mov dword [esp + 0x18], eax
cmp dword [ebp + 0x18], esi
jbe 0x45e29fad
mov ecx, dword [ebp + 0x1c]
mov eax, dword [esp + 0x2c]
mov ecx, dword [ecx + esi*4]
call fcn.45e285b4
test eax, eax
je 0x45e29f8f
or ebx, 1
inc esi
cmp esi, dword [ebp + 0x18]
jb 0x45e29f79
test ebx, ebx
je 0x45e29fad
mov eax, dword [edi]
lea ecx, [esp + 0x20]
push ecx
push dword [esp + 0x40]
mov ecx, edi
call dword [eax + 0x18]
test eax, eax
je 0x45e29fb2
or dword [esp + 0x10], 6
cmp dword [esp + 0x18], 0
je 0x45e2a2a5
push 0x34
push dword [esp + 0x1c]
call fcn.45e75e81
mov ebx, eax
pop ecx
pop ecx
mov dword [esp + 0x28], ebx
test ebx, ebx
je 0x45e2a353
mov eax, dword [esp + 0x18]
imul eax, eax, 0x34
push eax
xor edi, edi
push edi
push ebx
call fcn.45fb1390
add esp, 0xc
cmp dword [esp + 0x18], edi
jbe 0x45e2a02e
mov eax, dword [esp + 0x10]
and eax, 2
mov dword [esp + 0x48], eax
lea esi, [ebx + 8]
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
cmp dword [esp + 0x48], 0
je 0x45e2a024
mov eax, dword [esp + 0x2c]
mov eax, dword [eax - 8]
mov eax, dword [eax + edi*4]
mov dword [esi - 8], eax
mov dword [esi], 1
inc edi
add esi, 0x34
cmp edi, dword [esp + 0x18]
jb 0x45e2a000
test byte [esp + 0x10], 2
je 0x45e2a042
mov eax, dword [esp + 0x18]
mov dword [esp + 0x24], eax
jmp 0x45e2a28e
and dword [esp + 0x34], 0
cmp dword [esp + 0x18], 0
jbe 0x45e2a299
and dword [esp + 0x48], 0
mov ebx, dword [esp + 0x24]
mov ecx, dword [esp + 0x34]
imul ebx, ebx, 0x34
add ebx, dword [esp + 0x28]
and dword [ebx + 8], 0
test byte [esp + 0x10], 1
je 0x45e2a18b
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x40]
mov esi, dword [eax + 0x3c]
mov eax, dword [esp + 0x20]
imul esi, eax
mov edi, ecx
shr edi, 5
add esi, edi
xor edi, edi
and ecx, 0x1f
inc edi
shl edi, cl
shl esi, 2
test dword [edx + esi], edi
je 0x45e2a277
mov ecx, dword [esp + 0x10]
and ecx, 0x10
mov dword [esp + 0x58], ecx
je 0x45e2a0bc
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0x44]
test dword [ecx + esi], edi
je 0x45e2a277
mov ecx, dword [ebp + 8]
imul eax, eax, 0x14
mov ecx, dword [ecx + 0x24]
mov eax, dword [eax + ecx + 8]
add eax, dword [esp + 0x48]
push 0
pop ecx
setne cl
test ecx, ecx
je 0x45e2a327
mov ecx, dword [eax]
mov dword [ebx], ecx
push 6
lea edi, [ebx + 0xc]
pop ecx
mov esi, 0x45db1ed8
rep movsd dword es:[edi], dword [esi]
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
test ecx, 0x40000400
je 0x45e2a15e
mov edx, dword [ebp + 8]
mov esi, dword [esp + 0x20]
push dword [ebx]
mov edi, dword [edx + 0x28]
mov ecx, esi
call fcn.45e2a47d
imul esi, esi, 0xc
shl eax, 5
add eax, dword [esi + edi + 8]
push 0
pop ecx
setne cl
test ecx, ecx
je 0x45e2a327
test dword [esp + 0x44], 0x100
je 0x45e2a149
cmp dword [eax + 4], 0
je 0x45e2a149
mov ecx, dword [esp + 0x28]
push eax
lea ebx, [esp + 0x28]
call fcn.45e2a4b3
jmp 0x45e2a277
mov ecx, dword [eax]
add eax, 0x10
push eax
lea eax, [ebx + 0x24]
push eax
mov dword [ebx + 4], ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x45e2a174
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
lea esi, [ebx + 0x24]
push esi
lea esi, [ebx + 4]
push esi
push dword [eax]
push dword [esp + 0x2c]
call dword [edx + 0x1c]
cmp dword [esp + 0x58], 0
je 0x45e2a260
mov dword [ebx + 8], 8
jmp 0x45e2a260
mov eax, dword [esp + 0x2c]
mov eax, dword [eax - 8]
mov eax, dword [eax + ecx*4]
mov edx, dword [ebp + 8]
push 6
pop ecx
mov dword [ebx], eax
lea edi, [ebx + 0xc]
mov esi, 0x45db1ed8
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
push eax
push esi
lea edi, [esp + 0x64]
mov dword [esp + 0x60], eax
call fcn.45e28d1d
test eax, eax
jne 0x45e2a267
mov eax, dword [esp + 0x5c]
mov edi, dword [ebp + 8]
imul eax, eax, 0x18
mov edx, dword [edi + 0x24]
mov ecx, esi
imul ecx, ecx, 0x14
add eax, dword [ecx + edx + 8]
push 0
pop ecx
setne cl
test ecx, ecx
je 0x45e2a327
mov ecx, dword [eax + 0xc]
mov dword [esp + 0x44], ecx
test ecx, 0x40000400
je 0x45e2a24e
mov eax, dword [edi + 0x28]
push dword [esp + 0x58]
mov ecx, esi
mov edx, edi
mov dword [esp + 0x64], eax
call fcn.45e2a47d
imul esi, esi, 0xc
mov ecx, dword [esp + 0x60]
shl eax, 5
add eax, dword [esi + ecx + 8]
push 0
pop ecx
setne cl
test ecx, ecx
je 0x45e2a327
test dword [esp + 0x44], 0x100
je 0x45e2a239
cmp dword [eax + 4], 0
jne 0x45e2a136
mov ecx, dword [eax]
add eax, 0x10
mov dword [ebx + 4], ecx
push eax
add ebx, 0x24
push ebx
call dword [sym.imp.OLEAUT32.dll_VariantCopyInd]
jmp 0x45e2a260
mov edx, dword [edi]
lea ecx, [ebx + 0x24]
push ecx
add ebx, 4
push ebx
push dword [eax]
mov ecx, edi
push esi
call dword [edx + 0x1c]
or dword [esp + 0x10], 8
jmp 0x45e2a273
or dword [esp + 0x10], 4
mov dword [ebx + 8], 1
inc dword [esp + 0x24]
inc dword [esp + 0x34]
mov eax, dword [esp + 0x34]
add dword [esp + 0x48], 0x18
cmp eax, dword [esp + 0x18]
jb 0x45e2a057
cmp dword [esp + 0x24], 0
jne 0x45e2a2a5
mov ebx, dword [esp + 0x28]
push ebx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
and dword [esp + 0x28], 0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x24]
inc dword [esp + 0x54]
mov ebx, dword [esp + 0x50]
mov edi, dword [ebp + 8]
mov edx, dword [esp + 0x4c]
mov dword [eax - 4], ecx
mov ecx, dword [esp + 0x28]
mov dword [eax - 8], ecx
add eax, 0x18
mov dword [esp + 0x3c], eax
inc dword [esp + 0x1c]
mov eax, dword [esp + 0x1c]
add dword [esp + 0x40], 4
add dword [esp + 0x2c], 0x18
cmp eax, dword [esp + 0x30]
jb 0x45e29e90
mov eax, dword [ebp + 0x10]
mov ecx, dword [esp + 0x54]
push dword [esp + 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 0x14]
mov dword [eax], ebx
call fcn.45dd96ef
xor esi, esi
test byte [esp + 0x14], 4
pop ecx
mov dword [esp + 0x14], esi
je 0x45e2a3db
test byte [esp + 0x10], 8
je 0x45e2a3d1
mov esi, 0x40eda
jmp 0x45e29c28
mov byte [esp + 0x78], 0
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x68], 0
or dword [esp + 0x78], 0xffffffff
push dword [esp + 0x14]
call fcn.45dd96ef
mov esi, 0x80004005
jmp 0x45e29c48
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x50]
mov dword [esp + 0x54], eax
xor ebx, ebx
cmp dword [esi + 4], ebx
jbe 0x45e2a37e
xor edi, edi
mov eax, dword [esi]
lea eax, [edi + eax + 0x24]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc ebx
add edi, 0x34
cmp ebx, dword [esi + 4]
jb 0x45e2a368
push dword [esi]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
add esi, 0x18
dec dword [esp + 0x54]
jne 0x45e2a35f
push dword [esp + 0x50]
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [ebp + 0x10]
and dword [eax], 0
mov eax, dword [ebp + 0x14]
and dword [eax], 0
mov byte [esp + 0x78], 0
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x68], 0
or dword [esp + 0x78], 0xffffffff
push dword [esp + 0x14]
call fcn.45dd96ef
mov esi, 0x8007000e
jmp 0x45e29c48
mov esi, 0x80040e21
jmp 0x45e29c28
mov byte [esp + 0x78], 0
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x68], 0
or dword [esp + 0x78], 0xffffffff
push esi
call fcn.45dd96ef
mov dword [esp + 0x18], esi
xor eax, eax
jmp 0x45e2a42d
mov byte [esp + 0x78], 0
push dword [esp + 0x64]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov byte [esp + 0x68], 0
or dword [esp + 0x78], 0xffffffff
push dword [esp + 0x14]
call fcn.45dd96ef
mov dword [esp + 0x18], edi
mov eax, 0x8007000e
pop ecx
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18