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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1016a31e
mov eax, dword fs:[0]
push eax
sub esp, 0x70
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x80]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [esp + 0x14], ebx
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 0xc]
mov esi, dword [eax + 0x20]
inc dword [esi - 0xc]
lea eax, [esi - 0xc]
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], eax
mov dword [esp + 0x88], 0
mov eax, dword [esi - 4]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], edi
add eax, 0x1e0
mov byte [esp + 0x88], 1
mov dword [esp + 0x5c], eax
push 0
lea eax, [esp + 0x64]
call fcn.100164f0
mov dword [esp + 0x64], 4
mov dword [esp + 0x68], 0
test edi, edi
je 0x10044e02
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 4]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [esp + 0x3c], edi
mov byte [esp + 0x88], 3
mov eax, dword [esp + 0x64]
test eax, eax
jne 0x10044e2d
mov dword [esp + 0x24], eax
jmp 0x10044e3b
mov ecx, dword [esp + 0x5c]
push eax
call fcn.100245e0
mov dword [esp + 0x24], eax
cmp dword [esp + 0x24], 0
mov byte [esp + 0x88], 2
setge byte [esp + 0x10]
test edi, edi
je 0x10044e58
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [esp + 0x10], 0
je 0x10044e67
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x68], ecx
cmp dword [esp + 0x24], 0
jge 0x10044eb1
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x8c], 0
call fcn.10024970
add esi, 0xfffffff4
je 0x10044e97
mov eax, dword [esp + 0x18]
dec dword [eax]
jne 0x10044e97
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0x34]
push eax
push 1
lea ecx, [esp + 0x28]
push ecx
mov ecx, dword [ebx + 8]
call fcn.10032100
test eax, eax
jns 0x10044f22
mov esi, dword [esp + 0x20]
push esi
push eax
push 0x1044ebe0
call fcn.10025150
lea edx, [esp + 0x5c]
push edx
mov edi, eax
mov byte [esp + 0x8c], 0
call fcn.10024970
test esi, esi
je 0x10044f0a
lea eax, [esi - 0xc]
test eax, eax
je 0x10044f0a
dec dword [esi - 0xc]
lea eax, [esi - 0xc]
jne 0x10044f0a
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x20]
mov ecx, dword [ebx + 8]
inc dword [eax - 0xc]
mov dword [esp + 0x4c], eax
add eax, 0xfffffff4
mov dword [esp + 0x48], ecx
mov dword [esp + 0x18], eax
mov byte [esp + 0x88], 5
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 0x2c]
test eax, eax
jne 0x10044f56
xor ebx, ebx
mov dword [esp + 0x24], ebx
jmp 0x10044f66
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
mov dword [esp + 0x28], eax
call edx
mov ebx, dword [esp + 0x24]
push 0
lea esi, [esp + 0x54]
call fcn.10034a00
mov byte [esp + 0x88], 6
mov eax, dword [ebx]
mov edx, dword [eax + 0xc]
lea ecx, [esp + 0x28]
push ecx
push ebx
call edx
mov ecx, dword [esp + 0x28]
xor eax, eax
test ecx, ecx
jle 0x10044fa4
mov ecx, dword [esp + 0x54]
mov dword [ecx + eax*4], 0xffffffff
mov ecx, dword [esp + 0x28]
inc eax
cmp eax, ecx
jl 0x10044f90
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xc]
mov eax, dword [eax + 0x10]
mov dword [esp + 0x10], eax
test eax, eax
je 0x100451b0
mov ecx, eax
mov eax, dword [ecx + 0x28]
xor edi, edi
mov dword [esp + 0x3c], eax
test eax, eax
jle 0x100451c4
lea ecx, [ecx]
mov edx, dword [esp + 0x10]
mov eax, dword [edx + 0x24]
mov esi, dword [eax + edi*4]
mov eax, dword [esi + 0x20]
mov ecx, dword [eax - 4]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esp + 0x2c], eax
lea edx, [esp + 0x30]
push edx
mov byte [esp + 0x8c], 7
mov ecx, dword [ebx]
push eax
mov eax, dword [ecx + 0x14]
push ebx
call eax
mov eax, dword [esp + 0x30]
test eax, eax
js 0x100450bc
mov ecx, dword [esp + 0x54]
mov dword [ecx + eax*4], edi
mov byte [esp + 0x88], 9
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x1c]
push eax
mov dword [esp + 0x20], 0
mov edx, dword [ebx]
mov edx, dword [edx + 0x10]
push ecx
push ebx
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x38]
cmp eax, 6
ja case.default.0x10045051
jmp dword [eax*4 + 0x1004592c]
mov dword [esi + 0xc], 1
jmp 0x1004507a
mov dword [esi + 0xc], 3
jmp 0x1004507a
mov dword [esi + 0xc], 2
jmp 0x1004507a
mov dword [esi + 0xc], 0
mov byte [esp + 0x88], 7
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1004509a
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x2c], 0
je 0x100450ac
mov eax, dword [esp + 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
inc edi
cmp edi, dword [esp + 0x3c]
jl 0x10044fd0
jmp 0x100451c4
push 0
push 0x80040653
push 0x1044ebe0
call fcn.10025150
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x100450e0
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor edi, edi
cmp dword [esp + 0x50], edi
jle 0x10045108
xor esi, esi
lea ebx, [ebx]
mov ecx, dword [esp + 0x58]
lea edx, [esi + ecx]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
inc edi
add esi, 0x18
cmp edi, dword [esp + 0x50]
jl 0x100450f0
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov byte [esp + 0x8c], 4
mov edx, dword [ebx]
mov eax, dword [edx + 8]
add esp, 4
push ebx
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 8
mov edx, dword [esp + 0x48]
push ecx
push edx
call fcn.10032460
mov edi, dword [esp + 0x20]
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
test edi, edi
je 0x1004516d
lea eax, [edi - 0xc]
test eax, eax
je 0x1004516d
mov esi, dword [esp + 0x18]
dec dword [esi]
jne 0x10045171
push esi
call ebx
add esp, 4
jmp 0x10045171
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x5c]
push ecx
mov byte [esp + 0x8c], 0
call fcn.10024970
test edi, edi
je 0x10045196
add edi, 0xfffffff4
je 0x10045196
dec dword [esi]
jne 0x10045196
push esi
call ebx
add esp, 4
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
xor eax, eax
test ecx, ecx
jle 0x100451c4
mov edx, dword [esp + 0x54]
mov dword [edx + eax*4], eax
inc eax
cmp eax, dword [esp + 0x28]
jl 0x100451b6
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xc]
mov eax, dword [eax + 8]
test eax, eax
je 0x100451d6
mov byte [eax + 0x14], 1
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx - 4]
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
push eax
push ecx
call esi
mov edi, eax
mov eax, dword [ebx + 8]
mov dword [esp + 0x3c], edi
add eax, 0x1e0
mov byte [esp + 0x88], 0xa
mov dword [esp + 0x6c], eax
xor ebx, ebx
push ebx
lea eax, [esp + 0x74]
call fcn.100164f0
mov dword [esp + 0x74], 2
mov dword [esp + 0x78], ebx
cmp edi, ebx
je 0x10045224
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 4]
push ecx
push eax
call esi
mov edi, eax
mov dword [esp + 0x3c], edi
mov byte [esp + 0x88], 0xc
mov eax, dword [esp + 0x74]
cmp eax, ebx
jne 0x1004524b
mov dword [esp + 0x1c], ebx
jmp 0x1004525b
mov ecx, dword [esp + 0x6c]
push eax
call fcn.100245e0
mov dword [esp + 0x1c], eax
mov ebx, eax
test ebx, ebx
setns byte [esp + 0x10]
mov byte [esp + 0x88], 0xb
test edi, edi
je 0x10045275
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [esp + 0x10], 0
je 0x10045284
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x78], ecx
mov eax, ebx
mov dword [esp + 0x2c], eax
test ebx, ebx
jns 0x10045363
lea edx, [esp + 0x6c]
push edx
mov byte [esp + 0x8c], 6
call fcn.10024970
xor edi, edi
cmp dword [esp + 0x50], edi
jle 0x100452c8
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor ebx, ebx
mov eax, dword [esp + 0x58]
lea ecx, [ebx + eax]
push ecx
call esi
inc edi
add ebx, 0x18
cmp edi, dword [esp + 0x50]
jl 0x100452b4
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_free]
mov byte [esp + 0x8c], 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 0xd
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.10032460
mov edi, dword [esp + 0x20]
add edi, 0xfffffff4
mov esi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov ebx, dword [esp + 0x18]
je 0x10045329
dec dword [ebx]
jne 0x10045329
push ebx
call esi
add esp, 4
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x8c], 0
call fcn.10024970
test edi, edi
je 0x10045349
dec dword [ebx]
jne 0x10045349
push ebx
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 0xc]
cmp dword [ecx + 0x14], 0
je 0x100455eb
mov edx, dword [ecx + 0x14]
xor esi, esi
mov dword [esp + 0x3c], edx
mov dword [esp + 0x2c], esi
cmp dword [esp + 0x28], esi
jle 0x100455c5
xor ebx, ebx
lea ecx, [ecx]
mov byte [esp + 0x88], 0xe
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x20], 0
mov ecx, dword [eax]
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
mov ecx, dword [esp + 0x54]
mov eax, dword [ecx + esi*4]
cmp eax, 0xffffffff
je 0x100454c7
mov edx, dword [esp + 0x3c]
mov ecx, dword [edx + 0x24]
mov edx, dword [esp + 0x58]
mov eax, dword [ecx + eax*4]
mov edi, dword [esp + 0x1c]
lea ecx, [ebx + edx]
mov edx, eax
call fcn.10049070
mov dword [esp + 0x2c], eax
test eax, eax
jns 0x1004559b
mov byte [esp + 0x88], 0xb
mov eax, dword [esp + 0x1c]
xor edi, edi
cmp eax, edi
je 0x10045408
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x1c], edi
lea eax, [esp + 0x6c]
push eax
mov byte [esp + 0x8c], 6
call fcn.10024970
cmp dword [esp + 0x50], edi
jle 0x1004543c
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor ebx, ebx
mov ecx, dword [esp + 0x58]
lea edx, [ebx + ecx]
push edx
call esi
inc edi
add ebx, 0x18
cmp edi, dword [esp + 0x50]
jl 0x10045428
mov eax, dword [esp + 0x58]
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov ecx, dword [esp + 0x54]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
mov byte [esp + 0x8c], 4
mov eax, dword [esp + 0x28]
mov edx, dword [eax]
add esp, 4
push eax
mov eax, dword [edx + 8]
call eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x88], 0xf
mov edx, dword [esp + 0x48]
push ecx
push edx
call fcn.10032460
mov edi, dword [esp + 0x20]
add edi, 0xfffffff4
mov ebx, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov esi, dword [esp + 0x18]
je 0x1004549d
dec dword [esi]
jne 0x1004549d
push esi
call ebx
add esp, 4
lea eax, [esp + 0x5c]
push eax
mov byte [esp + 0x8c], 0
call fcn.10024970
test edi, edi
je 0x1004590f
dec dword [esi]
jne 0x1004590f
push esi
call ebx
jmp 0x1004590c
mov ecx, dword [esp + 0x1c]
xor edi, edi
mov dword [esp + 0x30], edi
test ecx, ecx
je 0x100454ff
push ecx
mov eax, esp
mov dword [eax], ecx
mov eax, dword [esp + 0x20]
mov dword [esp + 0x44], esp
test eax, eax
je 0x100454ee
mov ecx, dword [eax]
mov edx, dword [ecx + 4]
push eax
call edx
lea esi, [esp + 0x34]
call fcn.100369a0
mov edi, dword [esp + 0x30]
mov esi, dword [esp + 0x2c]
mov byte [esp + 0x88], 0x10
mov eax, dword [edi]
mov edx, dword [eax + 0x1c]
lea ecx, [esp + 0x10]
push ecx
push edi
call edx
mov byte [esp + 0x88], 0xe
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
cmp word [esp + 0x10], 0
mov eax, dword [esp + 0x1c]
je 0x10045568
mov ecx, dword [esp + 0x58]
mov edx, dword [eax]
mov edx, dword [edx + 0x1c]
add ecx, ebx
push ecx
push eax
call edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
mov eax, dword [ecx + 0x34]
call eax
mov edx, dword [esp + 0x38]
mov ecx, dword [esp + 0x58]
push edx
lea eax, [ebx + ecx]
push 0
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
jmp 0x1004559b
mov ecx, dword [eax]
lea edx, [esp + 0x14]
push edx
push eax
mov eax, dword [ecx + 0x2c]
call eax
xor eax, eax
cmp word [esp + 0x14], ax
je 0x1004559b
mov edx, dword [esp + 0x58]
mov ecx, 1
mov word [ebx + edx], cx
mov ecx, dword [esp + 0x58]
mov dword [ebx + ecx + 8], eax
mov edx, dword [esp + 0x58]
mov dword [ebx + edx + 0xc], eax
mov byte [esp + 0x88], 0xb
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100455b3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
inc esi
add ebx, 0x18
mov dword [esp + 0x2c], esi
cmp esi, dword [esp + 0x28]
jl 0x10045390
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
mov edx, dword [edx + 0xa0]
push 1
push 1
lea eax, [esp + 0x4c]
push eax
mov eax, dword [esp + 0x64]
push eax
call edx
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov dword [esp + 0x2c], eax
test eax, eax
jns 0x1004579c
mov ecx, dword [esp + 0x20]
push ecx
push eax
push 0x1044ebe0
call fcn.10025150
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 4]
push ecx
push eax
call esi
mov edi, eax
mov dword [esp + 0x44], edi
mov byte [esp + 0x88], 0x12
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x1004562c
xor eax, eax
jmp 0x10045636
mov eax, dword [esp + 0x6c]
push edi
call fcn.100246b0
test eax, eax
setns bl
test edi, edi
je 0x10045646
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x10045652
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10045672
lea edx, [eax - 0xc]
test edx, edx
je 0x10045672
add eax, 0xfffffff4
dec dword [eax]
jne 0x10045672
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x50], ebx
jle 0x10045696
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
mov eax, dword [esp + 0x58]
lea ecx, [edi + eax]
push ecx
call esi
inc ebx
add edi, 0x18
cmp ebx, dword [esp + 0x50]
jl 0x10045682
mov edx, dword [esp + 0x58]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, dword [esp + 0x54]
push eax
call dword [sym.imp.MSVCR100.dll_free]
mov byte [esp + 0x8c], 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 0x13
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.10032460
mov esi, dword [esp + 0x20]
add esi, 0xfffffff4
je 0x100456f5
mov eax, dword [esp + 0x18]
dec dword [eax]
jne 0x100456f5
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 4]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [esp + 0x44], edi
mov byte [esp + 0x88], 0x15
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x1004571e
xor eax, eax
jmp 0x10045728
mov eax, dword [esp + 0x5c]
push edi
call fcn.100246b0
test eax, eax
setns bl
test edi, edi
je 0x10045738
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x10045744
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x10045764
lea edx, [eax - 0xc]
test edx, edx
je 0x10045764
add eax, 0xfffffff4
dec dword [eax]
jne 0x10045764
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
test esi, esi
je 0x10045196
mov eax, dword [esp + 0x18]
dec dword [eax]
jne 0x10045196
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
mov eax, dword [esp + 0x40]
add esp, 4
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0x70]
mov ecx, dword [eax - 4]
push ecx
push eax
call esi
mov edi, eax
mov dword [esp + 0x44], edi
mov byte [esp + 0x88], 0x17
mov ecx, dword [esp + 0x78]
test ecx, ecx
jne 0x100457c1
xor eax, eax
jmp 0x100457cb
mov eax, dword [esp + 0x6c]
push edi
call fcn.100246b0
test eax, eax
setns bl
test edi, edi
je 0x100457db
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x100457e7
mov dword [esp + 0x78], 0
mov eax, dword [esp + 0x70]
test eax, eax
je 0x10045807
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x10045807
add eax, 0xfffffff4
dec dword [eax]
jne 0x10045807
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
xor ebx, ebx
cmp dword [esp + 0x50], ebx
jle 0x1004582b
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
xor edi, edi
mov edx, dword [esp + 0x58]
lea eax, [edi + edx]
push eax
call esi
inc ebx
add edi, 0x18
cmp ebx, dword [esp + 0x50]
jl 0x10045817
mov ecx, dword [esp + 0x58]
push ecx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov edx, dword [esp + 0x54]
push edx
call dword [sym.imp.MSVCR100.dll_free]
mov byte [esp + 0x8c], 4
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
add esp, 4
push eax
call edx
lea eax, [esp + 0x4c]
mov byte [esp + 0x88], 0x18
mov ecx, dword [esp + 0x48]
push eax
push ecx
call fcn.10032460
mov esi, dword [esp + 0x20]
add esi, 0xfffffff4
je 0x1004588a
mov eax, dword [esp + 0x18]
dec dword [eax]
jne 0x1004588a
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x60]
mov ecx, dword [eax - 4]
push ecx
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
mov edi, eax
mov dword [esp + 0x44], edi
mov byte [esp + 0x88], 0x1a
mov ecx, dword [esp + 0x68]
test ecx, ecx
jne 0x100458b3
xor eax, eax
jmp 0x100458bd
mov eax, dword [esp + 0x5c]
push edi
call fcn.100246b0
test eax, eax
setns bl
test edi, edi
je 0x100458cd
push edi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
test bl, bl
je 0x100458d9
mov dword [esp + 0x68], 0
mov eax, dword [esp + 0x60]
test eax, eax
je 0x100458f9
lea edx, [eax - 0xc]
test edx, edx
je 0x100458f9
add eax, 0xfffffff4
dec dword [eax]
jne 0x100458f9
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
test esi, esi
je 0x1004590f
mov eax, dword [esp + 0x18]
dec dword [eax]
jne 0x1004590f
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret