Function at 0x100511d0
Capabilities:
Extract http body

Disassembly:
push 0xffffffffffffffff
push 0x101ad22d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x102cb7c8]
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebx, ecx
cmp eax, edi
mov dword [esp + 0x28], ebx
mov dword [esp + 0x44], edi
mov dword [esp + 0x20], edi
je 0x10051222
mov eax, dword [ebx + 0xc]
push eax
push str.SetHtmlChatLog__0x_08x_
push str.fetion
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
cmp dword [ebx + 0xc], edi
je 0x10051ef1
push str.WM_HTML_GETOBJECT
call dword [sym.imp.USER32.dll_RegisterWindowMessageW]
mov ecx, dword [ebx + 0xc]
push edi
push edi
push eax
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
lea edx, [esp + 0x44]
push edx
push edi
push str._D_3
push eax
call sub.OLEACC.dll_ObjectFromLresult
test eax, eax
jl 0x10051ef1
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x10051ef1
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x10051ef1
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x10051eff
lea edx, [esp + 0x18]
mov dword [esp + 0x18], edi
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x24]
mov esi, eax
mov eax, dword [0x102cb7c8]
cmp eax, edi
je 0x100512bf
mov eax, dword [esp + 0x18]
push eax
push str.SetHtmlChatLog_ChatLog_EleCount___d_
push str.fetion
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
cmp esi, edi
jl 0x10051ef1
lea eax, [ebx + 0x14d8]
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
call fcn.100ecb78
add esp, 4
mov esi, 0x16
test eax, eax
jne 0x10051484
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edi
cmp eax, edi
jle 0x100515c2
xor edi, edi
lea ebx, [esp + 0x2c]
mov word [esp + 0x6c], si
push ebx
mov word [esp + 0x72], di
mov ebp, dword [esp + 0x70]
sub esp, 0x10
mov ebx, esp
xor ecx, ecx
mov edx, ecx
sub esp, 0x10
mov dword [ebx], ebp
mov word [esp + 0x80], si
mov esi, dword [esp + 0x44]
mov word [esp + 0x82], di
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], edi
mov dword [esp + 0x58], edi
mov dword [ebx + 0xc], ecx
mov ebx, dword [esp + 0x64]
mov ecx, esp
mov edi, dword [esi]
push esi
mov dword [esp + 0x8c], eax
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
call dword [edi + 0x2c]
test eax, eax
jl 0x10051423
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x10051425
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x101cbd38
push eax
call dword [ecx]
test eax, eax
jl 0x10051425
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10051425
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x100513d2
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x100513d2
push str.bodyHistoryLine
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
je 0x10051401
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x34]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
test eax, eax
jl 0x10051425
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10051425
push str.line
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
je 0x10051412
jmp 0x10051425
lea eax, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
jmp 0x10051425
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x10051425
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10051434
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10051443
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10051451
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x1005145f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x100515b9
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
mov esi, 0x16
jl 0x100512ff
jmp 0x100515be
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp eax, edi
mov dword [esp + 0x40], eax
jle 0x100515c2
xor edi, edi
jmp 0x100514a0
mov esi, 0x16
lea ebx, [esp + 0x30]
mov word [esp + 0x6c], si
push ebx
mov word [esp + 0x72], di
mov ebp, dword [esp + 0x70]
sub esp, 0x10
mov ebx, esp
xor ecx, ecx
mov edx, ecx
sub esp, 0x10
mov dword [ebx], ebp
mov word [esp + 0x80], si
mov esi, dword [esp + 0x44]
mov word [esp + 0x82], di
mov dword [ebx + 4], ecx
xor eax, eax
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [ebx + 8], edx
mov edx, dword [esp + 0x80]
mov dword [esp + 0x5c], edi
mov edi, dword [esi]
mov dword [ebx + 0xc], ecx
mov ebx, dword [esp + 0x64]
mov ecx, esp
push esi
mov dword [esp + 0x8c], eax
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], eax
call dword [edi + 0x2c]
test eax, eax
jl 0x10051579
mov eax, dword [esp + 0x30]
xor edi, edi
cmp eax, edi
je 0x1005157b
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x101cbd38
push eax
call dword [ecx]
test eax, eax
jl 0x1005157b
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1005157b
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x1005157b
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x1005158a
mov eax, dword [esp + 0x28]
add eax, 0x14d8
push eax
push ecx
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x1005157b
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x1005157b
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x1005158a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10051598
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x100515a6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x100515b9
dec ebx
cmp ebx, edi
mov dword [esp + 0x40], ebx
jg 0x1005149b
mov esi, 0x16
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [0x102cb7c8]
mov eax, dword [edx + 0xc70]
add eax, 0xd0
test ecx, ecx
mov dword [esp + 0x4c], eax
je 0x10051603
test eax, eax
jne 0x100515e8
mov eax, str.NULL
push eax
push ebp
push str.SetHtmlChatLog_ChatLog_BeginLine___d____s_
push str.fetion
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x18
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ebp
cmp ebp, eax
jge 0x10051eef
jmp 0x1005161a
mov esi, 0x16
lea ebx, [esp + 0x3c]
xor ecx, ecx
push ebx
mov word [esp + 0x70], si
sub esp, 0x10
mov word [esp + 0x82], cx
mov ebp, dword [esp + 0x80]
mov ebx, esp
mov edx, ecx
sub esp, 0x10
mov dword [ebx], ebp
mov dword [esp + 0x60], ecx
mov dword [esp + 0x54], ecx
mov dword [esp + 0x34], ecx
mov dword [ebx + 4], ecx
mov dword [esp + 0x40], ecx
mov dword [esp + 0x5c], ecx
mov dword [esp + 0x6c], ecx
mov dword [ebx + 8], edx
mov word [esp + 0x82], cx
mov word [esp + 0x80], si
mov edx, dword [esp + 0x80]
mov esi, dword [esp + 0x44]
mov dword [ebx + 0xc], ecx
mov ecx, esp
xor eax, eax
mov edi, dword [esi]
push esi
mov dword [ecx], edx
mov edx, dword [esp + 0x68]
mov dword [esp + 0x8c], eax
mov dword [ecx + 4], eax
mov dword [ecx + 8], edx
mov dword [ecx + 0xc], eax
call dword [edi + 0x2c]
test eax, eax
jl 0x10051e82
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10051e82
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x101cbd38
push eax
call dword [ecx]
test eax, eax
jl 0x10051e82
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10051e82
mov ecx, dword [eax]
lea edx, [esp + 0x1c]
push edx
push eax
xor edi, edi
xor esi, esi
call dword [ecx + 0x34]
test eax, eax
jl 0x10051743
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10051743
push str._head_
call fcn.100ecb78
push eax
mov eax, dword [esp + 0x24]
push str._head_
push eax
call fcn.100ed171
add esp, 0x10
test eax, eax
jne 0x10051719
mov ebx, 1
mov edi, ebx
jmp 0x10051748
push str._text_
call fcn.100ecb78
mov ecx, dword [esp + 0x20]
push eax
push str._text_
push ecx
call fcn.100ed171
add esp, 0x10
test eax, eax
jne 0x10051743
mov ebx, 1
mov esi, ebx
jmp 0x10051748
mov ebx, 1
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x2c]
test eax, eax
jl 0x10051791
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10051791
push str.name
push eax
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x10051779
mov edi, ebx
jmp 0x1005179d
mov edx, dword [esp + 0x38]
push str.msg_bd
push edx
call fcn.100ed29f
add esp, 8
test eax, eax
jne 0x10051791
mov esi, ebx
test edi, edi
jne 0x1005179d
test esi, esi
je 0x10051e82
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0xf0]
test eax, eax
jl 0x10051e82
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x10051ea0
push 2
push 0x101f7598
push eax
call fcn.100ed139
add esp, 0xc
test eax, eax
jne 0x100517e8
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
add eax, 4
mov dword [esp + 0x10], eax
cmp edi, ebp
je 0x10051871
cmp dword [0x102cb7c8], ebp
je 0x10051816
mov eax, dword [esp + 0x10]
push eax
push str.SetHtmlChatLog_Head:_s
push str.fetion
push 0xffffffffffffffff
push 0x102caf34
call fcn.10131cf0
add esp, 0x14
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
cmp edi, ebp
mov dword [esi + 0x6d4], ebx
je 0x10051847
push edi
call fcn.100ecb78
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call fcn.100ed171
add esp, 0x10
test eax, eax
jne 0x10051847
mov dword [esi + 0x6d4], ebp
cmp dword [esi + 0xaec], ebx
jne 0x10051e82
mov edx, dword [esp + 0x10]
push 0x104
add esi, 0x12d0
push edx
push esi
call fcn.100ecb95
add esp, 0xc
jmp 0x10051e82
mov dword [esp + 0x14], ebp
mov dword [esp + 0x84], ebp
mov dword [esp + 0x50], ebp
mov edi, dword [esp + 0x10]
push 0xc
mov byte [esp + 0x88], 1
call fcn.1019a42e
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
cmp esi, ebp
mov byte [esp + 0x84], 2
je 0x100518cb
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x100518cd
cmp edi, ebp
je 0x100518cd
push 0x8007000e
call fcn.10117378
jmp 0x100518cd
xor esi, esi
mov eax, dword [esp + 0x28]
mov byte [esp + 0x84], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x50], esi
cmp dword [eax + 0xaec], ebx
jne 0x10051c0c
cmp dword [eax + 0x6d4], ebx
jne 0x10051c0c
push 0xc
lea edi, [eax + 0x12d0]
call fcn.1019a42e
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebp
mov byte [esp + 0x84], 3
je 0x10051940
push edi
mov dword [esi + 4], ebp
mov dword [esi + 8], ebx
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebp
mov dword [esi], eax
jne 0x1005193c
cmp edi, ebp
je 0x1005193c
push 0x8007000e
call fcn.10117378
mov ebx, esi
jmp 0x10051942
xor ebx, ebx
mov byte [esp + 0x84], 1
cmp ebx, ebp
mov dword [esp + 0x34], ebx
jne 0x1005195c
push 0x8007000e
call fcn.10117378
push 0xc
mov byte [esp + 0x88], 4
call fcn.1019a42e
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
xor esi, esi
mov byte [esp + 0x84], 5
cmp ebp, esi
je 0x100519e8
cmp ebx, esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], 1
je 0x100519a1
mov eax, dword [ebx]
cmp eax, esi
je 0x100519a1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, eax
jmp 0x100519a3
xor edi, edi
lea eax, [edi + edi]
push eax
push esi
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
cmp eax, esi
mov dword [ebp], eax
jne 0x100519c3
cmp edi, esi
je 0x100519e2
push 0x8007000e
call fcn.10117378
cmp ebx, esi
je 0x100519c9
mov esi, dword [ebx]
test esi, esi
je 0x100519e2
lea ecx, [edi + edi + 2]
mov edi, dword [ebp]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov dword [esp + 0x14], ebp
jmp 0x100519ec
mov dword [esp + 0x14], esi
test ebx, ebx
mov byte [esp + 0x84], 1
je 0x10051a2c
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10051a2c
mov eax, dword [ebx]
test eax, eax
je 0x10051a13
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10051a23
push eax
call fcn.1019a457
add esp, 4
push ebx
call fcn.1019a457
add esp, 4
push 0xc
call fcn.1019a42e
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x84], 6
je 0x10051a82
push 0x101f7598
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi], eax
jne 0x10051a7a
mov ecx, 0x101f7598
test ecx, ecx
je 0x10051a7a
push 0x8007000e
call fcn.10117378
mov edi, esi
mov dword [esp + 0x34], edi
jmp 0x10051a8e
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
test edi, edi
mov byte [esp + 0x84], 1
mov dword [esp + 0x54], edi
jne 0x10051aa8
push 0x8007000e
call fcn.10117378
push 0xc
mov byte [esp + 0x88], 7
call fcn.1019a42e
mov ebp, eax
add esp, 4
mov dword [esp + 0x58], ebp
test ebp, ebp
mov byte [esp + 0x84], 8
je 0x10051b96
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], 0
test eax, eax
mov dword [ebp + 8], 1
je 0x10051af7
mov eax, dword [eax]
test eax, eax
je 0x10051af7
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
jmp 0x10051af9
xor esi, esi
test edi, edi
mov dword [esp + 0x24], esi
je 0x10051b12
mov eax, dword [edi]
test eax, eax
je 0x10051b12
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
jmp 0x10051b14
xor ebx, ebx
add esi, ebx
lea edx, [esi + esi]
push edx
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [ebp], eax
jne 0x10051b37
test esi, esi
je 0x10051b98
push 0x8007000e
call fcn.10117378
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10051b43
mov esi, dword [eax]
jmp 0x10051b45
xor esi, esi
test esi, esi
je 0x10051b66
mov ecx, dword [esp + 0x24]
mov edi, dword [ebp]
lea ecx, [ecx + ecx + 2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x34]
test edi, edi
je 0x10051b6e
mov esi, dword [edi]
jmp 0x10051b70
xor esi, esi
test esi, esi
je 0x10051b98
mov eax, dword [ebp]
mov edx, dword [esp + 0x24]
lea ecx, [ebx + ebx + 2]
lea edi, [eax + edx*2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x34]
jmp 0x10051b98
xor ebp, ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 7
test eax, eax
je 0x10051bc8
mov esi, eax
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10051bc8
mov ecx, esi
call fcn.10036340
push esi
call fcn.1019a457
add esp, 4
test edi, edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x84], 1
je 0x10051c0c
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10051c0c
mov eax, dword [edi]
test eax, eax
je 0x10051bf3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x10051c03
push eax
call fcn.1019a457
add esp, 4
push edi
call fcn.1019a457
add esp, 4
push 0xc
call fcn.1019a42e
mov ebx, eax
add esp, 4
mov dword [esp + 0x58], ebx
xor esi, esi
mov byte [esp + 0x84], 9
cmp ebx, esi
je 0x10051cfc
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], esi
cmp eax, esi
mov dword [ebx + 8], 1
je 0x10051c53
mov eax, dword [eax]
cmp eax, esi
je 0x10051c53
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [esp + 0x24], eax
jmp 0x10051c57
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x10051c70
mov eax, dword [eax]
cmp eax, esi
je 0x10051c70
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
jmp 0x10051c72
xor ebp, ebp
mov eax, dword [esp + 0x24]
lea esi, [eax + ebp]
lea ecx, [esi + esi]
push ecx
push 0
call dword [sym.imp.OLEAUT32.dll_DllRegisterServer]
test eax, eax
mov dword [ebx], eax
jne 0x10051c99
test esi, esi
je 0x10051cf4
push 0x8007000e
call fcn.10117378
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10051ca5
mov esi, dword [edi]
jmp 0x10051ca7
xor esi, esi
test esi, esi
je 0x10051cc7
mov edx, dword [esp + 0x24]
mov edi, dword [ebx]
lea ecx, [edx + edx + 2]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
test eax, eax
je 0x10051cd3
mov esi, dword [eax]
jmp 0x10051cd5
xor esi, esi
test esi, esi
je 0x10051cf8
mov edx, dword [ebx]
mov eax, dword [esp + 0x24]
lea ecx, [ebp + ebp + 2]
lea edi, [edx + eax*2]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x14]
mov esi, ebx
jmp 0x10051d00
mov edi, dword [esp + 0x14]
test edi, edi
mov byte [esp + 0x84], 1
je 0x10051d2e
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x10051d34
mov ecx, edi
call fcn.10036340
push edi
call fcn.1019a457
add esp, 4
jmp 0x10051d34
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x10051d3c
mov eax, dword [esi]
jmp 0x10051d3e
xor eax, eax
mov edi, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.100617f0
test esi, esi
je 0x10051d80
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x10051d80
mov eax, dword [esi]
test eax, eax
je 0x10051d67
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10051d77
push eax
call fcn.1019a457
add esp, 4
push esi
call fcn.1019a457
add esp, 4
push 0xc
call fcn.1019a42e
mov esi, eax
add esp, 4
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0x84], 0xa
je 0x10051dd0
push 0x10237188
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
test eax, eax
mov dword [esi], eax
jne 0x10051dd2
mov edx, 0x10237188
test edx, edx
je 0x10051dd2
push 0x8007000e
call fcn.10117378
jmp 0x10051dd2
xor esi, esi
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x10051e03
lea edx, [edi + 0x14d8]
mov ecx, 0xa
xor eax, eax
mov edi, edx
push 0x13
push ebp
rep stosd dword es:[edi], eax
push edx
call fcn.100ecb95
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x84], 0
test edi, edi
je 0x10051e43
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x10051e43
mov eax, dword [edi]
test eax, eax
je 0x10051e2a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x10051e3a
push eax
call fcn.1019a457
add esp, 4
push edi
call fcn.1019a457
add esp, 4
test esi, esi
mov dword [esp + 0x84], 0xffffffff
je 0x10051e82
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x10051e82
mov eax, dword [esi]
test eax, eax
je 0x10051e69
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10051e79
push eax
call fcn.1019a457
add esp, 4
push esi
call fcn.1019a457
add esp, 4
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x10051ea0
cmp dword [esp + 0x48], ebp
je 0x10051e99
sub eax, 4
mov dword [esp + 0x10], eax
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x1c]
cmp eax, ebp
je 0x10051eaf
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x10051ebe
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x10051ecc
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x10051eda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x18]
inc eax
cmp eax, ecx
mov dword [esp + 0x40], eax
jl 0x10051615
xor edi, edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x10051eff
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x10051f0d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x78
ret