Function at 0x10059ff0
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0xffffffffffffffff
push 0x1025e58d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov eax, dword [ecx + 0x1c]
push ebx
push ebp
push esi
test eax, eax
push edi
mov dword [esp + 0x78], ecx
jne 0x1005a021
xor eax, eax
jmp 0x1005ac98
lea eax, [esp + 0x10]
push eax
call fcn.10055c40
mov eax, dword [eax]
push 0
push 0x80
push 3
push 0
push 1
push connect
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
lea ecx, [esp + 0x10]
mov ebx, eax
call fcn.1008ec90
cmp ebx, 0xffffffff
je 0x1005a16c
push 0
push ebx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1005a088
push esi
push str.ReadMailInfo_file_size:_lu_B
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
cmp esi, 0xffffffff
je 0x1005a1bc
test esi, esi
je 0x1005a1bc
mov eax, esi
shr eax, 1
inc eax
lea ecx, [eax + eax]
push ecx
call fcn.1024ac71
mov ebp, eax
add esp, 4
test ebp, ebp
je 0x1005a19a
lea ecx, [esi + 2]
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push 0
and ecx, 3
rep stosb byte es:[edi], al
lea eax, [esp + 0x18]
mov dword [esp + 0x18], 0
push eax
push esi
push ebp
push ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [0x1030aa70]
test ecx, ecx
je 0x1005a10a
mov ecx, dword [esp + 0x14]
push ecx
push eax
push str.ReadMailInfo_after_read_file__bRead__d___dwRead__lu_
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x18
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x18]
call fcn.100ba8b0
xor edi, edi
push ebp
lea ecx, [esp + 0x1c]
mov dword [esp + 0xb0], edi
call fcn.100bb610
push ebp
call fcn.1024ac9a
add esp, 4
lea ecx, [esp + 0x18]
call fcn.100bbd00
push str.MailInfo
lea ecx, [esp + 0x1c]
call fcn.100bb820
test eax, eax
jne 0x1005a1ca
lea ecx, [esp + 0x18]
mov dword [esp + 0xac], 0xffffffff
call fcn.100ba940
xor eax, eax
jmp 0x1005ac98
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1005a1c3
push str.MailInfo.dat
push str.ReadMailInfo_read_file__s__fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x14
xor eax, eax
jmp 0x1005ac98
mov eax, dword [0x1030aa70]
test eax, eax
je 0x1005a1bc
push str.ReadMailInfo_new_memory_fail
push str.MailInfo
push 4
push 0x1030a1dc
call fcn.100a4680
add esp, 0x10
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x1005ac98
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.GUID
lea ecx, [esp + 0x1c]
call fcn.100bb960
mov ebp, dword [esp + 0xb4]
test eax, eax
je 0x1005a222
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.100bbe60
mov eax, dword [eax]
lea ecx, [ebp + 8]
push ecx
push eax
mov byte [esp + 0xb4], 1
call fcn.100a8fb0
add esp, 8
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.ProcID
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a26a
lea esi, [ebp + 0x18]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], edi
call fcn.100bbe60
mov eax, dword [eax]
push esi
push 0x102b3870
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.ProcBit
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a2b2
lea esi, [ebp + 0x1c]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x1c]
mov dword [esi], edi
call fcn.100bbe60
mov eax, dword [eax]
push esi
push 0x102b3870
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Direction
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a2fa
lea ecx, [esp + 0x10]
lea esi, [ebp + 0x20]
push ecx
lea ecx, [esp + 0x1c]
mov dword [esi], edi
call fcn.100bbe60
mov eax, dword [eax]
push esi
push 0x102b3870
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.MailSize
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a345
lea esi, [ebp + 0x28]
lea edx, [esp + 0x10]
push edx
lea ecx, [esp + 0x1c]
mov dword [esi], edi
mov dword [esi + 4], edi
call fcn.100bbe60
mov eax, dword [eax]
push esi
push str._I64u
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.From
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a390
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.100bbe60
push eax
lea ecx, [ebp + 0x30]
mov byte [esp + 0xb0], 2
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push 0x102c8c0c
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a3db
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100bbe60
push eax
lea ecx, [ebp + 0x34]
mov byte [esp + 0xb0], 3
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push 0x102c8c04
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a426
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
call fcn.100bbe60
push eax
lea ecx, [ebp + 0x38]
mov byte [esp + 0xb0], 4
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Bccs
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a471
lea eax, [esp + 0x10]
lea ecx, [esp + 0x18]
push eax
call fcn.100bbe60
push eax
lea ecx, [ebp + 0x3c]
mov byte [esp + 0xb0], 5
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push 0x102b7c9c
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a4bc
lea ecx, [esp + 0x10]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100bbe60
push eax
lea ecx, [ebp + 0x40]
mov byte [esp + 0xb0], 6
call fcn.1008ee20
lea ecx, [esp + 0x10]
mov byte [esp + 0xac], 0
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.HasText
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a52a
lea edx, [esp + 0x10]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x18], edi
call fcn.100bbe60
mov eax, dword [eax]
lea ecx, [esp + 0x14]
push ecx
push 0x102b3a74
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x10]
call fcn.1008ec90
cmp dword [esp + 0x14], edi
je 0x1005a52a
mov esi, dword [esp + 0x78]
lea edx, [ebp + 0x44]
push 1
push edx
mov ecx, esi
call fcn.1005acf0
lea eax, [ebp + 0x48]
push edi
push eax
mov ecx, esi
call fcn.1005acf0
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Attach
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005ac6b
lea ecx, [esp + 0x18]
xor edi, edi
call fcn.100bbc60
mov eax, dword [0x1026c87c]
mov dword [esp + 0x60], eax
mov dword [esp + 0x64], eax
mov dword [esp + 0x68], eax
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
push 0x102f440c
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 0xb
mov dword [esp + 0x50], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], edi
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x68]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x6c]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x70]
call fcn.1008ef10
push 0x102f440c
lea ecx, [esp + 0x74]
call fcn.1008ef10
lea ecx, [esp + 0x18]
mov byte [esp + 0xac], 0xc
call fcn.100bbcd0
push 0x102c8bd0
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a624
lea ecx, [esp + 0x84]
mov dword [esp + 0x4c], edi
push ecx
lea ecx, [esp + 0x1c]
call fcn.100bbe60
mov eax, dword [eax]
lea edx, [esp + 0x4c]
push edx
push 0x102b3870
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x84]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Size
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a679
lea eax, [esp + 0x88]
lea ecx, [esp + 0x18]
push eax
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call fcn.100bbe60
mov eax, dword [eax]
lea ecx, [esp + 0x54]
push ecx
push str._I64u
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x88]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Status
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a6ca
lea edx, [esp + 0x9c]
lea ecx, [esp + 0x18]
push edx
mov dword [esp + 0x60], edi
call fcn.100bbe60
mov eax, dword [eax]
lea ecx, [esp + 0x5c]
push ecx
push 0x102b3870
push eax
call fcn.10076fcf
add esp, 0xc
lea ecx, [esp + 0x9c]
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Name
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a71c
lea edx, [esp + 0x98]
lea ecx, [esp + 0x18]
push edx
call fcn.100bbe60
push eax
lea ecx, [esp + 0x64]
mov byte [esp + 0xb0], 0xd
call fcn.1008ee20
lea ecx, [esp + 0x98]
mov byte [esp + 0xac], 0xc
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.Cache
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a768
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x18]
push eax
call fcn.100bbe60
push eax
lea ecx, [esp + 0x68]
mov byte [esp + 0xb0], 0xe
call fcn.1008ee20
lea ecx, [esp + 0x7c]
mov byte [esp + 0xac], 0xc
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.DecryptPath
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a7ba
lea ecx, [esp + 0x94]
push ecx
lea ecx, [esp + 0x1c]
call fcn.100bbe60
push eax
lea ecx, [esp + 0x6c]
mov byte [esp + 0xb0], 0xf
call fcn.1008ee20
lea ecx, [esp + 0x94]
mov byte [esp + 0xac], 0xc
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.DocWatermarkPath
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a80c
lea edx, [esp + 0x8c]
lea ecx, [esp + 0x18]
push edx
call fcn.100bbe60
push eax
lea ecx, [esp + 0x70]
mov byte [esp + 0xb0], 0x10
call fcn.1008ee20
lea ecx, [esp + 0x8c]
mov byte [esp + 0xac], 0xc
call fcn.1008ec90
lea ecx, [esp + 0x18]
call fcn.100bbcd0
push str.DecryptPath2
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
je 0x1005a85e
lea eax, [esp + 0x90]
lea ecx, [esp + 0x18]
push eax
call fcn.100bbe60
push eax
lea ecx, [esp + 0x74]
mov byte [esp + 0xb0], 0x11
call fcn.1008ee20
lea ecx, [esp + 0x90]
mov byte [esp + 0xac], 0xc
call fcn.1008ec90
mov ecx, dword [ebp + 0x50]
mov esi, dword [ebp + 0x4c]
mov ebx, ecx
mov dword [esp + 0x48], ebx
inc ebx
cmp ebx, edi
jne 0x1005a8a4
cmp esi, edi
je 0x1005a899
mov edx, ecx
dec ecx
test edx, edx
je 0x1005a88a
lea ebx, [ecx + 1]
mov ecx, esi
call fcn.100567b0
add esi, 0x28
dec ebx
jne 0x1005a87d
mov eax, dword [ebp + 0x4c]
push eax
call fcn.1024ac9a
add esp, 4
mov dword [ebp + 0x4c], edi
mov dword [ebp + 0x54], edi
mov dword [ebp + 0x50], edi
jmp 0x1005ab8e
cmp esi, edi
jne 0x1005a90d
lea edi, [ebx + ebx*4]
shl edi, 3
push edi
call fcn.1024ac71
mov ecx, edi
mov esi, eax
mov edx, ecx
xor eax, eax
mov edi, esi
mov dword [ebp + 0x4c], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
add esp, 4
and ecx, 3
mov dword [esp + 0x10], esi
rep stosb byte es:[edi], al
mov dword [esp + 0x74], esi
test esi, esi
mov byte [esp + 0xac], 0x12
je 0x1005a8eb
mov ecx, esi
call fcn.100552b0
add esi, 0x28
dec ebx
mov byte [esp + 0xac], 0xc
mov dword [esp + 0x10], esi
jne 0x1005a8d4
mov eax, dword [esp + 0x48]
inc eax
mov dword [ebp + 0x54], eax
mov dword [ebp + 0x50], eax
jmp 0x1005ab8e
cmp ebx, dword [ebp + 0x54]
jg 0x1005aa05
cmp ecx, ebx
jge 0x1005a984
sub ebx, ecx
lea ecx, [ecx + ecx*4]
xor eax, eax
lea esi, [esi + ecx*8]
lea ecx, [ebx + ebx*4]
shl ecx, 3
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
mov dword [esp + 0x10], esi
and ecx, 3
rep stosb byte es:[edi], al
mov eax, ebx
dec ebx
test eax, eax
je 0x1005a9f6
lea edi, [ebx + 1]
mov dword [esp + 0x74], esi
test esi, esi
mov byte [esp + 0xac], 0x13
je 0x1005a963
mov ecx, esi
call fcn.100552b0
add esi, 0x28
dec edi
mov byte [esp + 0xac], 0xc
mov dword [esp + 0x10], esi
jne 0x1005a94c
mov ecx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebp + 0x50], eax
jmp 0x1005ab8e
jle 0x1005a9f6
sub ecx, ebx
lea edx, [ebx + ebx*4]
mov eax, ecx
dec ecx
lea esi, [esi + edx*8]
test eax, eax
mov dword [esp + 0x10], esi
je 0x1005a9f6
lea edi, [ecx + 1]
lea ecx, [esi + 0x24]
mov byte [esp + 0xac], 0x17
call fcn.1008ec90
lea ecx, [esi + 0x20]
mov byte [esp + 0xac], 0x16
call fcn.1008ec90
lea ecx, [esi + 0x1c]
mov byte [esp + 0xac], 0x15
call fcn.1008ec90
lea ecx, [esi + 0x18]
mov byte [esp + 0xac], 0x14
call fcn.1008ec90
lea ecx, [esi + 0x14]
mov byte [esp + 0xac], 0xc
call fcn.1008ec90
add esi, 0x28
dec edi
mov dword [esp + 0x10], esi
jne 0x1005a99c
mov ecx, dword [esp + 0x48]
lea eax, [ecx + 1]
mov dword [ebp + 0x50], eax
jmp 0x1005ab8e
mov eax, dword [ebp + 0x58]
cmp eax, edi
jne 0x1005aa2f
mov eax, ecx
cdq
and edx, 7
add eax, edx
sar eax, 3
cmp eax, 4
jge 0x1005aa23
mov eax, 4
jmp 0x1005aa2f
cmp eax, 0x400
jle 0x1005aa2f
mov eax, 0x400
mov ecx, dword [ebp + 0x54]
add eax, ecx
cmp ebx, eax
mov dword [esp + 0x14], eax
jl 0x1005aa40
mov dword [esp + 0x14], ebx
mov eax, dword [esp + 0x14]
lea edx, [eax + eax*4]
shl edx, 3
push edx
call fcn.1024ac71
mov ecx, dword [ebp + 0x50]
mov esi, dword [ebp + 0x4c]
mov edi, eax
mov dword [esp + 0x78], eax
lea ecx, [ecx + ecx*4]
add esp, 4
shl ecx, 3
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebp + 0x50]
sub edx, ecx
lea ecx, [ecx + ecx*4]
lea esi, [eax + ecx*8]
lea ecx, [edx + edx*4]
shl ecx, 3
mov ebx, ecx
xor eax, eax
mov edi, esi
mov dword [esp + 0x80], esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, edx
dec edx
test eax, eax
je 0x1005ab6a
inc edx
mov dword [esp + 0x10], edx
mov dword [esp + 0xa0], esi
test esi, esi
je 0x1005ab49
mov edx, dword [0x1026c87c]
lea ecx, [esi + 0x14]
mov dword [ecx], edx
mov eax, dword [0x1026c87c]
lea edi, [esi + 0x18]
mov dword [edi], eax
mov edx, dword [0x1026c87c]
lea ebp, [esi + 0x1c]
mov dword [ebp], edx
mov eax, dword [0x1026c87c]
lea ebx, [esi + 0x20]
mov dword [ebx], eax
mov edx, dword [0x1026c87c]
mov dword [esi + 0x24], edx
xor eax, eax
push 0x102f440c
mov dword [esi + 8], eax
mov byte [esp + 0xb0], 0x1d
mov dword [esi], eax
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call fcn.1008ef10
push 0x102f440c
mov ecx, edi
call fcn.1008ef10
push 0x102f440c
mov ecx, ebp
call fcn.1008ef10
push 0x102f440c
mov ecx, ebx
call fcn.1008ef10
push 0x102f440c
lea ecx, [esi + 0x24]
call fcn.1008ef10
mov ebp, dword [esp + 0xb4]
mov eax, dword [esp + 0x10]
add esi, 0x28
dec eax
mov byte [esp + 0xac], 0xc
mov dword [esp + 0x80], esi
mov dword [esp + 0x10], eax
jne 0x1005aaaf
mov eax, dword [ebp + 0x4c]
push eax
call fcn.1024ac9a
mov eax, dword [esp + 0x78]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x18]
mov dword [ebp + 0x4c], eax
lea eax, [ecx + 1]
add esp, 4
mov dword [ebp + 0x50], eax
mov dword [ebp + 0x54], edx
mov eax, dword [esp + 0x48]
mov ecx, dword [ebp + 0x4c]
mov edx, dword [esp + 0x4c]
lea eax, [eax + eax*4]
lea esi, [ecx + eax*8]
mov dword [esi], edx
mov eax, dword [esp + 0x54]
mov dword [esi + 8], eax
mov ecx, dword [esp + 0x58]
mov dword [esi + 0xc], ecx
mov edx, dword [esp + 0x5c]
lea eax, [esp + 0x60]
lea ecx, [esi + 0x14]
push eax
mov dword [esi + 0x10], edx
call fcn.1008ee20
lea ecx, [esp + 0x64]
push ecx
lea ecx, [esi + 0x18]
call fcn.1008ee20
lea edx, [esp + 0x68]
lea ecx, [esi + 0x1c]
push edx
call fcn.1008ee20
lea eax, [esp + 0x6c]
lea ecx, [esi + 0x20]
push eax
call fcn.1008ee20
lea ecx, [esp + 0x70]
push ecx
lea ecx, [esi + 0x24]
call fcn.1008ee20
lea ecx, [esp + 0x18]
call fcn.100bbc90
lea ecx, [esp + 0x70]
mov byte [esp + 0xac], 0x21
call fcn.1008ec90
lea ecx, [esp + 0x6c]
mov byte [esp + 0xac], 0x20
call fcn.1008ec90
lea ecx, [esp + 0x68]
mov byte [esp + 0xac], 0x1f
call fcn.1008ec90
lea ecx, [esp + 0x64]
mov byte [esp + 0xac], 0x1e
call fcn.1008ec90
lea ecx, [esp + 0x60]
mov byte [esp + 0xac], 0
call fcn.1008ec90
push str.Attach
lea ecx, [esp + 0x1c]
call fcn.100bb960
test eax, eax
jne 0x1005a549
mov esi, dword [esp + 0x78]
push ebp
lea ecx, [esi + 0x28]
call fcn.10055370
lea ecx, [esp + 0x18]
mov dword [esi + 0x24], 1
mov dword [esp + 0xac], 0xffffffff
call fcn.100ba940
mov eax, 1
mov ecx, dword [esp + 0xa4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xa0
ret 4