Function at 0x1004d210
Capabilities:
Extract http body

Disassembly:
push 0xffffffffffffffff
push 0x10186c2d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x6c
mov eax, dword [0x10274670]
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 0x1004d262
mov eax, dword [ebx + 0xc]
push eax
push str.SetHtmlChatLog__0x_08x_
push str.fetion
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
cmp dword [ebx + 0xc], edi
je 0x1004df31
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 0x1004df31
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1004df31
mov ecx, dword [eax]
lea edx, [esp + 0x20]
push edx
push eax
call dword [ecx + 0x20]
test eax, eax
jl 0x1004df31
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1004df3f
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 [0x10274670]
cmp eax, edi
je 0x1004d2ff
mov eax, dword [esp + 0x18]
push eax
push str.SetHtmlChatLog_ChatLog_EleCount___d_
push str.fetion
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
cmp esi, edi
jl 0x1004df31
lea eax, [ebx + 0x14d8]
xor ebp, ebp
push eax
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], edi
call fcn.100c9da4
add esp, 4
mov esi, 0x16
test eax, eax
jne 0x1004d4c4
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], edi
cmp eax, edi
jle 0x1004d602
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 0x1004d463
mov eax, dword [esp + 0x2c]
xor edi, edi
cmp eax, edi
je 0x1004d465
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x1019a890
push eax
call dword [ecx]
test eax, eax
jl 0x1004d465
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x1004d465
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x1004d412
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x1004d412
push str.bodyHistoryLine
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x1004d441
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 0x1004d465
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1004d465
push str.line
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
je 0x1004d452
jmp 0x1004d465
lea eax, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], eax
jmp 0x1004d465
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x1004d465
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x1004d474
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1004d483
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x1004d491
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x2c]
cmp eax, edi
je 0x1004d49f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x1004d5f9
mov eax, dword [esp + 0x18]
inc ebx
cmp ebx, eax
mov dword [esp + 0x40], ebx
mov esi, 0x16
jl 0x1004d33f
jmp 0x1004d5fe
mov edx, dword [esp + 0x18]
lea eax, [edx - 1]
cmp eax, edi
mov dword [esp + 0x40], eax
jle 0x1004d602
xor edi, edi
jmp 0x1004d4e0
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 0x1004d5b9
mov eax, dword [esp + 0x30]
xor edi, edi
cmp eax, edi
je 0x1004d5bb
mov ecx, dword [eax]
lea edx, [esp + 0x34]
push edx
push 0x1019a890
push eax
call dword [ecx]
test eax, eax
jl 0x1004d5bb
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1004d5bb
mov ecx, dword [eax]
lea edx, [esp + 0x38]
push edx
push eax
call dword [ecx + 0x34]
test eax, eax
jl 0x1004d5bb
mov ecx, dword [esp + 0x38]
cmp ecx, edi
je 0x1004d5ca
mov eax, dword [esp + 0x28]
add eax, 0x14d8
push eax
push ecx
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1004d5bb
lea ecx, [ebx + 1]
mov dword [esp + 0x1c], 1
mov dword [esp + 0x14], ecx
jmp 0x1004d5bb
xor edi, edi
mov eax, dword [esp + 0x38]
cmp eax, edi
je 0x1004d5ca
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x34]
cmp eax, edi
je 0x1004d5d8
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x30]
cmp eax, edi
je 0x1004d5e6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [esp + 0x1c], edi
jne 0x1004d5f9
dec ebx
cmp ebx, edi
mov dword [esp + 0x40], ebx
jg 0x1004d4db
mov esi, 0x16
mov ebp, dword [esp + 0x14]
mov edx, dword [esp + 0x28]
mov ecx, dword [0x10274670]
mov eax, dword [edx + 0xc70]
add eax, 0xd0
test ecx, ecx
mov dword [esp + 0x4c], eax
je 0x1004d643
test eax, eax
jne 0x1004d628
mov eax, str.NULL
push eax
push ebp
push str.SetHtmlChatLog_ChatLog_BeginLine___d____s_
push str.fetion
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x18
mov eax, dword [esp + 0x18]
mov dword [esp + 0x40], ebp
cmp ebp, eax
jge 0x1004df2f
jmp 0x1004d65a
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 0x1004dec2
mov eax, dword [esp + 0x3c]
test eax, eax
je 0x1004dec2
mov ecx, dword [eax]
lea edx, [esp + 0x30]
push edx
push 0x1019a890
push eax
call dword [ecx]
test eax, eax
jl 0x1004dec2
mov eax, dword [esp + 0x30]
test eax, eax
je 0x1004dec2
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 0x1004d783
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1004d783
push str._head_
call fcn.100c9da4
push eax
mov eax, dword [esp + 0x24]
push str._head_
push eax
call fcn.100ca3d2
add esp, 0x10
test eax, eax
jne 0x1004d759
mov ebx, 1
mov edi, ebx
jmp 0x1004d788
push str._text_
call fcn.100c9da4
mov ecx, dword [esp + 0x20]
push eax
push str._text_
push ecx
call fcn.100ca3d2
add esp, 0x10
test eax, eax
jne 0x1004d783
mov ebx, 1
mov esi, ebx
jmp 0x1004d788
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 0x1004d7d1
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1004d7d1
push str.name
push eax
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1004d7b9
mov edi, ebx
jmp 0x1004d7dd
mov edx, dword [esp + 0x38]
push str.msg_bd
push edx
call fcn.100ca4ff
add esp, 8
test eax, eax
jne 0x1004d7d1
mov esi, ebx
test edi, edi
jne 0x1004d7dd
test esi, esi
je 0x1004dec2
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 0x1004dec2
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x1004dee0
push 2
push 0x101c31a4
push eax
call fcn.100ca39a
add esp, 0xc
test eax, eax
jne 0x1004d828
mov eax, dword [esp + 0x10]
mov dword [esp + 0x48], ebx
add eax, 4
mov dword [esp + 0x10], eax
cmp edi, ebp
je 0x1004d8b1
cmp dword [0x10274670], ebp
je 0x1004d856
mov eax, dword [esp + 0x10]
push eax
push str.SetHtmlChatLog_Head:_s
push str.fetion
push 0xffffffffffffffff
push 0x10273ddc
call fcn.10119f10
add esp, 0x14
mov esi, dword [esp + 0x28]
mov edi, dword [esp + 0x4c]
cmp edi, ebp
mov dword [esi + 0x6d4], ebx
je 0x1004d887
push edi
call fcn.100c9da4
mov ecx, dword [esp + 0x14]
push eax
push edi
push ecx
call fcn.100ca3d2
add esp, 0x10
test eax, eax
jne 0x1004d887
mov dword [esi + 0x6d4], ebp
cmp dword [esi + 0xaec], ebx
jne 0x1004dec2
mov edx, dword [esp + 0x10]
push 0x104
add esi, 0x12d0
push edx
push esi
call fcn.100c9dc1
add esp, 0xc
jmp 0x1004dec2
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.10173930
mov esi, eax
add esp, 4
mov dword [esp + 0x50], esi
cmp esi, ebp
mov byte [esp + 0x84], 2
je 0x1004d90b
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 0x1004d90d
cmp edi, ebp
je 0x1004d90d
push 0x8007000e
call fcn.100f44c8
jmp 0x1004d90d
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 0x1004dc4c
cmp dword [eax + 0x6d4], ebx
jne 0x1004dc4c
push 0xc
lea edi, [eax + 0x12d0]
call fcn.10173930
mov esi, eax
add esp, 4
mov dword [esp + 0x34], esi
cmp esi, ebp
mov byte [esp + 0x84], 3
je 0x1004d980
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 0x1004d97c
cmp edi, ebp
je 0x1004d97c
push 0x8007000e
call fcn.100f44c8
mov ebx, esi
jmp 0x1004d982
xor ebx, ebx
mov byte [esp + 0x84], 1
cmp ebx, ebp
mov dword [esp + 0x34], ebx
jne 0x1004d99c
push 0x8007000e
call fcn.100f44c8
push 0xc
mov byte [esp + 0x88], 4
call fcn.10173930
mov ebp, eax
add esp, 4
mov dword [esp + 0x24], ebp
xor esi, esi
mov byte [esp + 0x84], 5
cmp ebp, esi
je 0x1004da28
cmp ebx, esi
mov dword [ebp + 4], esi
mov dword [ebp + 8], 1
je 0x1004d9e1
mov eax, dword [ebx]
cmp eax, esi
je 0x1004d9e1
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov edi, eax
jmp 0x1004d9e3
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 0x1004da03
cmp edi, esi
je 0x1004da22
push 0x8007000e
call fcn.100f44c8
cmp ebx, esi
je 0x1004da09
mov esi, dword [ebx]
test esi, esi
je 0x1004da22
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 0x1004da2c
mov dword [esp + 0x14], esi
test ebx, ebx
mov byte [esp + 0x84], 1
je 0x1004da6c
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1004da6c
mov eax, dword [ebx]
test eax, eax
je 0x1004da53
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebx + 4]
test eax, eax
je 0x1004da63
push eax
call fcn.10173959
add esp, 4
push ebx
call fcn.10173959
add esp, 4
push 0xc
call fcn.10173930
mov esi, eax
add esp, 4
mov dword [esp + 0x24], esi
test esi, esi
mov byte [esp + 0x84], 6
je 0x1004dac2
push 0x101c31a4
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 0x1004daba
mov ecx, 0x101c31a4
test ecx, ecx
je 0x1004daba
push 0x8007000e
call fcn.100f44c8
mov edi, esi
mov dword [esp + 0x34], edi
jmp 0x1004dace
mov dword [esp + 0x34], 0
mov edi, dword [esp + 0x34]
test edi, edi
mov byte [esp + 0x84], 1
mov dword [esp + 0x54], edi
jne 0x1004dae8
push 0x8007000e
call fcn.100f44c8
push 0xc
mov byte [esp + 0x88], 7
call fcn.10173930
mov ebp, eax
add esp, 4
mov dword [esp + 0x58], ebp
test ebp, ebp
mov byte [esp + 0x84], 8
je 0x1004dbd6
mov eax, dword [esp + 0x14]
mov dword [ebp + 4], 0
test eax, eax
mov dword [ebp + 8], 1
je 0x1004db37
mov eax, dword [eax]
test eax, eax
je 0x1004db37
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov esi, eax
jmp 0x1004db39
xor esi, esi
test edi, edi
mov dword [esp + 0x24], esi
je 0x1004db52
mov eax, dword [edi]
test eax, eax
je 0x1004db52
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebx, eax
jmp 0x1004db54
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 0x1004db77
test esi, esi
je 0x1004dbd8
push 0x8007000e
call fcn.100f44c8
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1004db83
mov esi, dword [eax]
jmp 0x1004db85
xor esi, esi
test esi, esi
je 0x1004dba6
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 0x1004dbae
mov esi, dword [edi]
jmp 0x1004dbb0
xor esi, esi
test esi, esi
je 0x1004dbd8
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 0x1004dbd8
xor ebp, ebp
mov eax, dword [esp + 0x14]
mov byte [esp + 0x84], 7
test eax, eax
je 0x1004dc08
mov esi, eax
lea ecx, [esi + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1004dc08
mov ecx, esi
call fcn.1002f5a0
push esi
call fcn.10173959
add esp, 4
test edi, edi
mov dword [esp + 0x14], ebp
mov byte [esp + 0x84], 1
je 0x1004dc4c
lea edx, [edi + 8]
push edx
call dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test eax, eax
jne 0x1004dc4c
mov eax, dword [edi]
test eax, eax
je 0x1004dc33
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x1004dc43
push eax
call fcn.10173959
add esp, 4
push edi
call fcn.10173959
add esp, 4
push 0xc
call fcn.10173930
mov ebx, eax
add esp, 4
mov dword [esp + 0x58], ebx
xor esi, esi
mov byte [esp + 0x84], 9
cmp ebx, esi
je 0x1004dd3c
mov eax, dword [esp + 0x14]
mov dword [ebx + 4], esi
cmp eax, esi
mov dword [ebx + 8], 1
je 0x1004dc93
mov eax, dword [eax]
cmp eax, esi
je 0x1004dc93
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov dword [esp + 0x24], eax
jmp 0x1004dc97
mov dword [esp + 0x24], esi
mov eax, dword [esp + 0x2c]
cmp eax, esi
je 0x1004dcb0
mov eax, dword [eax]
cmp eax, esi
je 0x1004dcb0
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
mov ebp, eax
jmp 0x1004dcb2
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 0x1004dcd9
test esi, esi
je 0x1004dd34
push 0x8007000e
call fcn.100f44c8
mov edi, dword [esp + 0x14]
test edi, edi
je 0x1004dce5
mov esi, dword [edi]
jmp 0x1004dce7
xor esi, esi
test esi, esi
je 0x1004dd07
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 0x1004dd13
mov esi, dword [eax]
jmp 0x1004dd15
xor esi, esi
test esi, esi
je 0x1004dd38
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 0x1004dd40
mov edi, dword [esp + 0x14]
test edi, edi
mov byte [esp + 0x84], 1
je 0x1004dd6e
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x1004dd74
mov ecx, edi
call fcn.1002f5a0
push edi
call fcn.10173959
add esp, 4
jmp 0x1004dd74
mov ebx, dword [sym.imp.KERNEL32.dll_InterlockedDecrement]
test esi, esi
je 0x1004dd7c
mov eax, dword [esi]
jmp 0x1004dd7e
xor eax, eax
mov edi, dword [esp + 0x28]
push 1
push eax
mov ecx, edi
call fcn.1005e8d0
test esi, esi
je 0x1004ddc0
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x1004ddc0
mov eax, dword [esi]
test eax, eax
je 0x1004dda7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1004ddb7
push eax
call fcn.10173959
add esp, 4
push esi
call fcn.10173959
add esp, 4
push 0xc
call fcn.10173930
mov esi, eax
add esp, 4
mov dword [esp + 0x58], esi
test esi, esi
mov byte [esp + 0x84], 0xa
je 0x1004de10
push 0x101fa2d8
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 0x1004de12
mov edx, 0x101fa2d8
test edx, edx
je 0x1004de12
push 0x8007000e
call fcn.100f44c8
jmp 0x1004de12
xor esi, esi
mov ebp, dword [esp + 0x1c]
mov byte [esp + 0x84], 1
test ebp, ebp
mov dword [esp + 0x14], esi
je 0x1004de43
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.100c9dc1
add esp, 0xc
mov edi, dword [esp + 0x2c]
mov byte [esp + 0x84], 0
test edi, edi
je 0x1004de83
lea eax, [edi + 8]
push eax
call ebx
test eax, eax
jne 0x1004de83
mov eax, dword [edi]
test eax, eax
je 0x1004de6a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [edi + 4]
test eax, eax
je 0x1004de7a
push eax
call fcn.10173959
add esp, 4
push edi
call fcn.10173959
add esp, 4
test esi, esi
mov dword [esp + 0x84], 0xffffffff
je 0x1004dec2
lea ecx, [esi + 8]
push ecx
call ebx
test eax, eax
jne 0x1004dec2
mov eax, dword [esi]
test eax, eax
je 0x1004dea9
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esi + 4]
test eax, eax
je 0x1004deb9
push eax
call fcn.10173959
add esp, 4
push esi
call fcn.10173959
add esp, 4
mov eax, dword [esp + 0x10]
xor ebp, ebp
cmp eax, ebp
je 0x1004dee0
cmp dword [esp + 0x48], ebp
je 0x1004ded9
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 0x1004deef
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x38]
cmp eax, ebp
je 0x1004defe
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [esp + 0x30]
cmp eax, ebp
je 0x1004df0c
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x3c]
cmp eax, ebp
je 0x1004df1a
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 0x1004d655
xor edi, edi
mov eax, dword [esp + 0x20]
cmp eax, edi
je 0x1004df3f
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov eax, dword [esp + 0x44]
cmp eax, edi
je 0x1004df4d
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