Function at 0x10050930
Capabilities:
Extract http body

Disassembly:
push 0xffffffffffffffff
push 0x101a910d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x102acd68]
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 0x10050982
mov eax, dword [ebx + 0xc]
push eax
push str.SetHtmlChatLog__0x_08x_
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp dword [ebx + 0xc], edi
je 0x10051651
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 0x10051651
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x10051651
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x10051651
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1005165f
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 [0x102acd68]
cmp eax, edi
je 0x10050a1f
mov eax, dword [esp + 0x18]
push eax
push str.SetHtmlChatLog_ChatLog_EleCount___d_
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
cmp esi, edi
jl 0x10051651
lea eax, [ebx + 0x14d8]
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
call fcn.100e9958
add esp, 4
mov esi, 0x16
test eax, eax
jne 0x10050be4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edi
cmp eax, edi
jle 0x10050d22
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 0x10050b83
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x10050b85
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x101c8018
push eax
call dword [ecx]
test eax, eax
jl 0x10050b85
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10050b85
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x10050b32
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10050b32
push str.bodyHistoryLine
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
je 0x10050b61
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 0x10050b85
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050b85
push str.line
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
je 0x10050b72
jmp 0x10050b85
lea eax, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
jmp 0x10050b85
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x10050b85
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10050b94
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050ba3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10050bb1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x10050bbf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x10050d19
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
mov esi, 0x16
jl 0x10050a5f
jmp 0x10050d1e
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp eax, edi
mov dword [esp + 0x40], eax
jle 0x10050d22
xor edi, edi
jmp 0x10050c00
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 0x10050cd9
mov eax, dword [esp + 0x30]
xor edi, edi
cmp eax, edi
je 0x10050cdb
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x101c8018
push eax
call dword [ecx]
test eax, eax
jl 0x10050cdb
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050cdb
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x10050cdb
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x10050cea
mov eax, dword [esp + 0x28]
add eax, 0x14d8
push eax
push ecx
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x10050cdb
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x10050cdb
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10050cea
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050cf8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10050d06
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x10050d19
dec ebx
cmp ebx, edi
mov dword [esp + 0x40], ebx
jg 0x10050bfb
mov esi, 0x16
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [0x102acd68]
mov eax, dword [edx + 0xc70]
add eax, 0xd0
test ecx, ecx
mov dword [esp + 0x4c], eax
je 0x10050d63
test eax, eax
jne 0x10050d48
mov eax, str.NULL
push eax
push ebp
push str.SetHtmlChatLog_ChatLog_BeginLine___d____s_
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x18
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ebp
cmp ebp, eax
jge 0x1005164f
jmp 0x10050d7a
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 0x100515e2
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x100515e2
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x101c8018
push eax
call dword [ecx]
test eax, eax
jl 0x100515e2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x100515e2
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 0x10050ea3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10050ea3
push str._head_
call fcn.100e9958
push eax
mov eax, dword [esp + 0x24]
push str._head_
push eax
call fcn.100e9f51
add esp, 0x10
test eax, eax
jne 0x10050e79
mov ebx, 1
mov edi, ebx
jmp 0x10050ea8
push str._text_
call fcn.100e9958
mov ecx, dword [esp + 0x20]
push eax
push str._text_
push ecx
call fcn.100e9f51
add esp, 0x10
test eax, eax
jne 0x10050ea3
mov ebx, 1
mov esi, ebx
jmp 0x10050ea8
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 0x10050ef1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10050ef1
push str.name
push eax
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x10050ed9
mov edi, ebx
jmp 0x10050efd
mov edx, dword [esp + 0x38]
push str.msg_bd
push edx
call fcn.100ea07f
add esp, 8
test eax, eax
jne 0x10050ef1
mov esi, ebx
test edi, edi
jne 0x10050efd
test esi, esi
je 0x100515e2
mov eax, dword [esp + 0x30]
lea edx, [esp + 0x10]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + pe_nt_image_headers32]
test eax, eax
jl 0x100515e2
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x10051600
push 2
push 0x101f3348
push eax
call fcn.100e9f19
add esp, 0xc
test eax, eax
jne 0x10050f48
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
add eax, 4
mov dword [esp + 0x10], eax
cmp edi, ebp
je 0x10050fd1
cmp dword [0x102acd68], ebp
je 0x10050f76
mov eax, dword [esp + 0x10]
push eax
push str.SetHtmlChatLog_Head:_s
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10140e70
add esp, 0x14
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
cmp edi, ebp
mov dword [esi + 0x6d4], ebx
je 0x10050fa7
push edi
call fcn.100e9958
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call fcn.100e9f51
add esp, 0x10
test eax, eax
jne 0x10050fa7
mov dword [esi + 0x6d4], ebp
cmp dword [esi + 0xaec], ebx
jne 0x100515e2
mov edx, dword [esp + 0x10]
push 0x104
add esi, 0x12d0
push edx
push esi
call fcn.100e9975
add esp, 0xc
jmp 0x100515e2
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.101963be
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
cmp esi, ebp
mov byte [esp + 0x84], 2
je 0x1005102b
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 0x1005102d
cmp edi, ebp
je 0x1005102d
push 0x8007000e
call fcn.10114148
jmp 0x1005102d
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 0x1005136c
cmp dword [eax + 0x6d4], ebx
jne 0x1005136c
push 0xc
lea edi, [eax + 0x12d0]
call fcn.101963be
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebp
mov byte [esp + 0x84], 3
je 0x100510a0
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 0x1005109c
cmp edi, ebp
je 0x1005109c
push 0x8007000e
call fcn.10114148
mov ebx, esi
jmp 0x100510a2
xor ebx, ebx
mov byte [esp + 0x84], 1
cmp ebx, ebp
mov dword [esp + 0x34], ebx
jne 0x100510bc
push 0x8007000e
call fcn.10114148
push 0xc
mov byte [esp + 0x88], 4
call fcn.101963be
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
xor esi, esi
mov byte [esp + 0x84], 5
cmp ebp, esi
je 0x10051148
cmp ebx, esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], 1
je 0x10051101
mov eax, dword [ebx]
cmp eax, esi
je 0x10051101
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, eax
jmp 0x10051103
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 0x10051123
cmp edi, esi
je 0x10051142
push 0x8007000e
call fcn.10114148
cmp ebx, esi
je 0x10051129
mov esi, dword [ebx]
test esi, esi
je 0x10051142
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 0x1005114c
mov dword [esp + 0x14], esi
test ebx, ebx
mov byte [esp + 0x84], 1
je 0x1005118c
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1005118c
mov eax, dword [ebx]
test eax, eax
je 0x10051173
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x10051183
push eax
call fcn.101963e7
add esp, 4
push ebx
call fcn.101963e7
add esp, 4
push 0xc
call fcn.101963be
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x84], 6
je 0x100511e2
push 0x101f3348
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 0x100511da
mov ecx, 0x101f3348
test ecx, ecx
je 0x100511da
push 0x8007000e
call fcn.10114148
mov edi, esi
mov dword [esp + 0x34], edi
jmp 0x100511ee
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
test edi, edi
mov byte [esp + 0x84], 1
mov dword [esp + 0x54], edi
jne 0x10051208
push 0x8007000e
call fcn.10114148
push 0xc
mov byte [esp + 0x88], 7
call fcn.101963be
mov ebp, eax
add esp, 4
mov dword [esp + 0x58], ebp
test ebp, ebp
mov byte [esp + 0x84], 8
je 0x100512f6
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], 0
test eax, eax
mov dword [ebp + 8], 1
je 0x10051257
mov eax, dword [eax]
test eax, eax
je 0x10051257
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
jmp 0x10051259
xor esi, esi
test edi, edi
mov dword [esp + 0x24], esi
je 0x10051272
mov eax, dword [edi]
test eax, eax
je 0x10051272
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
jmp 0x10051274
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 0x10051297
test esi, esi
je 0x100512f8
push 0x8007000e
call fcn.10114148
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100512a3
mov esi, dword [eax]
jmp 0x100512a5
xor esi, esi
test esi, esi
je 0x100512c6
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 0x100512ce
mov esi, dword [edi]
jmp 0x100512d0
xor esi, esi
test esi, esi
je 0x100512f8
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 0x100512f8
xor ebp, ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 7
test eax, eax
je 0x10051328
mov esi, eax
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10051328
mov ecx, esi
call fcn.10034f70
push esi
call fcn.101963e7
add esp, 4
test edi, edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x84], 1
je 0x1005136c
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1005136c
mov eax, dword [edi]
test eax, eax
je 0x10051353
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x10051363
push eax
call fcn.101963e7
add esp, 4
push edi
call fcn.101963e7
add esp, 4
push 0xc
call fcn.101963be
mov ebx, eax
add esp, 4
mov dword [esp + 0x58], ebx
xor esi, esi
mov byte [esp + 0x84], 9
cmp ebx, esi
je 0x1005145c
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], esi
cmp eax, esi
mov dword [ebx + 8], 1
je 0x100513b3
mov eax, dword [eax]
cmp eax, esi
je 0x100513b3
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [esp + 0x24], eax
jmp 0x100513b7
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x100513d0
mov eax, dword [eax]
cmp eax, esi
je 0x100513d0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
jmp 0x100513d2
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 0x100513f9
test esi, esi
je 0x10051454
push 0x8007000e
call fcn.10114148
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10051405
mov esi, dword [edi]
jmp 0x10051407
xor esi, esi
test esi, esi
je 0x10051427
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 0x10051433
mov esi, dword [eax]
jmp 0x10051435
xor esi, esi
test esi, esi
je 0x10051458
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 0x10051460
mov edi, dword [esp + 0x14]
test edi, edi
mov byte [esp + 0x84], 1
je 0x1005148e
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x10051494
mov ecx, edi
call fcn.10034f70
push edi
call fcn.101963e7
add esp, 4
jmp 0x10051494
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x1005149c
mov eax, dword [esi]
jmp 0x1005149e
xor eax, eax
mov edi, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.10060f50
test esi, esi
je 0x100514e0
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x100514e0
mov eax, dword [esi]
test eax, eax
je 0x100514c7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x100514d7
push eax
call fcn.101963e7
add esp, 4
push esi
call fcn.101963e7
add esp, 4
push 0xc
call fcn.101963be
mov esi, eax
add esp, 4
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0x84], 0xa
je 0x10051530
push 0x102323b8
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 0x10051532
mov edx, 0x102323b8
test edx, edx
je 0x10051532
push 0x8007000e
call fcn.10114148
jmp 0x10051532
xor esi, esi
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x10051563
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.100e9975
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x84], 0
test edi, edi
je 0x100515a3
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x100515a3
mov eax, dword [edi]
test eax, eax
je 0x1005158a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x1005159a
push eax
call fcn.101963e7
add esp, 4
push edi
call fcn.101963e7
add esp, 4
test esi, esi
mov dword [esp + 0x84], 0xffffffff
je 0x100515e2
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x100515e2
mov eax, dword [esi]
test eax, eax
je 0x100515c9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x100515d9
push eax
call fcn.101963e7
add esp, 4
push esi
call fcn.101963e7
add esp, 4
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x10051600
cmp dword [esp + 0x48], ebp
je 0x100515f9
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 0x1005160f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x1005161e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x1005162c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x1005163a
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 0x10050d75
xor edi, edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1005165f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1005166d
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