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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x101681f1
mov eax, dword fs:[0]
push eax
sub esp, 0x118
push ebx
push esi
push edi
mov eax, dword [0x10438fc0]
xor eax, esp
push eax
lea eax, [esp + 0x128]
mov dword fs:[0], eax
mov edi, ecx
mov dword [esp + 0x14], edi
xor ebx, ebx
mov dword [esp + 0x5c], ebx
mov eax, dword [edi + 0x2c]
mov ecx, dword [eax]
lea esi, [edi + 0x2c]
lea edx, [esp + 0x40]
push edx
push eax
mov eax, dword [ecx + 0xc]
mov dword [esp + 0x68], esi
call eax
cmp dword [esp + 0x40], 1
jle 0x1006c756
mov eax, dword [esi]
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
mov edx, dword [ebp + 8]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov ecx, dword [esp + 0x38]
cmp ecx, 0xffffffff
jne 0x1006c469
mov eax, 0x80040653
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [esp + 0x130], ebx
mov eax, dword [esi]
mov dword [esp + 0x18], ebx
mov edx, dword [eax]
lea ebx, [esp + 0x18]
push ebx
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x64]
push edx
push eax
mov eax, dword [ecx + 0x14]
call eax
mov eax, dword [esp + 0x18]
mov ecx, dword [eax]
lea edx, [esp + 0x54]
push edx
push eax
mov eax, dword [ecx + 0x3c]
call eax
cmp word [esp + 0x54], 0
je 0x1006c4fd
cmp dword [esp + 0x64], 0xb
je 0x1006c4fd
push 0
push 0x8004065b
push 0x1044ebe0
call fcn.10025150
mov esi, eax
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006c4e3
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [edi]
mov edx, dword [eax + 8]
mov ebx, 1
push ebx
mov ecx, edi
call edx
test eax, eax
js 0x1006c73b
mov eax, dword [esp + 0x64]
mov byte [esp + 0x1e], 0
cmp eax, 7
jne 0x1006c52c
cmp dword [edi + 0xd4], ebx
je 0x1006c539
jmp 0x1006c53d
cmp eax, 8
jne 0x1006c53d
cmp dword [edi + 0xd8], ebx
jne 0x1006c53d
mov byte [esp + 0x1e], bl
mov eax, dword [edi]
mov edx, dword [eax + 0x78]
mov ecx, edi
call edx
test eax, eax
jle 0x1006cd7b
mov eax, dword [esp + 0x40]
dec eax
push eax
lea esi, [esp + 0x6c]
mov byte [esp + 0x23], 0
call fcn.10090c00
mov byte [esp + 0x130], 1
call fcn.10090e80
xor ebx, ebx
xor esi, esi
cmp dword [esp + 0x40], ebx
jle 0x1006c5a6
lea esp, [esp]
cmp esi, dword [esp + 0x38]
je 0x1006c59f
mov ecx, dword [edi + 0x130]
cmp byte [ecx + esi*2 + 1], 0
je 0x1006c59e
mov ecx, ebx
lea eax, [esp + 0x68]
call fcn.10090dd0
inc ebx
inc esi
cmp esi, dword [esp + 0x40]
jl 0x1006c580
push 0xc
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
mov esi, eax
xor ebx, ebx
add esp, 4
cmp esi, ebx
je 0x1006c5d1
lea edx, [esp + 0x68]
push edx
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 8], ebx
call fcn.1007dca0
mov dword [esp + 0x20], esi
jmp 0x1006c5d7
mov dword [esp + 0x20], ebx
mov esi, ebx
mov dword [esp + 0x80], esi
mov esi, dword [esi + 8]
cmp esi, dword [edi + 0x138]
jge 0x1006c5ee
mov byte [esp + 0x1f], 1
mov eax, dword [edi + 0xb4]
mov ecx, dword [eax]
lea eax, [esp + 0x48]
mov dword [esp + 0x34], ecx
call fcn.100a1ed0
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 3
call fcn.10017430
mov byte [esp + 0x130], 5
mov eax, dword [esp + 0x48]
cmp eax, ebx
je 0x1006c63d
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006c63d
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006c63d
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
lea edx, [esp + 0x28]
push edx
lea esi, [esp + 0x30]
call fcn.100177a0
mov eax, esi
push eax
mov bl, 6
mov eax, str._temp
mov byte [esp + 0x134], bl
call fcn.10016730
mov ecx, esi
lea esi, [esp + 0x28]
call fcn.10017860
push 0x70
call dword [sym.imp.MSVCR100.dll_void____cdecl_operator_new_unsigned_int_]
add esp, 4
mov dword [esp + 0x30], eax
mov byte [esp + 0x130], 7
test eax, eax
je 0x1006c699
mov edi, dword [esp + 0x28]
push eax
call fcn.100a16c0
mov edi, eax
mov dword [esp + 0x44], edi
jmp 0x1006c6a5
mov dword [esp + 0x44], 0
mov edi, dword [esp + 0x44]
mov byte [esp + 0x130], bl
mov ebx, edi
call fcn.100a3bb0
mov esi, dword [esp + 0x34]
mov eax, dword [esi + 0x1c]
push eax
push 1
push edi
call fcn.100a1840
test al, al
jne 0x1006c773
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006c6eb
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006c6eb
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006c6eb
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006c70b
lea edx, [eax - 0xc]
test edx, edx
je 0x1006c70b
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006c70b
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
mov edi, dword [sym.imp.MSVCR100.dll_free]
call edi
add esp, 4
push esi
mov dword [esi], 0
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov eax, dword [esp + 0x6c]
add esp, 4
test eax, eax
je 0x1006c73b
push eax
call edi
add esp, 4
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006c756
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, 0x80004005
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [esi + 0x30]
mov edx, dword [esi + 0x34]
mov eax, ecx
or eax, edx
jne 0x1006c783
xor edi, edi
jmp 0x1006c796
push edx
push ecx
mov eax, esi
call fcn.100a2f70
mov eax, dword [esi + 0x60]
cdq
mov edi, eax
xor edi, edx
sub edi, edx
mov eax, dword [esp + 0x14]
mov esi, dword [eax + 0xe8]
cmp edi, dword [esi + 4]
jle 0x1006c81e
push 0
mov eax, edi
call fcn.1002fee0
test al, al
jne 0x1006c81e
lea eax, [esp + 0x2c]
call fcn.100164d0
lea eax, [esp + 0x28]
call fcn.100164d0
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push esi
mov dword [esi], 0
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea esi, [esp + 0x68]
call fcn.10090c80
lea esi, [esp + 0x18]
mov dword [esp + 0x130], 0xffffffff
call fcn.1000a090
mov eax, 0x8007000e
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xe8]
mov eax, dword [eax]
mov esi, dword [esp + 0x34]
push edi
push eax
mov ebx, esi
call fcn.100a2a60
test al, al
jne 0x1006c852
lea eax, [esp + 0x2c]
call fcn.100164d0
lea eax, [esp + 0x28]
call fcn.100164d0
jmp 0x1006c70b
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xe8]
mov eax, dword [eax]
push edi
push eax
mov eax, dword [esp + 0x4c]
push eax
call fcn.100a2ad0
test al, al
jne 0x1006c8c2
lea eax, [esp + 0x2c]
call fcn.100164d0
lea eax, [esp + 0x28]
call fcn.100164d0
mov esi, dword [esp + 0x20]
mov ecx, dword [esi]
push ecx
call dword [sym.imp.MSVCR100.dll_free]
add esp, 4
push esi
mov dword [esi], 0
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
add esp, 4
lea esi, [esp + 0x68]
call fcn.10090c80
lea esi, [esp + 0x18]
mov dword [esp + 0x130], 0xffffffff
call fcn.1000a090
jmp 0x1006c756
push 0
lea edx, [esp + 0x88]
push edx
call fcn.10012150
mov byte [esp + 0x130], 8
mov eax, dword [ebx]
mov edx, dword [eax + 0x94]
push 0
lea ecx, [esp + 0x88]
push ecx
mov ecx, ebx
call edx
lea eax, [esp + 0x84]
call fcn.1006f3b0
test eax, eax
jne 0x1006cb53
mov ecx, dword [esp + 0x11c]
mov edx, dword [ecx + 0x10]
mov ecx, dword [edx]
mov eax, dword [esp + 0x84]
mov edi, dword [ecx]
mov ebx, dword [esp + 0x34]
mov dword [esp + 0x30], eax
mov dword [esp + 0x4c], edi
call fcn.100a31d0
cmp byte [esp + 0x1f], 0
mov dword [esp + 0x48], eax
mov dword [esp + 0x24], eax
je 0x1006c93d
dec eax
mov dword [esp + 0x24], eax
mov esi, dword [esp + 0x14]
mov ecx, dword [esi + 0xe8]
mov eax, dword [esp + 0x24]
cmp eax, dword [ecx + 4]
jle 0x1006c965
push 0
mov esi, ecx
call fcn.1002fee0
test al, al
je 0x1006cb98
mov esi, dword [esp + 0x14]
mov eax, dword [esi + 0xe8]
mov ebx, dword [eax]
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx + 8]
push eax
push 0xff
push ebx
mov dword [esp + 0x5c], ebx
call sub.MSVCR100.dll_memset
xor edx, edx
add esp, 0xc
cmp dword [esp + 0x40], edx
jle 0x1006ca02
mov dword [esp + 0x58], edx
mov dword [esp + 0x3c], edx
cmp edx, dword [esp + 0x38]
je 0x1006c9f6
test edi, edi
jne 0x1006c9be
mov eax, dword [esi + 0x128]
mov ecx, dword [esp + 0x3c]
cmp dword [ecx + eax], 6
jne 0x1006c9ba
cmp byte [esi + 0x13c], 0
jne 0x1006c9dc
test edi, edi
je 0x1006c9f1
mov eax, dword [esi + 0x130]
movzx ecx, byte [eax + edx*2]
movzx ecx, byte [ecx + edi]
lea eax, [eax + edx*2]
movzx eax, byte [eax + 1]
and ecx, eax
setne al
test al, al
jne 0x1006c9f1
mov ecx, dword [esp + 0x20]
mov eax, dword [ecx]
add eax, dword [esp + 0x58]
movzx ecx, byte [eax]
mov al, byte [eax + 1]
not al
and byte [ecx + ebx], al
add dword [esp + 0x58], 2
add dword [esp + 0x3c], 0x30
inc edx
cmp edx, dword [esp + 0x40]
jl 0x1006c997
cmp byte [esp + 0x1f], 0
mov ecx, dword [esi + 0x138]
mov dword [esp + 0x3c], ecx
je 0x1006ca1a
lea edx, [ecx - 1]
mov dword [esp + 0x3c], edx
mov esi, dword [esp + 0x48]
mov ebx, dword [esp + 0x14]
sub esi, ecx
mov byte [esp + 0x1d], 1
test edi, edi
jne 0x1006ca4f
mov eax, dword [esp + 0x38]
mov edx, dword [ebx + 0x128]
lea eax, [eax + eax*2]
add eax, eax
cmp dword [edx + eax*8], 6
jne 0x1006ca4b
cmp byte [ebx + 0x13c], 0
jne 0x1006ca70
test edi, edi
je 0x1006cabe
mov edx, dword [esp + 0x38]
mov eax, dword [ebx + 0x130]
lea eax, [eax + edx*2]
movzx edx, byte [eax]
movzx eax, byte [eax + 1]
movzx edx, byte [edx + edi]
and edx, eax
setne al
test al, al
jne 0x1006cabe
cmp byte [esp + 0x1e], 0
jne 0x1006cabe
mov ebx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
lea eax, [ebx + ebx*2]
shl eax, 4
add eax, dword [edx + 0x128]
mov edi, dword [eax + 0xc]
mov edx, dword [eax + 4]
add edi, dword [eax + 8]
cmp edx, ecx
jne 0x1006ca9e
add ecx, edi
sub esi, edi
jmp 0x1006cab2
inc ebx
cmp ebx, dword [esp + 0x40]
jne 0x1006caa9
sub esi, edi
jmp 0x1006cab2
sub edx, ecx
mov byte [esp + 0x1d], 0
mov esi, edx
sub dword [esp + 0x24], edi
mov edi, dword [esp + 0x4c]
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x3c]
add eax, dword [esp + 0x50]
push esi
add ecx, edi
push ecx
push eax
call sub.MSVCR100.dll_memcpy
add esp, 0xc
cmp byte [esp + 0x1d], 0
jne 0x1006cb0a
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x48]
lea edx, [eax + eax*2]
mov eax, dword [ebx + 0x128]
add edx, edx
mov eax, dword [eax + edx*8 + 0x34]
mov edx, dword [esp + 0x3c]
sub ecx, eax
add edx, esi
add edx, dword [esp + 0x50]
push ecx
add eax, edi
push eax
push edx
call sub.MSVCR100.dll_memcpy
add esp, 0xc
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x50]
mov ebx, dword [esp + 0x44]
push edx
push eax
mov eax, dword [esp + 0x38]
call fcn.100a3590
test al, al
je 0x1006cbcb
mov ecx, dword [esp + 0x11c]
mov ebx, dword [esp + 0x14]
lea eax, [esp + 0x84]
mov dword [ecx + 8], 0
call fcn.1006f3b0
test eax, eax
je 0x1006c903
mov esi, dword [esp + 0x34]
mov ebx, esi
call fcn.100a3bb0
test al, al
je 0x1006cc2c
lea eax, [esp + 0x30]
mov ecx, esi
call fcn.100a1ed0
mov ecx, dword [esp + 0x44]
mov byte [esp + 0x130], 9
mov eax, dword [eax]
push eax
mov dword [esp + 0x60], 1
call fcn.100a3cd0
test al, al
je 0x1006cc2c
xor bl, bl
jmp 0x1006cc2e
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x134], 6
call fcn.10011f10
lea eax, [esp + 0x2c]
call fcn.100164d0
lea eax, [esp + 0x28]
call fcn.100164d0
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
push eax
jmp 0x1006c7cb
lea ecx, [esp + 0x84]
push ecx
mov byte [esp + 0x134], 6
call fcn.10011f10
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006cc00
lea edx, [eax - 0xc]
test edx, edx
je 0x1006cc00
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cc00
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006cc20
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006cc20
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cc20
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov esi, dword [esp + 0x20]
mov edx, dword [esi]
push edx
jmp 0x1006c712
mov bl, 1
mov dword [esp + 0x130], 8
test byte [esp + 0x5c], 1
je 0x1006cc64
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1006cc64
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006cc64
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cc6a
push eax
call edi
add esp, 4
jmp 0x1006cc6a
mov edi, dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
test bl, bl
je 0x1006ccc9
lea edx, [esp + 0x84]
push edx
mov byte [esp + 0x134], 6
call fcn.10011f10
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006cc9f
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006cc9f
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cc9f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006c70b
lea edx, [eax - 0xc]
test edx, edx
je 0x1006c70b
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006c70b
push eax
call edi
jmp 0x1006c708
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0xb4]
mov esi, dword [ecx]
test esi, esi
je 0x1006ccde
call fcn.10068e20
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xb4]
mov ecx, dword [esp + 0x44]
lea edx, [esp + 0x84]
push edx
mov dword [eax], ecx
mov byte [esp + 0x134], 6
call fcn.10011f10
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x1006cd1f
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006cd1f
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cd1f
push eax
call edi
add esp, 4
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006cd3b
lea edx, [eax - 0xc]
test edx, edx
je 0x1006cd3b
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cd3b
push eax
call edi
add esp, 4
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov edi, dword [sym.imp.MSVCR100.dll_free]
push eax
call edi
add esp, 4
push esi
mov dword [esi], 0
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete_void__]
mov byte [esp + 0x134], 0
mov eax, dword [esp + 0x6c]
add esp, 4
test eax, eax
je 0x1006cd73
push eax
call edi
add esp, 4
mov esi, dword [esp + 0x60]
mov edi, dword [esp + 0x14]
mov edx, dword [edi]
mov eax, dword [edx + 0xec]
mov ecx, edi
call eax
mov ebx, eax
test ebx, ebx
jns 0x1006cdc2
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006cda8
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, ebx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, esi
lea ecx, [esp + 0x30]
call fcn.1005cf40
mov byte [esp + 0x130], 0xa
mov eax, dword [eax]
mov edx, dword [esp + 0x18]
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x28]
call eax
mov ebx, eax
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1006cdfe
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
test ebx, ebx
jns 0x1006ce30
lea esi, [esp + 0x18]
mov dword [esp + 0x130], 0xffffffff
call fcn.1000a090
mov eax, ebx
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov eax, dword [esp + 0x38]
cmp eax, dword [edi + 0xa8]
jne 0x1006ce48
mov dword [edi + 0xa8], 0xffffffff
jmp 0x1006cead
cmp eax, dword [edi + 0x9c]
jne 0x1006cead
cmp dword [edi + 0xa4], 1
jne 0x1006cea3
mov edi, dword [edi + 0x10]
mov eax, dword [edi - 4]
push eax
push edi
call dword [sym.imp.OLEAUT32.dll_SysReAllocStringLen]
test eax, eax
je 0x1006ce72
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
lea esi, [esp + 0x18]
mov dword [esp + 0x130], 0xffffffff
call fcn.1000a090
mov eax, 0x80004001
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov dword [edi + 0x9c], 0xffffffff
cmp byte [esp + 0x1e], 0
je 0x1006d05d
mov dword [esp + 0x34], 0
mov byte [esp + 0x130], 0xb
mov eax, dword [esp + 0x18]
mov ebx, dword [eax]
lea esi, [esp + 0x34]
mov dword [esp + 0x30], eax
call fcn.1000aa40
mov ecx, dword [ebx + 0xc]
push eax
mov eax, dword [esp + 0x34]
push eax
call ecx
push 0
push 0
push 0
lea esi, [esp + 0x30]
mov dword [esp + 0x30], 0
call fcn.100163a0
mov byte [esp + 0x130], 0xc
mov ecx, dword [esp + 0x34]
push edi
mov ebx, esi
call fcn.10073580
mov esi, dword [esp + 0x14]
mov ebx, dword [esi + 0xb8]
mov edi, 1
mov dword [esp + 0x4c], ebx
cmp ebx, edi
jle 0x1006d002
lea esp, [esp]
mov edx, dword [esi + 0xb4]
lea ecx, [edx + edi*4]
mov ecx, dword [ecx]
lea eax, [esp + 0x30]
call fcn.100a1ed0
mov eax, dword [eax]
test eax, eax
je 0x1006cf5f
mov ecx, dword [esp + 0x24]
test ecx, ecx
je 0x1006cf5f
push ecx
push eax
call dword [sym.imp.MSVCR100.dll__wcsicmp]
add esp, 8
jmp 0x1006cf64
mov eax, SysReAllocString
test eax, eax
mov eax, dword [esp + 0x30]
setne byte [esp + 0x1d]
test eax, eax
je 0x1006cf8b
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006cf8b
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006cf8b
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
cmp byte [esp + 0x1d], 0
je 0x1006cf99
inc edi
cmp edi, ebx
jl 0x1006cf30
jmp 0x1006d002
mov edx, dword [esp + 0x14]
mov eax, dword [edx + 0xb4]
mov ebx, dword [eax + edi*4]
lea esi, [edi*4]
call fcn.100a3bb0
test al, al
jne 0x1006cfd7
lea eax, [esp + 0x24]
call fcn.100164d0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006c8a9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x1006c8a9
mov ebx, dword [esp + 0x14]
mov eax, dword [ebx + 0xb4]
mov esi, dword [esi + eax]
test esi, esi
je 0x1006cfed
call fcn.10068e20
lea esi, [ebx + 0xb0]
mov edx, edi
call fcn.100765d0
mov ebx, dword [esp + 0x4c]
mov esi, dword [esp + 0x14]
add esi, 0xdc
lea edi, [ebx - 1]
call fcn.100683d0
mov esi, dword [esp + 0x14]
add esi, 0xe8
lea edi, [ebx - 1]
call fcn.100683d0
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1006d042
lea ecx, [eax - 0xc]
test ecx, ecx
je 0x1006d042
add eax, 0xfffffff4
dec dword [eax]
jne 0x1006d042
push eax
call dword [sym.imp.MSVCR100.dll_void___cdecl_operator_delete___void__]
add esp, 4
mov byte [esp + 0x130], 0
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006d059
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, dword [esp + 0x14]
mov eax, 3
cmp dword [edi + 0xc8], eax
jge 0x1006d070
mov dword [edi + 0xc8], eax
push 0
mov ebx, edi
call fcn.10071a80
mov esi, eax
test esi, esi
jns 0x1006d0b4
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006d09a
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, esi
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
mov esi, dword [esp + 0x14]
mov eax, esi
call fcn.100731f0
mov ecx, dword [ebp + 8]
mov esi, dword [esi + 0x154]
push ecx
call fcn.10086f00
mov dword [esp + 0x130], 0xffffffff
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006d0e9
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
xor eax, eax
mov ecx, dword [esp + 0x128]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4