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

Disassembly:
sub esp, 0x194
push ebx
push ebp
push esi
push edi
lea eax, [esp + 0x94]
mov dword [esp + 0x90], 0
push eax
lea eax, [esp + 0x94]
mov dword [esp + 0x98], 0
push eax
lea eax, [esp + 0x44]
mov edi, ecx
push eax
push str._u:_u:_u
push dword [esp + 0x1c4]
call dword [sym.imp.msvcrt.dll_sscanf]
add esp, 0x14
cmp eax, 1
jge 0x100316b5
mov ecx, edi
call fcn.1002d770
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x18
mov ebx, dword [esp + 0x1b0]
mov al, bl
and al, 1
shr ebx, 4
mov byte [esp + 0x37], al
and bl, 1
lea eax, [esp + 0x38]
mov dword [esp + 0xb8], 0x1005bdb0
mov dword [esp + 0x120], eax
lea eax, [esp + 0xb8]
mov dword [esp + 0x12c], eax
lea eax, [esp + 0x50]
mov dword [esp + 0x138], eax
lea eax, [esp + 0x80]
mov dword [esp + 0x144], eax
lea eax, [esp + 0x70]
mov dword [esp + 0x150], eax
lea eax, [esp + 0xa8]
mov dword [esp + 0x15c], eax
lea eax, [esp + 0x40]
mov dword [esp + 0x168], eax
lea eax, [esp + 0xd8]
mov dword [esp + 0xbc], 0
mov dword [esp + 0xc0], 0
mov word [esp + 0xc4], 0
mov dword [esp + 0x50], 0x1005bdb0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov word [esp + 0x5c], 0
mov dword [esp + 0x80], 0x1005bdb0
mov dword [esp + 0x84], 0
mov dword [esp + 0x88], 0
mov word [esp + 0x8c], 0
mov dword [esp + 0x70], 0x1005bdb0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov word [esp + 0x7c], 0
mov dword [esp + 0xa8], 0x1005bdb0
mov dword [esp + 0xac], 0
mov dword [esp + 0xb0], 0
mov word [esp + 0xb4], 0
mov dword [esp + 0x40], 0x1005bdb0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov word [esp + 0x4c], 0
mov dword [esp + 0xd8], 0x1005bdb0
mov dword [esp + 0xdc], 0
mov dword [esp + 0xe0], 0
mov word [esp + 0xe4], 0
mov dword [esp + 0x98], 0x1005bdb0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov word [esp + 0xa4], 0
mov dword [esp + 0x60], 0x1005bdb0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov word [esp + 0x6c], 0
mov dword [esp + 0xc8], 0x1005bdb0
mov dword [esp + 0xcc], 0
mov dword [esp + 0xd0], 0
mov word [esp + 0xd4], 0
mov dword [esp + 0x38], 0
mov dword [esp + 0x118], 8
mov byte [esp + 0x11c], 0
mov dword [esp + 0x124], 0x79
mov byte [esp + 0x128], 1
mov dword [esp + 0x130], 6
mov byte [esp + 0x134], 1
mov dword [esp + 0x13c], 0x32
mov byte [esp + 0x140], 1
mov dword [esp + 0x148], 0x33
mov byte [esp + 0x14c], 1
mov dword [esp + 0x154], 0x36
mov byte [esp + 0x158], 1
mov dword [esp + 0x160], 7
mov byte [esp + 0x164], 1
mov dword [esp + 0x16c], 0x6e
mov byte [esp + 0x170], 1
mov dword [esp + 0x174], eax
mov dword [esp + 0x178], 0x6f
mov byte [esp + 0x17c], 1
push 0
push dword [esp + 0x1c0]
lea eax, [esp + 0xa0]
mov dword [esp + 0x18c], 0x64
push dword [esp + 0x1c0]
mov dword [esp + 0x18c], eax
lea ecx, [esp + 0x124]
lea eax, [esp + 0x6c]
mov byte [esp + 0x194], 1
mov dword [esp + 0x198], eax
sub esp, 8
lea eax, [esp + 0xdc]
mov dword [esp + 0x1a4], 0x66
mov dword [esp + 0x1ac], eax
mov eax, esp
mov byte [esp + 0x1a8], 1
mov dword [eax], ecx
mov ecx, edi
mov dword [eax + 4], 0xb
call fcn.1002fa50
mov ecx, dword [edi + 0xc]
lea eax, [esp + 0xe8]
xor esi, esi
mov byte [esp + 0x12], 0
push esi
push dword [esp + 0x3c]
push esi
push edi
push eax
call fcn.10015f30
mov eax, dword [esp + 0x3c]
test eax, eax
jne 0x10031a0e
lea ecx, [esp + 0x50]
call fcn.100358f0
movzx eax, al
mov dword [esp + 0x3c], eax
cmp dword [esp + 0x54], esi
je case.0x10032473.3
test eax, eax
je case.0x10032473.3
or dword [esp + 0x38], 0x100000
test bl, bl
je 0x10032024
mov eax, dword [esp + 0x90]
test eax, eax
je 0x10031a47
cmp eax, dword [edi + 0xc8]
jne case.0x10032473.3
mov ebx, dword [edi + 0xc4]
mov ecx, dword [edi + 0xc0]
cmp ebx, ecx
jae case.0x10032473.3
mov eax, dword [esp + 0x94]
cmp eax, ecx
ja case.0x10032473.3
lea ebp, [edi + 0xbc]
test eax, eax
je 0x10031a77
lea ebx, [eax - 1]
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x28], esi
call fcn.10035c40
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0x54], ecx
je 0x10031ad9
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [esp + 0x54], eax
setbe byte [esp + 0x12]
ja 0x10031abc
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x10031abe
xor eax, eax
push eax
lea ecx, [esp + 0x54]
call fcn.10004760
cmp byte [esp + 0x12], 0
mov ecx, eax
mov dword [esp + 0x14], eax
jne 0x10031aec
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x10031aec
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x28], 2
call fcn.10035c40
xor ecx, ecx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x14], ecx
cmp dword [esp + 0xcc], ecx
je 0x10031b55
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [esp + 0xcc], eax
setbe byte [esp + 0x12]
ja 0x10031b35
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x10031b37
xor eax, eax
push eax
lea ecx, [esp + 0xcc]
call fcn.10004760
cmp byte [esp + 0x12], 0
mov ecx, eax
mov dword [esp + 0x14], eax
jne 0x10031b68
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, ecx
je 0x10031b68
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov dword [eax], ecx
cmp dword [esp + 0xac], 0
lea eax, [esp + 0xa8]
jne 0x10031b7f
lea eax, [edi + 0xe4]
mov dword [esp + 0x1c], eax
mov ecx, ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov dword [esp + 0x28], 3
call fcn.10035c40
mov ecx, dword [esp + 0x1c]
xor edx, edx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
cmp dword [ecx + 4], edx
je 0x10031be9
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [esp + 0x1c]
mov ecx, eax
cmp dword [edx + 4], ecx
setbe byte [esp + 0x12]
ja 0x10031bce
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x10031bd0
xor eax, eax
push eax
mov ecx, edx
call fcn.10004760
cmp byte [esp + 0x12], 0
mov edx, eax
mov dword [esp + 0x18], edx
jne 0x10031bfc
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, edx
je 0x10031bfc
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x28], 6
call fcn.10035c40
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x64], ecx
je 0x10031c5c
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [esp + 0x64], eax
setbe byte [esp + 0x12]
ja 0x10031c3f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x10031c41
xor eax, eax
push eax
lea ecx, [esp + 0x64]
call fcn.10004760
cmp byte [esp + 0x12], 0
mov ecx, eax
mov dword [esp + 0x18], eax
jne 0x10031c6f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x10031c6f
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
cmp dword [esp + 0x44], 0
lea eax, [esp + 0x40]
jne 0x10031c80
lea eax, [edi + 0xf4]
mov dword [esp + 0x14], eax
mov ecx, ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov dword [esp + 0x28], 0xb
call fcn.10035c40
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp dword [ecx + 4], edx
je 0x10031cea
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [esp + 0x14]
mov ecx, eax
cmp dword [edx + 4], ecx
setbe byte [esp + 0x12]
ja 0x10031ccf
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x10031cd1
xor eax, eax
push eax
mov ecx, edx
call fcn.10004760
cmp byte [esp + 0x12], 0
mov edx, eax
mov dword [esp + 0x18], edx
jne 0x10031cfd
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, edx
je 0x10031cfd
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0xc
call fcn.10035c40
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0xec], ecx
je 0x10031d66
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [esp + 0xec], eax
setbe byte [esp + 0x12]
ja 0x10031d46
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x10031d48
xor eax, eax
push eax
lea ecx, [esp + 0xec]
call fcn.10004ff0
cmp byte [esp + 0x12], 0
mov ecx, eax
mov dword [esp + 0x18], eax
jne 0x10031d79
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x10031d79
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
cmp dword [esp + 0x9c], 0
lea eax, [esp + 0x98]
jne 0x10031d90
lea eax, [edi + 0x114]
mov dword [esp + 0x14], eax
mov ecx, ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov dword [esp + 0x28], 0xd
call fcn.10035c40
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp dword [ecx + 4], edx
je 0x10031dfa
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [esp + 0x14]
mov ecx, eax
cmp dword [edx + 4], ecx
setbe byte [esp + 0x12]
ja 0x10031ddf
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x10031de1
xor eax, eax
push eax
mov ecx, edx
call fcn.10004760
cmp byte [esp + 0x12], 0
mov edx, eax
mov dword [esp + 0x18], edx
jne 0x10031e0d
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, edx
je 0x10031e0d
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
cmp dword [esp + 0xbc], 0
lea eax, [esp + 0xb8]
jne 0x10031e24
lea eax, [edi + 0xd4]
mov dword [esp + 0x14], eax
mov ecx, ebp
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov dword [esp + 0x28], 0x19
call fcn.10035c40
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], edx
cmp dword [ecx + 4], edx
je 0x10031e8e
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edx, dword [esp + 0x14]
mov ecx, eax
cmp dword [edx + 4], ecx
setbe byte [esp + 0x12]
ja 0x10031e73
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
jmp 0x10031e75
xor eax, eax
push eax
mov ecx, edx
call fcn.10004760
cmp byte [esp + 0x12], 0
mov edx, eax
mov dword [esp + 0x18], edx
jne 0x10031ea1
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
cmp eax, edx
je 0x10031ea1
push eax
call esi
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
cmp dword [esp + 0x3c], 1
jne 0x10031f81
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x28], 1
call fcn.10035c40
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ecx
cmp dword [esp + 0x74], ecx
je 0x10031f0c
push dword [eax]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [esp + 0x74], eax
setbe byte [esp + 0x12]
ja 0x10031eef
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x10031ef1
xor eax, eax
push eax
lea ecx, [esp + 0x74]
call fcn.10004760
cmp byte [esp + 0x12], 0
mov ecx, eax
mov dword [esp + 0x18], eax
jne 0x10031f1f
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x10031f1f
push eax
call esi
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov dword [eax], ecx
lea eax, [esp + 0x20]
mov dword [esp + 0x20], ebx
push eax
mov ecx, ebp
mov dword [esp + 0x28], 0x18
call fcn.10035c40
xor ebp, ebp
mov ebx, eax
cmp dword [esp + 0x84], ebp
je 0x10031f76
push dword [ebx]
call dword [sym.imp.OLEAUT32.dll_VariantInit]
cmp dword [esp + 0x84], eax
setbe byte [esp + 0x12]
ja 0x10031f5e
mov eax, dword [ebx]
jmp 0x10031f60
xor eax, eax
push eax
lea ecx, [esp + 0x84]
call fcn.10004760
cmp byte [esp + 0x12], 0
mov ebp, eax
jne 0x10031f81
mov eax, dword [ebx]
cmp eax, ebp
je 0x10031f81
push eax
call esi
mov dword [ebx], ebp
cmp byte [esp + 0x37], 0
je 0x10032000
lea eax, [esp + 0x20]
mov byte [esp + 0x20], 0
push eax
lea eax, [esp + 0xfc]
mov dword [esp + 0x2c], 0
push eax
lea eax, [esp + 0x110]
mov dword [esp + 0x34], 0
push eax
push 1
push 2
push dword [esp + 0x1bc]
mov ecx, edi
mov byte [esp + 0x110], 0
mov dword [esp + 0x118], 0
mov dword [esp + 0x11c], 0
mov byte [esp + 0x120], 0
mov dword [esp + 0x128], 0xffffffff
mov dword [esp + 0x12c], 0xffffffff
call fcn.10034510
inc dword [edi + 0xc4]
mov eax, dword [edi + 0xc4]
cmp eax, dword [edi + 0xc0]
jne 0x100326a1
mov ecx, edi
call fcn.10035030
jmp 0x100326a1
push 0x50
call dword [sym.imp.msvcrt.dll_malloc]
add esp, 4
test eax, eax
je 0x10032603
push 0
mov ecx, eax
call fcn.100153e0
mov esi, eax
test esi, esi
je case.0x10032473.3
cmp dword [esi + 0x24], 0
je case.0x10032473.3
mov ebp, dword [sym.imp.OLEAUT32.dll_SysStringLen]
xor eax, eax
mov ebx, dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [esp + 0x18], eax
cmp dword [esp + 0x54], eax
je 0x10032098
push dword [esi + 4]
call ebx
cmp dword [esp + 0x54], eax
setbe byte [esp + 0x13]
ja 0x10032081
mov eax, dword [esi + 4]
jmp 0x10032083
xor eax, eax
push eax
lea ecx, [esp + 0x54]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
jne 0x100320a9
mov ecx, dword [esi + 4]
cmp ecx, eax
je 0x100320a9
push ecx
call ebp
mov eax, dword [esp + 0x18]
mov dword [esi + 4], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x64], eax
je 0x100320e1
push dword [esi + 0x20]
call ebx
cmp dword [esp + 0x64], eax
setbe byte [esp + 0x13]
ja 0x100320ca
mov eax, dword [esi + 0x20]
jmp 0x100320cc
xor eax, eax
push eax
lea ecx, [esp + 0x64]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
jne 0x100320f2
mov ecx, dword [esi + 0x20]
cmp ecx, eax
je 0x100320f2
push ecx
call ebp
mov eax, dword [esp + 0x18]
mov dword [esi + 0x20], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 2
jg 0x10032133
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x14]
mov ecx, 2
sub ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0xdc], ecx
je 0x10032190
push dword [eax]
call ebx
cmp dword [esp + 0xdc], eax
setbe byte [esp + 0x13]
ja 0x10032170
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x10032172
xor eax, eax
push eax
lea ecx, [esp + 0xdc]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov ecx, eax
mov dword [esp + 0x1c], eax
jne 0x100321a3
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x100321a3
push eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 7
jg 0x100321e4
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x14]
mov ecx, 7
sub ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x44], ecx
je 0x10032238
push dword [eax]
call ebx
cmp dword [esp + 0x44], eax
setbe byte [esp + 0x13]
ja 0x1003221b
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x1003221d
xor eax, eax
push eax
lea ecx, [esp + 0x44]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov ecx, eax
mov dword [esp + 0x1c], eax
jne 0x1003224b
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x1003224b
push eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 8
jg 0x1003228c
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x14]
mov ecx, 8
sub ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0xec], ecx
je 0x100322e9
push dword [eax]
call ebx
cmp dword [esp + 0xec], eax
setbe byte [esp + 0x13]
ja 0x100322c9
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x100322cb
xor eax, eax
push eax
lea ecx, [esp + 0xec]
call fcn.10004ff0
cmp byte [esp + 0x13], 0
mov ecx, eax
mov dword [esp + 0x1c], eax
jne 0x100322fc
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x100322fc
push eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 9
jg 0x1003233d
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x14]
mov ecx, 9
sub ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0x9c], ecx
je 0x1003239a
push dword [eax]
call ebx
cmp dword [esp + 0x9c], eax
setbe byte [esp + 0x13]
ja 0x1003237a
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x1003237c
xor eax, eax
push eax
lea ecx, [esp + 0x9c]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov ecx, eax
mov dword [esp + 0x1c], eax
jne 0x100323ad
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x100323ad
push eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov eax, dword [esp + 0x18]
mov dword [esp + 0x14], eax
cmp eax, 0x14
jg 0x100323ee
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esp + 0x14]
mov ecx, 0x14
sub ecx, eax
mov eax, dword [esi + 0x24]
mov eax, dword [eax + 0xc]
lea eax, [eax + ecx*4]
xor ecx, ecx
mov dword [esp + 0x14], eax
mov dword [esp + 0x1c], ecx
cmp dword [esp + 0xbc], ecx
je 0x1003244b
push dword [eax]
call ebx
cmp dword [esp + 0xbc], eax
setbe byte [esp + 0x13]
ja 0x1003242b
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
jmp 0x1003242d
xor eax, eax
push eax
lea ecx, [esp + 0xbc]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov ecx, eax
mov dword [esp + 0x1c], eax
jne 0x1003245e
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
cmp eax, ecx
je 0x1003245e
push eax
call ebp
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x38]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x3c]
dec eax
cmp eax, 6
ja case.0x10032473.3
jmp dword [eax*4 + 0x10032788]
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x84], eax
je 0x100324bb
push dword [esi + 8]
call ebx
cmp dword [esp + 0x84], eax
setbe byte [esp + 0x13]
ja 0x100324a1
mov eax, dword [esi + 8]
jmp 0x100324a3
xor eax, eax
push eax
lea ecx, [esp + 0x84]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov dword [esp + 0x18], eax
jne 0x100324cc
mov ecx, dword [esi + 8]
cmp ecx, eax
je 0x100324cc
push ecx
call ebp
mov eax, dword [esp + 0x18]
mov dword [esi + 8], eax
xor eax, eax
mov dword [esp + 0x18], eax
cmp dword [esp + 0x74], eax
je 0x100324ff
push dword [esi + 0xc]
call ebx
cmp dword [esp + 0x74], eax
setbe bl
ja 0x100324eb
mov eax, dword [esi + 0xc]
jmp 0x100324ed
xor eax, eax
push eax
lea ecx, [esp + 0x74]
call fcn.10004760
mov dword [esp + 0x18], eax
test bl, bl
jne 0x10032510
mov ecx, dword [esi + 0xc]
cmp ecx, eax
je 0x10032510
push ecx
call ebp
mov eax, dword [esp + 0x18]
mov dword [esi + 0xc], eax
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
mov ebx, dword [esp + 0x18]
test ebx, ebx
jg 0x10032548
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
push eax
push 1
push dword [esi + 0x24]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [esi + 0x24]
lea ecx, [ebx*4]
mov ebx, dword [eax + 0xc]
xor eax, eax
sub ebx, ecx
mov dword [esp + 0x14], eax
cmp dword [esp + 0xac], eax
je 0x1003259b
push dword [ebx]
mov eax, dword [sym.imp.OLEAUT32.dll_VariantInit]
call eax
cmp dword [esp + 0xac], eax
setbe byte [esp + 0x13]
ja 0x10032581
mov eax, dword [ebx]
jmp 0x10032583
xor eax, eax
push eax
lea ecx, [esp + 0xac]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov dword [esp + 0x14], eax
jne case.0x10032473.4
mov ecx, dword [ebx]
cmp ecx, eax
je case.0x10032473.4
push ecx
call ebp
mov eax, dword [esp + 0x14]
mov dword [ebx], eax
jmp case.0x10032473.4
xor ebx, ebx
cmp dword [esp + 0x44], ebx
je 0x100325e3
push dword [esi + 8]
mov eax, dword [sym.imp.OLEAUT32.dll_VariantInit]
call eax
cmp dword [esp + 0x44], eax
setbe byte [esp + 0x13]
ja 0x100325ce
mov eax, dword [esi + 8]
jmp 0x100325d0
xor eax, eax
push eax
lea ecx, [esp + 0x44]
call fcn.10004760
cmp byte [esp + 0x13], 0
mov ebx, eax
jne case.0x10032473.4
mov eax, dword [esi + 8]
cmp eax, ebx
je case.0x10032473.4
push eax
call ebp
mov dword [esi + 8], ebx
push esi
call fcn.100156b0
mov cl, al
cmp cl, 0xff
je 0x100326a1
jmp 0x10032609
xor esi, esi
mov cl, byte [esp + 0x12]
cmp byte [esp + 0x37], 0
je 0x10032695
movsx eax, cl
cdq
mov dword [esp + 0x28], eax
lea eax, [esp + 0x108]
push eax
lea eax, [esp + 0xfc]
mov byte [esp + 0x10c], 0
push eax
lea eax, [esp + 0x28]
mov dword [esp + 0x118], 0
push eax
xor eax, eax
mov dword [esp + 0x120], 0
test cl, cl
mov byte [esp + 0x104], 0
push 1
sete al
mov dword [esp + 0x110], 0
mov ecx, edi
mov dword [esp + 0x114], 0
mov byte [esp + 0x30], 0
mov dword [esp + 0x3c], edx
lea eax, [eax*2 + 2]
push eax
push dword [esp + 0x1bc]
call fcn.10034510
test esi, esi
je 0x100326a1
push ecx
mov ecx, esi
call fcn.10015640
mov eax, dword [esp + 0xe8]
mov esi, dword [sym.imp.msvcrt.dll_free]
cmp eax, 0x1005bdb0
je 0x100326be
add eax, 0xfffffffc
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xc8]
cmp eax, 0x1005bdb0
je 0x100326d2
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x60]
cmp eax, 0x1005bdb0
je 0x100326e3
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x98]
cmp eax, 0x1005bdb0
je 0x100326f7
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xd8]
cmp eax, 0x1005bdb0
je 0x1003270b
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x40]
cmp eax, 0x1005bdb0
je 0x1003271c
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xa8]
cmp eax, 0x1005bdb0
je 0x10032730
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x70]
cmp eax, 0x1005bdb0
je 0x10032741
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x80]
cmp eax, 0x1005bdb0
je 0x10032755
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x50]
cmp eax, 0x1005bdb0
je 0x10032766
push eax
call esi
add esp, 4
mov eax, dword [esp + 0xb8]
cmp eax, 0x1005bdb0
je 0x1003277a
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x194
ret 0x18