Function at 0x100b9ac0
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100e32c3
mov eax, dword fs:[0]
push eax
sub esp, 0x2bc
mov eax, dword [0x10115034]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x2b4], 0
mov edx, 0x100f77b8
mov dword [ebp - 0x2b8], 0
call fcn.100af410
test eax, eax
jne 0x100b9b37
push eax
push 0x100e89b2
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x28], al
call fcn.10006eb0
lea esi, [ebp - 0x28]
mov ebx, 1
jmp 0x100b9b7f
mov eax, dword [eax + 0x10]
mov edx, 0x100e89b3
test eax, eax
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
cmovne edx, eax
mov byte [ebp - 0x40], 0
cmp byte [edx], 0
jne 0x100b9b5f
xor ecx, ecx
jmp 0x100b9b6d
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100b9b64
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x40]
call fcn.10006eb0
lea esi, [ebp - 0x40]
mov ebx, 2
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
mov dword [ebp - 0x44], 0xf
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x58], 0
jae 0x100b9bb4
mov eax, dword [esi + 0x10]
inc eax
je 0x100b9bbf
push eax
lea eax, [ebp - 0x58]
push esi
push eax
call dword [sym.imp.MSVCR120.dll_memmove]
add esp, 0xc
jmp 0x100b9bbf
mov eax, dword [esi]
mov dword [ebp - 0x58], eax
mov dword [esi], 0
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x48], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x44], eax
mov dword [esi + 0x14], 0xf
mov dword [esi + 0x10], 0
mov byte [esi], 0
mov dword [ebp - 4], 1
mov esi, dword [sym.imp.MSVCR120.dll_void___cdecl_operator_delete_void__]
test bl, 2
je 0x100b9c17
and ebx, 0xfffffffd
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9c05
push dword [ebp - 0x40]
call esi
add esp, 4
mov dword [ebp - 0x2c], 0xf
mov dword [ebp - 0x30], 0
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 2
test bl, 1
je 0x100b9c49
and ebx, 0xfffffffe
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9c37
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, str.mailMsg
cmovae eax, dword [ebp - 0x58]
lea esp, [esp]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100b9c80
test dl, dl
je 0x100b9c7c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100b9c80
add eax, 2
add ecx, 2
test dl, dl
jne 0x100b9c60
xor eax, eax
jmp 0x100b9c85
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100baa00
lea ecx, [ebp - 0x268]
call fcn.100bad60
mov edx, 0x100f77c8
mov byte [ebp - 4], 3
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100b9cc4
push 0x100e89b6
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 4
jmp 0x100b9ce3
mov eax, dword [eax + 0x10]
mov ecx, 0x100e89b7
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 8
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100b9d34
cmp dword [ebp - 0x254], 0x10
jb 0x100b9d0d
push dword [ebp - 0x268]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x268]
mov dword [ebp - 0x254], 0xf
mov dword [ebp - 0x258], 0
mov byte [ebp - 0x268], 0
call fcn.10006750
test bl, 8
je 0x100b9d62
and ebx, 0xfffffff7
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9d50
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test bl, 4
je 0x100b9d85
and ebx, 0xfffffffb
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9d85
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, str.protocol_version
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100b9dad
push 0x100e89f5
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x10
jmp 0x100b9dcc
mov eax, dword [eax + 0x10]
mov ecx, 0x100e89f6
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x20
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100b9e1d
cmp dword [ebp - 0x23c], 0x10
jb 0x100b9df6
push dword [ebp - 0x250]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x250]
mov dword [ebp - 0x23c], 0xf
mov dword [ebp - 0x240], 0
mov byte [ebp - 0x250], 0
call fcn.10006750
test bl, 0x20
je 0x100b9e4b
and ebx, 0xffffffdf
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9e39
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test bl, 0x10
je 0x100b9e6e
and ebx, 0xffffffef
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9e6e
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f77e4
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100b9e96
push 0x100e89f7
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x40
jmp 0x100b9eb8
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8a16
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x80
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100b9f09
cmp dword [ebp - 0x224], 0x10
jb 0x100b9ee2
push dword [ebp - 0x238]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x238]
mov dword [ebp - 0x224], 0xf
mov dword [ebp - 0x228], 0
mov byte [ebp - 0x238], 0
call fcn.10006750
test bl, bl
jns 0x100b9f39
and ebx, 0xffffff7f
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9f27
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test bl, 0x40
je 0x100b9f5c
and ebx, 0xffffffbf
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100b9f5c
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f77f0
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100b9f87
push 0x100e8a17
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x100
jmp 0x100b9fa9
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8a56
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x200
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100b9ffa
cmp dword [ebp - 0x20c], 0x10
jb 0x100b9fd3
push dword [ebp - 0x220]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x220]
mov dword [ebp - 0x20c], 0xf
mov dword [ebp - 0x210], 0
mov byte [ebp - 0x220], 0
call fcn.10006750
test ebx, 0x200
je 0x100ba02e
and ebx, 0xfffffdff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba01c
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x100
je 0x100ba057
and ebx, 0xfffffeff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba057
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f77f8
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba082
push 0x100e8a57
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x400
jmp 0x100ba0a4
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8a66
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x800
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100ba0f5
cmp dword [ebp - 0x1f4], 0x10
jb 0x100ba0ce
push dword [ebp - 0x208]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x1f4], 0xf
mov dword [ebp - 0x1f8], 0
mov byte [ebp - 0x208], 0
call fcn.10006750
test ebx, 0x800
je 0x100ba129
and ebx, 0xfffff7ff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba117
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x400
je 0x100ba152
and ebx, 0xfffffbff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba152
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f77fc
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba17d
push 0x100e8a67
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x1000
jmp 0x100ba19f
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8abe
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x2000
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100ba1f0
cmp dword [ebp - 0x1dc], 0x10
jb 0x100ba1c9
push dword [ebp - 0x1f0]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1dc], 0xf
mov dword [ebp - 0x1e0], 0
mov byte [ebp - 0x1f0], 0
call fcn.10006750
test ebx, 0x2000
je 0x100ba224
and ebx, 0xffffdfff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba212
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x1000
je 0x100ba24d
and ebx, 0xffffefff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba24d
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f7808
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba278
push 0x100e8abf
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x4000
jmp 0x100ba29a
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8ae2
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x8000
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100ba2eb
cmp dword [ebp - 0x1c4], 0x10
jb 0x100ba2c4
push dword [ebp - 0x1d8]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x1d8]
mov dword [ebp - 0x1c4], 0xf
mov dword [ebp - 0x1c8], 0
mov byte [ebp - 0x1d8], 0
call fcn.10006750
test ebx, 0x8000
je 0x100ba31f
and ebx, 0xffff7fff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba30d
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x4000
je 0x100ba348
and ebx, 0xffffbfff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba348
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f7810
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba373
push 0x100e8ae3
lea ecx, [ebp - 0x40]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x10000
jmp 0x100ba395
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8b1e
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
mov dword [ebp - 0x2b8], eax
or ebx, 0x20000
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x2b4], ebx
cmp ecx, eax
je 0x100ba3e6
cmp dword [ebp - 0x1ac], 0x10
jb 0x100ba3bf
push dword [ebp - 0x1c0]
call esi
mov eax, dword [ebp - 0x2b8]
add esp, 4
push eax
lea ecx, [ebp - 0x1c0]
mov dword [ebp - 0x1ac], 0xf
mov dword [ebp - 0x1b0], 0
mov byte [ebp - 0x1c0], 0
call fcn.10006750
test ebx, 0x20000
je 0x100ba41a
and ebx, 0xfffdffff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba408
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x10000
je 0x100ba443
and ebx, 0xfffeffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba443
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, str.body
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba468
push 0x100e8b1f
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x40000
jmp 0x100ba484
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8b37
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
or ebx, 0x80000
push eax
lea ecx, [ebp - 0x1a8]
mov dword [ebp - 0x2b4], ebx
call fcn.100054a0
test ebx, 0x80000
je 0x100ba4ca
and ebx, 0xfff7ffff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba4b8
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x40000
je 0x100ba4f3
and ebx, 0xfffbffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba4f3
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f7820
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba518
push 0x100e8b72
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x100000
jmp 0x100ba534
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8b73
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
or ebx, 0x200000
push eax
lea ecx, [ebp - 0xe8]
mov dword [ebp - 0x2b4], ebx
call fcn.100054a0
test ebx, 0x200000
je 0x100ba57a
and ebx, 0xffdfffff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba568
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x100000
je 0x100ba5a3
and ebx, 0xffefffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba5a3
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f7828
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba5c8
push 0x100e8b8a
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x400000
jmp 0x100ba5e4
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8b8b
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
or ebx, 0x800000
push eax
lea ecx, [ebp - 0x190]
mov dword [ebp - 0x2b4], ebx
call fcn.100054a0
test ebx, 0x800000
je 0x100ba62a
and ebx, 0xff7fffff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba618
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x400000
je 0x100ba653
and ebx, 0xffbfffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba653
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f7830
mov ecx, edi
call fcn.100af410
mov dword [ebp - 0x2b8], eax
test eax, eax
jne 0x100ba67e
push 0x100e8bc6
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x1000000
jmp 0x100ba68f
mov edx, dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.100231d0
or ebx, 0x2000000
push eax
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x2b4], ebx
call fcn.100054a0
test ebx, 0x2000000
je 0x100ba6d5
and ebx, 0xfdffffff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba6c3
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x1000000
je 0x100ba6fe
and ebx, 0xfeffffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba6fe
push dword [ebp - 0x40]
call esi
add esp, 4
mov eax, dword [ebp - 0x2b8]
test eax, eax
je 0x100ba740
cmp dword [eax + 0xc], 4
jne 0x100ba740
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8bc7
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0xa0]
call fcn.100054e0
cmp dword [ebp - 0x90], 0
jne 0x100ba740
push 0x100f783c
lea ecx, [ebp - 0xa0]
call fcn.100054e0
mov edx, str.sender_name
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba765
push 0x100e8bda
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x4000000
jmp 0x100ba781
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8bdb
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
or ebx, 0x8000000
push eax
lea ecx, [ebp - 0x178]
mov dword [ebp - 0x2b4], ebx
call fcn.100054a0
test ebx, 0x8000000
je 0x100ba7c7
and ebx, 0xf7ffffff
cmp dword [ebp - 0x14], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba7b5
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x4000000
je 0x100ba7f0
and ebx, 0xfbffffff
cmp dword [ebp - 0x2c], 0x10
mov dword [ebp - 0x2b4], ebx
jb 0x100ba7f0
push dword [ebp - 0x40]
call esi
add esp, 4
mov edx, 0x100f784c
mov ecx, edi
call fcn.100af410
test eax, eax
je 0x100ba833
push 0
push 1
xor edx, edx
mov ecx, eax
call fcn.100ae790
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.100068a0
push eax
lea ecx, [ebp - 0x160]
call fcn.100054a0
cmp dword [ebp - 0x14], 0x10
jb 0x100ba833
push dword [ebp - 0x28]
call esi
add esp, 4
mov edx, str.recipient_name
mov ecx, edi
call fcn.100af410
test eax, eax
je 0x100ba876
push 0
push 1
xor edx, edx
mov ecx, eax
call fcn.100ae790
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.100068a0
push eax
lea ecx, [ebp - 0x148]
call fcn.100054a0
cmp dword [ebp - 0x14], 0x10
jb 0x100ba876
push dword [ebp - 0x28]
call esi
add esp, 4
mov edx, 0x100f7868
mov ecx, edi
call fcn.100af410
test eax, eax
je 0x100ba8b9
push 0
push 1
xor edx, edx
mov ecx, eax
call fcn.100ae790
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.100068a0
push eax
lea ecx, [ebp - 0xd0]
call fcn.100054a0
cmp dword [ebp - 0x14], 0x10
jb 0x100ba8b9
push dword [ebp - 0x28]
call esi
add esp, 4
mov edx, str.cc_name
mov ecx, edi
call fcn.100af410
test eax, eax
je 0x100ba8fc
push 0
push 1
xor edx, edx
mov ecx, eax
call fcn.100ae790
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.100068a0
push eax
lea ecx, [ebp - 0xb8]
call fcn.100054a0
cmp dword [ebp - 0x14], 0x10
jb 0x100ba8fc
push dword [ebp - 0x28]
call esi
add esp, 4
mov edx, str.attachments
mov ecx, edi
call fcn.100af410
test eax, eax
je 0x100ba93f
push 0
push 1
xor edx, edx
mov ecx, eax
call fcn.100ae790
add esp, 8
lea ecx, [ebp - 0x28]
push eax
call fcn.100068a0
push eax
lea ecx, [ebp - 0x118]
call fcn.100054a0
cmp dword [ebp - 0x14], 0x10
jb 0x100ba93f
push dword [ebp - 0x28]
call esi
add esp, 4
mov edx, 0x100f7880
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100ba964
push 0x100e8c09
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x10000000
jmp 0x100ba980
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8c0a
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x28]
call fcn.100068a0
or ebx, 0x20000000
push eax
lea ecx, [ebp - 0x130]
call fcn.100054a0
test ebx, 0x20000000
je 0x100ba9ba
and ebx, 0xdfffffff
cmp dword [ebp - 0x14], 0x10
jb 0x100ba9a8
push dword [ebp - 0x28]
call esi
add esp, 4
mov dword [ebp - 0x14], 0xf
mov dword [ebp - 0x18], 0
mov byte [ebp - 0x28], 0
mov dword [ebp - 4], 3
test ebx, 0x10000000
je 0x100ba9d7
cmp dword [ebp - 0x2c], 0x10
jb 0x100ba9d7
push dword [ebp - 0x40]
call esi
add esp, 4
lea eax, [ebp - 0x268]
push eax
push ecx
call fcn.10019490
add esp, 4
mov ecx, eax
call fcn.100b2fd0
lea ecx, [ebp - 0x268]
call fcn.10019d90
mov bl, 1
jmp 0x100bad35
cmp dword [ebp - 0x44], 0x10
lea eax, [ebp - 0x58]
mov ecx, str.downloadMsg
cmovae eax, dword [ebp - 0x58]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x100baa30
test dl, dl
je 0x100baa2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x100baa30
add eax, 2
add ecx, 2
test dl, dl
jne 0x100baa10
xor eax, eax
jmp 0x100baa35
sbb eax, eax
or eax, 1
test eax, eax
jne 0x100bad33
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 0x2c4], eax
call fcn.1000b330
mov dword [ebp - 0x2c8], eax
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x2c0], 0
mov dword [ebp - 0x2bc], 0
call fcn.1000b330
mov dword [ebp - 0x2c0], eax
mov edx, str.data_legacy_message_id
mov byte [ebp - 4], 0x13
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100baaa3
push 0x100e8c0b
lea ecx, [ebp - 0x280]
call fcn.100068a0
or ebx, 0x40000000
jmp 0x100baabf
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8c46
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x40]
call fcn.100068a0
or ebx, 0x80000000
push eax
lea ecx, [ebp - 0x70]
call fcn.100066e0
mov dword [ebp - 4], 0x15
test ebx, ebx
jns 0x100baae1
lea ecx, [ebp - 0x40]
and ebx, 0x7fffffff
call fcn.10006900
mov byte [ebp - 4], 0x16
test ebx, 0x40000000
je 0x100baaf8
lea ecx, [ebp - 0x280]
call fcn.10006900
push 0
push 0x100f78a4
lea ecx, [ebp - 0x70]
call fcn.10005520
cmp eax, 0xffffffff
je 0x100bab3b
push 0
push str.ymreqid
lea ecx, [ebp - 0x70]
call fcn.10005520
push eax
push 0
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x70]
call fcn.10005560
push eax
lea ecx, [ebp - 0x70]
call fcn.100054a0
lea ecx, [ebp - 0x28]
call fcn.10006900
push str.datalegacyid
lea ecx, [ebp - 0x28]
call fcn.100068a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x17
push eax
lea ecx, [ebp - 0x2c8]
call fcn.100c1930
lea ecx, [ebp - 0x70]
cmp eax, ecx
je 0x100bab6e
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10006b20
mov byte [ebp - 4], 0x16
cmp dword [ebp - 0x14], 0x10
jb 0x100bab80
push dword [ebp - 0x28]
call esi
add esp, 4
mov edx, str.path
mov ecx, edi
call fcn.100af410
test eax, eax
jne 0x100baba7
push 0x100e8c47
lea ecx, [ebp - 0x298]
call fcn.100068a0
mov ebx, 1
jmp 0x100babc5
mov eax, dword [eax + 0x10]
mov ecx, 0x100e8c9a
test eax, eax
cmovne ecx, eax
push ecx
lea ecx, [ebp - 0x2b0]
call fcn.100068a0
mov ebx, 2
push eax
lea ecx, [ebp - 0x88]
call fcn.100066e0
mov dword [ebp - 4], 0x19
test bl, 2
je 0x100babeb
lea ecx, [ebp - 0x2b0]
and ebx, 0xfffffffd
call fcn.10006900
mov byte [ebp - 4], 0x1a
test bl, 1
je 0x100babff
lea ecx, [ebp - 0x298]
call fcn.10006900
push str.attachment_path
lea ecx, [ebp - 0x28]
call fcn.100068a0
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x1b
push eax
lea ecx, [ebp - 0x2c0]
call fcn.100c1930
lea ecx, [ebp - 0x88]
cmp eax, ecx
je 0x100bac35
push 0xffffffffffffffff
push 0
push ecx
mov ecx, eax
call fcn.10006b20
mov byte [ebp - 4], 0x1a
cmp dword [ebp - 0x14], 0x10
jb 0x100bac47
push dword [ebp - 0x28]
call esi
add esp, 4
sub esp, 8
lea eax, [ebp - 0x2c0]
mov ecx, esp
mov dword [ebp - 0x2b8], esp
push ecx
push eax
call fcn.100b3320
sub esp, 8
mov byte [ebp - 4], 0x1c
mov ecx, esp
mov dword [ebp - 0x2b4], esp
lea eax, [ebp - 0x2c8]
push ecx
push eax
call fcn.100b3320
mov byte [ebp - 4], 0x1d
call fcn.10019490
mov ecx, eax
mov byte [ebp - 4], 0x1a
call fcn.100b3160
cmp dword [ebp - 0x74], 0x10
jb 0x100baca0
push dword [ebp - 0x88]
call esi
add esp, 4
cmp dword [ebp - 0x5c], 0x10
mov dword [ebp - 0x74], 0xf
mov dword [ebp - 0x78], 0
mov byte [ebp - 0x88], 0
jb 0x100bacc3
push dword [ebp - 0x70]
call esi
add esp, 4
lea eax, [ebp - 0x2c0]
mov dword [ebp - 0x5c], 0xf
push eax
push dword [ebp - 0x2c0]
lea ecx, [ebp - 0x2b8]
mov dword [ebp - 0x60], 0
mov byte [ebp - 0x70], 0
call fcn.100b37e0
lea eax, [ebp - 0x2b4]
push eax
lea ecx, [ebp - 0x2c0]
call fcn.100b33c0
push dword [ebp - 0x2b8]
lea ecx, [ebp - 0x2c0]
push dword [eax]
lea eax, [ebp - 0x2b8]
push eax
call fcn.100b33d0
lea ecx, [ebp - 0x2c0]
call fcn.10013190
lea ecx, [ebp - 0x2c8]
call fcn.100b3130
mov bl, 1
jmp 0x100bad35
xor bl, bl
lea ecx, [ebp - 0x58]
call fcn.10006900
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100dc8fb
mov esp, ebp
pop ebp
ret