Function at 0x1018d7c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x101d5e48
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x10204774]
push ebx
push esi
mov esi, ecx
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 8], eax
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x28], 0
push ecx
lea ecx, [esp + 0x34]
call fcn.100c4160
push str.from
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 1
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018d8ae
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 2
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0x18]
call fcn.100c82f0
lea ecx, [esp + 0x14]
call fcn.100c83e0
lea eax, [esp + 0x14]
push eax
call fcn.10196550
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
lea ecx, [esi + 0x1c]
call fcn.10193230
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push str.reply_to
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018d94c
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 3
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0x18]
call fcn.100c82f0
lea ecx, [esp + 0x14]
call fcn.100c83e0
lea eax, [esp + 0x14]
push eax
call fcn.10196550
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
lea ecx, [esi + 0x44]
call fcn.10193230
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push 0x1024aaa4
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018da20
mov eax, dword [esp + 8]
lea edx, [esp + 0x18]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 4
call fcn.100c4c10
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.100c4a90
lea ecx, [esp + 8]
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0xc]
call fcn.100c82f0
lea ecx, [esp + 8]
call fcn.100c83e0
lea eax, [esp + 8]
push eax
call fcn.10196550
mov eax, dword [esp + 0xc]
add esp, 4
test eax, eax
je 0x1018da20
push eax
lea ecx, [esp + 0x1c]
call fcn.100c9510
mov ecx, dword [esp + 0x18]
push 1
push 0
push ecx
mov ecx, esi
mov byte [esp + 0x34], 5
call fcn.1018f4b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.100c9e10
push str.date
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018dac1
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 6
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0x18]
call fcn.100c82f0
lea ecx, [esp + 0x14]
call fcn.100c83e0
lea eax, [esp + 0x14]
push eax
call fcn.10196550
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
lea ecx, [esi + 0xa0]
call fcn.100ca170
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push str.subject
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018db5f
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 7
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0x18]
call fcn.100c82f0
lea ecx, [esp + 0x14]
call fcn.100c83e0
lea eax, [esp + 0x14]
push eax
call fcn.10196550
mov ecx, dword [esp + 0x18]
add esp, 4
push ecx
lea ecx, [esi + 8]
call fcn.10193b10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push 0x1024aa90
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018dc29
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
mov bl, 8
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0x18]
call fcn.100c82f0
lea ecx, [esp + 0x14]
call fcn.100c83e0
lea eax, [esp + 0x14]
push eax
call fcn.10196550
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x1018dc1b
push eax
lea ecx, [esp + 0x1c]
call fcn.100c9510
mov ecx, dword [esp + 0x18]
push 1
push 1
push ecx
mov ecx, esi
mov byte [esp + 0x34], 9
call fcn.1018f4b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100c9e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push 0x1024aa8c
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018dcf3
mov eax, dword [esp + 8]
lea edx, [esp + 0x14]
mov ecx, dword [eax - 8]
mov eax, dword [esp + 0xc]
add eax, ecx
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov dword [esp + 0xc], eax
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
mov bl, 0xa
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], bl
call fcn.100c83e0
push 0x3a
lea ecx, [esp + 0x18]
call fcn.100c82f0
lea ecx, [esp + 0x14]
call fcn.100c83e0
lea eax, [esp + 0x14]
push eax
call fcn.10196550
mov eax, dword [esp + 0x18]
add esp, 4
test eax, eax
je 0x1018dce5
push eax
lea ecx, [esp + 0x1c]
call fcn.100c9510
mov ecx, dword [esp + 0x18]
push 1
push 2
push ecx
mov ecx, esi
mov byte [esp + 0x34], 0xb
call fcn.1018f4b0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], bl
call fcn.100c9e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push str.content_transfer_encoding
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov ecx, dword [esp + 8]
lea edx, [esp + 0x10]
lea eax, [esp + 0xc]
push edx
mov edx, dword [esp + 0x34]
push eax
push ecx
push edx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018ddd2
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
sub ecx, eax
lea edx, [esp + 0x14]
push ecx
push eax
push edx
lea ecx, [esp + 0x3c]
call fcn.100c6c80
lea eax, [esp + 0x14]
mov byte [esp + 0x28], 0xc
push eax
call fcn.10196550
add esp, 4
lea ecx, [esp + 0x18]
push 0x10264018
call fcn.100c4160
mov edx, dword [esp + 0x14]
push 0x1024aa6c
lea ecx, [esp + 0x1c]
push 0x1024aa68
push ecx
mov bl, 0xd
push str.content_transfer_encoding
push edx
mov ecx, esi
mov byte [esp + 0x3c], bl
call fcn.1018ebd0
test eax, eax
je 0x1018ddb6
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x1c]
push eax
call fcn.100c9510
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
mov byte [esp + 0x2c], 0xe
call fcn.10195ef0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.100c9e10
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0xc
call fcn.100c4a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push str.content_disposition
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018deeb
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
sub edx, eax
lea ecx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.100c6c80
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0xf
push ecx
call fcn.10196550
add esp, 4
lea ecx, [esp + 0x18]
push 0x10264018
call fcn.100c4160
mov eax, dword [esp + 0x14]
push 0
lea edx, [esp + 0x1c]
push 0x1024aa68
push edx
mov bl, 0x10
push str.content_disposition
push eax
mov ecx, esi
mov byte [esp + 0x3c], bl
call fcn.1018ebd0
test eax, eax
je 0x1018de92
mov ecx, dword [esp + 0x18]
push ecx
lea ecx, [esp + 0x20]
call fcn.100c9510
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
mov byte [esp + 0x2c], 0x11
call fcn.10195f00
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.100c9e10
mov eax, dword [esp + 0x14]
push 0x1024aa6c
lea edx, [esp + 0x1c]
push 0x1024aa50
push edx
push str.filename
push eax
mov ecx, esi
call fcn.1018ebd0
test eax, eax
je 0x1018decf
mov eax, dword [esp + 0x18]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1018decf
mov ecx, dword [esi + 0x9c]
push 1
push eax
call fcn.10195de0
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0xf
call fcn.100c4a90
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.100c4a90
push str.content_type
lea ecx, [esp + 0xc]
call fcn.100c4cf0
mov eax, dword [esp + 8]
lea ecx, [esp + 0x10]
lea edx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
mov ecx, esi
call fcn.1018ea40
test eax, eax
je 0x1018e0aa
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0xc]
sub edx, eax
lea ecx, [esp + 0x30]
push edx
push eax
lea eax, [esp + 0x20]
push eax
call fcn.100c6c80
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 0x12
push ecx
call fcn.10196550
add esp, 4
lea ecx, [esp + 0x14]
push 0x10264018
call fcn.100c4160
mov eax, dword [esp + 0x18]
push 0
lea edx, [esp + 0x18]
push 0x1024aa68
push edx
mov bl, 0x13
push str.content_type
push eax
mov ecx, esi
mov byte [esp + 0x3c], bl
call fcn.1018ebd0
test eax, eax
je 0x1018dfab
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.100c9510
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
mov byte [esp + 0x2c], 0x14
call fcn.10195ec0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.100c9e10
mov eax, dword [esp + 0x18]
push 0x1024aa6c
lea edx, [esp + 0x18]
push 0x1024aa50
push edx
push str.charset
push eax
mov ecx, esi
call fcn.1018ebd0
test eax, eax
je 0x1018dffd
mov ecx, dword [esp + 0x14]
push ecx
lea ecx, [esp + 0x20]
call fcn.100c9510
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push eax
mov byte [esp + 0x2c], 0x15
call fcn.10195ca0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.100c9e10
mov eax, dword [esp + 0x18]
push 0x1024aa6c
lea edx, [esp + 0x18]
push 0x1024aa50
push edx
push str.name
push eax
mov ecx, esi
call fcn.1018ebd0
test eax, eax
je 0x1018e03a
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x1018e03a
mov ecx, dword [esi + 0x9c]
push 1
push eax
call fcn.10195de0
mov edx, dword [esp + 0x18]
push 0x1024aa6c
lea ecx, [esp + 0x18]
push 0x1024aa50
push ecx
push str.boundary
push edx
mov ecx, esi
call fcn.1018ebd0
test eax, eax
je 0x1018e08e
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push eax
call fcn.100c9510
mov eax, dword [eax]
mov ecx, dword [esi + 0x9c]
push 0
push eax
mov byte [esp + 0x30], 0x16
call fcn.101956b0
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28], bl
call fcn.100c9e10
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 0x12
call fcn.100c4a90
lea ecx, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.100c4a90
lea ecx, [esp + 0x30]
mov byte [esp + 0x28], 0
call fcn.100c4a90
lea ecx, [esp + 8]
mov dword [esp + 0x28], 0xffffffff
call fcn.100c4a90
mov ecx, dword [esp + 0x20]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x24
ret 4