Function at 0x10050a60
Capabilities:
Extract http body

Disassembly:
push 0xffffffffffffffff
push 0x101a9e4d
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 0x10050ab2
mov eax, dword [ebx + 0xc]
push eax
push str.SetHtmlChatLog__0x_08x_
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp dword [ebx + 0xc], edi
je 0x10051781
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 0x10051781
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x10051781
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x10051781
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1005178f
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 0x10050b4f
mov eax, dword [esp + 0x18]
push eax
push str.SetHtmlChatLog_ChatLog_EleCount___d_
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
cmp esi, edi
jl 0x10051781
lea eax, [ebx + 0x14d8]
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
call fcn.100e9a88
add esp, 4
mov esi, 0x16
test eax, eax
jne 0x10050d14
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edi
cmp eax, edi
jle 0x10050e52
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 0x10050cb3
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x10050cb5
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x101c8018
push eax
call dword [ecx]
test eax, eax
jl 0x10050cb5
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10050cb5
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x10050c62
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10050c62
push str.bodyHistoryLine
push eax
call fcn.100ea1af
add esp, 8
test eax, eax
je 0x10050c91
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 0x10050cb5
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050cb5
push str.line
push eax
call fcn.100ea1af
add esp, 8
test eax, eax
je 0x10050ca2
jmp 0x10050cb5
lea eax, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
jmp 0x10050cb5
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x10050cb5
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10050cc4
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050cd3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10050ce1
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x10050cef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x10050e49
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
mov esi, 0x16
jl 0x10050b8f
jmp 0x10050e4e
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp eax, edi
mov dword [esp + 0x40], eax
jle 0x10050e52
xor edi, edi
jmp 0x10050d30
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 0x10050e09
mov eax, dword [esp + 0x30]
xor edi, edi
cmp eax, edi
je 0x10050e0b
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x101c8018
push eax
call dword [ecx]
test eax, eax
jl 0x10050e0b
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050e0b
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x10050e0b
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x10050e1a
mov eax, dword [esp + 0x28]
add eax, 0x14d8
push eax
push ecx
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x10050e0b
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x10050e0b
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x10050e1a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x10050e28
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x10050e36
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x10050e49
dec ebx
cmp ebx, edi
mov dword [esp + 0x40], ebx
jg 0x10050d2b
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 0x10050e93
test eax, eax
jne 0x10050e78
mov eax, str.NULL
push eax
push ebp
push str.SetHtmlChatLog_ChatLog_BeginLine___d____s_
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x18
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ebp
cmp ebp, eax
jge 0x1005177f
jmp 0x10050eaa
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 0x10051712
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x10051712
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x101c8018
push eax
call dword [ecx]
test eax, eax
jl 0x10051712
mov eax, dword [esp + 0x30]
test eax, eax
je 0x10051712
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 0x10050fd3
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10050fd3
push str._head_
call fcn.100e9a88
push eax
mov eax, dword [esp + 0x24]
push str._head_
push eax
call fcn.100ea081
add esp, 0x10
test eax, eax
jne 0x10050fa9
mov ebx, 1
mov edi, ebx
jmp 0x10050fd8
push str._text_
call fcn.100e9a88
mov ecx, dword [esp + 0x20]
push eax
push str._text_
push ecx
call fcn.100ea081
add esp, 0x10
test eax, eax
jne 0x10050fd3
mov ebx, 1
mov esi, ebx
jmp 0x10050fd8
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 0x10051021
mov eax, dword [esp + 0x38]
test eax, eax
je 0x10051021
push str.name
push eax
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x10051009
mov edi, ebx
jmp 0x1005102d
mov edx, dword [esp + 0x38]
push str.msg_bd
push edx
call fcn.100ea1af
add esp, 8
test eax, eax
jne 0x10051021
mov esi, ebx
test edi, edi
jne 0x1005102d
test esi, esi
je 0x10051712
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 0x10051712
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x10051730
push 2
push 0x101f3348
push eax
call fcn.100ea049
add esp, 0xc
test eax, eax
jne 0x10051078
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
add eax, 4
mov dword [esp + 0x10], eax
cmp edi, ebp
je 0x10051101
cmp dword [0x102acd68], ebp
je 0x100510a6
mov eax, dword [esp + 0x10]
push eax
push str.SetHtmlChatLog_Head:_s
push str.fetion
push 0xffffffffffffffff
push 0x102ac4d4
call fcn.10141bb0
add esp, 0x14
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
cmp edi, ebp
mov dword [esi + 0x6d4], ebx
je 0x100510d7
push edi
call fcn.100e9a88
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call fcn.100ea081
add esp, 0x10
test eax, eax
jne 0x100510d7
mov dword [esi + 0x6d4], ebp
cmp dword [esi + 0xaec], ebx
jne 0x10051712
mov edx, dword [esp + 0x10]
push 0x104
add esi, 0x12d0
push edx
push esi
call fcn.100e9aa5
add esp, 0xc
jmp 0x10051712
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.101970fe
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
cmp esi, ebp
mov byte [esp + 0x84], 2
je 0x1005115b
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 0x1005115d
cmp edi, ebp
je 0x1005115d
push 0x8007000e
call fcn.10114278
jmp 0x1005115d
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 0x1005149c
cmp dword [eax + 0x6d4], ebx
jne 0x1005149c
push 0xc
lea edi, [eax + 0x12d0]
call fcn.101970fe
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebp
mov byte [esp + 0x84], 3
je 0x100511d0
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 0x100511cc
cmp edi, ebp
je 0x100511cc
push 0x8007000e
call fcn.10114278
mov ebx, esi
jmp 0x100511d2
xor ebx, ebx
mov byte [esp + 0x84], 1
cmp ebx, ebp
mov dword [esp + 0x34], ebx
jne 0x100511ec
push 0x8007000e
call fcn.10114278
push 0xc
mov byte [esp + 0x88], 4
call fcn.101970fe
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
xor esi, esi
mov byte [esp + 0x84], 5
cmp ebp, esi
je 0x10051278
cmp ebx, esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], 1
je 0x10051231
mov eax, dword [ebx]
cmp eax, esi
je 0x10051231
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, eax
jmp 0x10051233
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 0x10051253
cmp edi, esi
je 0x10051272
push 0x8007000e
call fcn.10114278
cmp ebx, esi
je 0x10051259
mov esi, dword [ebx]
test esi, esi
je 0x10051272
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 0x1005127c
mov dword [esp + 0x14], esi
test ebx, ebx
mov byte [esp + 0x84], 1
je 0x100512bc
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x100512bc
mov eax, dword [ebx]
test eax, eax
je 0x100512a3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x100512b3
push eax
call fcn.10197127
add esp, 4
push ebx
call fcn.10197127
add esp, 4
push 0xc
call fcn.101970fe
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x84], 6
je 0x10051312
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 0x1005130a
mov ecx, 0x101f3348
test ecx, ecx
je 0x1005130a
push 0x8007000e
call fcn.10114278
mov edi, esi
mov dword [esp + 0x34], edi
jmp 0x1005131e
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
test edi, edi
mov byte [esp + 0x84], 1
mov dword [esp + 0x54], edi
jne 0x10051338
push 0x8007000e
call fcn.10114278
push 0xc
mov byte [esp + 0x88], 7
call fcn.101970fe
mov ebp, eax
add esp, 4
mov dword [esp + 0x58], ebp
test ebp, ebp
mov byte [esp + 0x84], 8
je 0x10051426
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], 0
test eax, eax
mov dword [ebp + 8], 1
je 0x10051387
mov eax, dword [eax]
test eax, eax
je 0x10051387
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
jmp 0x10051389
xor esi, esi
test edi, edi
mov dword [esp + 0x24], esi
je 0x100513a2
mov eax, dword [edi]
test eax, eax
je 0x100513a2
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
jmp 0x100513a4
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 0x100513c7
test esi, esi
je 0x10051428
push 0x8007000e
call fcn.10114278
mov eax, dword [esp + 0x14]
test eax, eax
je 0x100513d3
mov esi, dword [eax]
jmp 0x100513d5
xor esi, esi
test esi, esi
je 0x100513f6
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 0x100513fe
mov esi, dword [edi]
jmp 0x10051400
xor esi, esi
test esi, esi
je 0x10051428
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 0x10051428
xor ebp, ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 7
test eax, eax
je 0x10051458
mov esi, eax
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x10051458
mov ecx, esi
call fcn.100350a0
push esi
call fcn.10197127
add esp, 4
test edi, edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x84], 1
je 0x1005149c
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1005149c
mov eax, dword [edi]
test eax, eax
je 0x10051483
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x10051493
push eax
call fcn.10197127
add esp, 4
push edi
call fcn.10197127
add esp, 4
push 0xc
call fcn.101970fe
mov ebx, eax
add esp, 4
mov dword [esp + 0x58], ebx
xor esi, esi
mov byte [esp + 0x84], 9
cmp ebx, esi
je 0x1005158c
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], esi
cmp eax, esi
mov dword [ebx + 8], 1
je 0x100514e3
mov eax, dword [eax]
cmp eax, esi
je 0x100514e3
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [esp + 0x24], eax
jmp 0x100514e7
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x10051500
mov eax, dword [eax]
cmp eax, esi
je 0x10051500
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
jmp 0x10051502
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 0x10051529
test esi, esi
je 0x10051584
push 0x8007000e
call fcn.10114278
mov edi, dword [esp + 0x14]
test edi, edi
je 0x10051535
mov esi, dword [edi]
jmp 0x10051537
xor esi, esi
test esi, esi
je 0x10051557
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 0x10051563
mov esi, dword [eax]
jmp 0x10051565
xor esi, esi
test esi, esi
je 0x10051588
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 0x10051590
mov edi, dword [esp + 0x14]
test edi, edi
mov byte [esp + 0x84], 1
je 0x100515be
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x100515c4
mov ecx, edi
call fcn.100350a0
push edi
call fcn.10197127
add esp, 4
jmp 0x100515c4
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x100515cc
mov eax, dword [esi]
jmp 0x100515ce
xor eax, eax
mov edi, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.10061080
test esi, esi
je 0x10051610
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x10051610
mov eax, dword [esi]
test eax, eax
je 0x100515f7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10051607
push eax
call fcn.10197127
add esp, 4
push esi
call fcn.10197127
add esp, 4
push 0xc
call fcn.101970fe
mov esi, eax
add esp, 4
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0x84], 0xa
je 0x10051660
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 0x10051662
mov edx, 0x102323b8
test edx, edx
je 0x10051662
push 0x8007000e
call fcn.10114278
jmp 0x10051662
xor esi, esi
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x10051693
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.100e9aa5
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x84], 0
test edi, edi
je 0x100516d3
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x100516d3
mov eax, dword [edi]
test eax, eax
je 0x100516ba
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x100516ca
push eax
call fcn.10197127
add esp, 4
push edi
call fcn.10197127
add esp, 4
test esi, esi
mov dword [esp + 0x84], 0xffffffff
je 0x10051712
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x10051712
mov eax, dword [esi]
test eax, eax
je 0x100516f9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x10051709
push eax
call fcn.10197127
add esp, 4
push esi
call fcn.10197127
add esp, 4
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x10051730
cmp dword [esp + 0x48], ebp
je 0x10051729
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 0x1005173f
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x1005174e
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x1005175c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x1005176a
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 0x10050ea5
xor edi, edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1005178f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1005179d
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