Function at 0x405150
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Create process on windows
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x428506
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x434080]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x110], edi
mov dword [ebp - 0xf8], 0
xorps xmm0, xmm0
movups xmmword [ebp - 0x28], xmm0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
sub esp, 0x18
mov dword [ebp - 4], 0
mov ecx, esp
mov dword [ebp - 0xf8], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 1
mov dword [ecx + 0x14], 0xf
mov al, byte [0x4301bc]
mov byte [ecx], al
mov byte [ecx + 1], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
sub esp, 0x18
mov eax, esp
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 8
mov dword [eax + 0x14], 0xf
movq xmm0, qword [str.X_Unsent]
movq qword [eax], xmm0
mov byte [eax + 8], 0
mov byte [ebp - 4], 0
call fcn.00406590
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xf8], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 3
mov dword [ecx + 0x14], 0xf
mov ax, word [0x4301cc]
mov word [ecx], ax
mov al, byte [0x4301ce]
mov byte [ecx + 2], al
mov byte [ecx + 3], 0
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xc
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.MIME_Version]
movq qword [ecx], xmm0
mov eax, dword [0x4301d8]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406590
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0xf8], esp
mov dword [ebp - 0x10c], esi
push 0
call fcn.00411405
mov dword [ebp - 0x100], eax
lea eax, [ebp - 0x100]
push eax
lea eax, [ebp - 0x4c]
mov dword [ebp - 0xfc], edx
push eax
call fcn.004116fc
lea eax, [ebp - 0x4c]
push eax
push str._d__b__Y__H:_M:_S__z
lea eax, [ebp - 0x80]
push 0x50
push eax
call fcn.00411b09
xorps xmm0, xmm0
add esp, 0x1c
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
push eax
lea eax, [ebp - 0x80]
mov dword [esi + 0x14], 0
push eax
mov ecx, esi
call fcn.00401620
sub esp, 0x18
mov byte [ebp - 4], 3
mov ecx, esp
push str.Date
call fcn.00401700
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406590
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xf8], esp
push dword [edi + 4]
call fcn.00402380
sub esp, 0x18
mov byte [ebp - 4], 4
mov ecx, esp
push str.Subject
call fcn.00401700
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0
call fcn.00406590
mov eax, dword [edi + 4]
mov esi, dword [eax + 0x30]
mov eax, dword [eax + 0x34]
cmp esi, eax
mov dword [ebp - 0xf8], eax
mov dword [ebp - 0x108], esi
je 0x405558
push esi
lea ecx, [ebp - 0x80]
mov edi, 0x6f54
call fcn.00402380
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x68], eax
xorps xmm0, xmm0
mov dword [ebp - 0x30], 0
movups xmmword [ebp - 0x40], xmm0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov byte [ebp - 4], 6
cmp eax, 1
jne 0x40539e
mov dword [ebp - 0x30], 2
mov word [ebp - 0x40], di
mov byte [ebp - 0x3e], 0
jmp 0x4053c7
cmp eax, 2
jne 0x4053b5
mov dword [ebp - 0x30], eax
mov eax, 0x6343
mov word [ebp - 0x40], ax
mov byte [ebp - 0x3e], 0
jmp 0x4053c7
cmp eax, 3
jne 0x4053c7
push 0x4301f0
lea ecx, [ebp - 0x40]
call fcn.00407a40
sub esp, 0x18
lea eax, [ebp - 0x80]
mov ecx, esp
mov dword [ebp - 0xfc], esp
push eax
call fcn.00402380
sub esp, 0x18
mov byte [ebp - 4], 7
mov edi, esp
lea ecx, [ebp - 0x40]
xorps xmm0, xmm0
movups xmmword [edi], xmm0
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0
cmp dword [ebp - 0x2c], 0xf
mov eax, dword [ebp - 0x30]
cmova ecx, dword [ebp - 0x40]
mov dword [ebp - 0x10c], ecx
mov dword [ebp - 0x104], eax
cmp eax, 0x7fffffff
ja 0x406446
mov dword [edi + 0x14], 0xf
cmp eax, 0xf
ja 0x405437
mov dword [edi + 0x10], eax
movups xmm0, xmmword [ecx]
movups xmmword [edi], xmm0
jmp 0x4054ce
mov esi, eax
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x405453
mov eax, 0x80000000
mov esi, 0x7fffffff
add eax, 0x23
jmp 0x405474
cmp esi, 0x16
mov ecx, 0x16
cmovb esi, ecx
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x405496
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x40645a
push eax
call fcn.0040c3e1
add esp, 4
test eax, eax
je 0x406464
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x104]
jmp 0x4054af
test ecx, ecx
je 0x4054ad
push ecx
call fcn.0040c3e1
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x104]
jmp 0x4054af
xor ecx, ecx
mov dword [edi + 0x10], eax
inc eax
push eax
push dword [ebp - 0x10c]
mov dword [edi], ecx
push ecx
mov dword [edi + 0x14], esi
call fcn.0040d870
mov esi, dword [ebp - 0x108]
add esp, 0xc
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.00406590
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x405512
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405508
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406464
push ecx
push edx
call fcn.0040c685
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x6c]
cmp ecx, 0xf
jbe 0x40554a
mov edx, dword [ebp - 0x80]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405540
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40646e
push ecx
push edx
call fcn.0040c685
add esp, 8
add esi, 0x1c
cmp esi, dword [ebp - 0xf8]
jmp 0x40534b
xorps xmm0, xmm0
push 0x30
movups xmmword [ebp - 0x64], xmm0
call fcn.0040c3e1
movups xmm0, xmmword [str.___0_224a9de8_e91c_456e_9c86_b8204e46473c]
mov edi, eax
mov dword [ebp - 0x54], 0x29
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x50], 0x2f
movups xmmword [edi], xmm0
movups xmm0, xmmword [0x4302ec]
movups xmmword [edi + 0x10], xmm0
movq xmm0, qword [0x4302fc]
movq qword [edi + 0x20], xmm0
mov al, byte [0x430304]
mov byte [edi + 0x28], al
mov byte [edi + 0x29], 0
sub esp, 0x14
mov byte [ebp - 4], 8
mov esi, esp
mov dword [ebp - 0xfc], esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040c3e1
mov dword [esi], eax
mov dword [esi + 0x10], 0x10
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.multipart_mixed_]
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
mov byte [ebp - 4], 9
sub esp, 0x14
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xc
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.Content_Type]
movq qword [ecx], xmm0
mov eax, dword [0x430210]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 8
call fcn.00406590
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0xfc], ecx
push 0x29
push edi
push 0xa
push str._boundary
push ecx
push dword [ebp - 0xfc]
call fcn.004019e0
lea ecx, [ebp - 0x28]
call fcn.004069a0
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x405680
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov word [eax + ecx], 0xa
jmp 0x4056a0
push 1
push 0x430308
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xf8]
push 1
call fcn.00404f50
nop
mov edx, dword [ebp - 0x14]
mov eax, edx
mov ecx, dword [ebp - 0x18]
sub eax, ecx
cmp eax, 1
jb 0x4056c7
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x28]
cmova eax, dword [ebp - 0x28]
mov word [eax + ecx], 0xa
jmp 0x4056e5
push 1
push 0x430308
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0xf8]
push 1
call fcn.00404f50
sub esp, 0x18
mov edi, 0x7fffffff
mov ecx, esp
mov eax, edi
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x54]
sub eax, edx
cmp eax, 2
jb 0x406446
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
push edx
cmova eax, dword [ebp - 0x64]
push eax
push 2
push 0x430224
push ecx
push dword [ebp - 0xfc]
call fcn.004019e0
lea ecx, [ebp - 0x28]
call fcn.004069a0
xorps xmm0, xmm0
mov dword [ebp - 0xcc], 4
movups xmmword [ebp - 0xdc], xmm0
mov dword [ebp - 0xc8], 0xf
mov dword [ebp - 0xdc], 0x6c6d7468
mov byte [ebp - 0xd8], 0
mov ax, word [0x42fff8]
movups xmmword [ebp - 0x7c], xmm0
mov word [ebp - 0x7c], ax
mov al, byte [0x42fffa]
mov byte [ebp - 0x7a], al
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x6c], 3
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x79], 0
mov eax, dword [eax + 4]
lea ecx, [ebp - 0x7c]
add eax, 0x58
push ecx
lea ecx, [ebp - 0x34]
mov dword [ebp - 0xf8], eax
push ecx
mov ecx, eax
call fcn.004045e0
mov esi, dword [ebp - 0x2c]
cmp byte [esi + 0xd], 0
jne 0x4057ce
lea eax, [esi + 0x10]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00404cc0
test al, al
jne 0x4057ce
mov eax, dword [ebp - 0xf8]
cmp esi, dword [eax]
je 0x4057ce
add esi, 0x28
jmp 0x4057f6
movups xmmword [ebp - 0xf4], xmm0
mov dword [ebp - 0xe4], 0
lea esi, [ebp - 0xf4]
mov dword [ebp - 0xe0], 0xf
mov byte [ebp - 0xf4], 0
mov byte [ebp - 4], 0xa
mov ecx, esi
cmp dword [esi + 0x14], 0xf
jbe 0x405804
mov ecx, dword [esi]
mov esi, dword [esi + 0x10]
cmp esi, 4
jne 0x40586a
lea edx, [ebp - 0xdc]
sub esi, esi
jb 0x405827
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x40582c
add ecx, 4
add edx, 4
sub esi, 4
jae 0x405816
cmp esi, 0xfffffffc
je 0x405860
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x405859
cmp esi, 0xfffffffd
je 0x405860
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x405859
cmp esi, 0xfffffffe
je 0x405860
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x405859
cmp esi, 0xffffffff
je 0x405860
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x405860
sbb eax, eax
or eax, 1
jmp 0x405862
xor eax, eax
test eax, eax
jne 0x40586a
mov al, 1
jmp 0x40586c
xor al, al
mov ecx, str.text_plain
mov dword [ebp - 0x9c], 0
test al, al
mov dword [ebp - 0x98], 0
mov edx, str.text_html
xorps xmm0, xmm0
cmove edx, ecx
mov ecx, edx
movups xmmword [ebp - 0xac], xmm0
lea esi, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4058a0
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0xac]
call fcn.00401620
sub esp, 0x18
mov byte [ebp - 4], 0xd
mov ecx, esp
mov dword [ebp - 0xfc], esp
mov dword [ebp - 0xfc], ecx
mov eax, edi
mov edx, dword [ebp - 0x9c]
sub eax, edx
cmp eax, 0x16
jb 0x40644b
cmp dword [ebp - 0x98], 0xf
lea eax, [ebp - 0xac]
push 0x16
cmova eax, dword [ebp - 0xac]
push str.__charsetWindows_1252
push edx
push eax
push ecx
push dword [ebp - 0xfc]
call fcn.004019e0
mov edi, 0x1f00
mov byte [ebp - 4], 0xe
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xc
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.Content_Type]
movq qword [ecx], xmm0
mov eax, dword [0x430210]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xd
call fcn.00406590
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xfc], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.base64]
mov dword [ecx], eax
mov ax, word [0x43025c]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
sub esp, 0x18
mov byte [ebp - 4], 0xf
mov esi, esp
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040c3e1
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Content_Transfer_Encoding]
movups xmmword [eax], xmm0
movq xmm0, qword [0x430270]
movq qword [eax + 0x10], xmm0
mov cl, byte [0x430278]
mov byte [eax + 0x18], cl
lea ecx, [ebp - 0x28]
mov byte [eax + 0x19], 0
mov byte [ebp - 4], 0xd
call fcn.00406590
mov ecx, dword [ebp - 0x110]
mov eax, dword [ecx + 4]
lea ecx, [ebp - 0xc4]
add eax, 0x18
push eax
call fcn.00402380
mov byte [ebp - 4], 0x10
lea edx, [ebp - 0xc4]
sub esp, 0x18
xorps xmm0, xmm0
cmp dword [ebp - 0xb0], 0xf
mov eax, esp
mov dword [ebp - 0x108], eax
cmova edx, dword [ebp - 0xc4]
mov dword [ebp - 0xf8], edx
movups xmmword [eax], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 0xb4]
cmp ecx, 0x7fffffff
ja 0x406450
mov dword [eax + 0x14], 0xf
cmp ecx, 0xf
ja 0x405a66
mov dword [eax + 0x10], ecx
movups xmm0, xmmword [edx]
movups xmmword [eax], xmm0
jmp 0x405aff
mov esi, ecx
or esi, 0xf
cmp esi, 0x7fffffff
jbe 0x405a82
mov eax, 0x80000000
mov esi, 0x7fffffff
add eax, 0x23
jmp 0x405aa3
cmp esi, 0x16
mov ecx, 0x16
cmovb esi, ecx
lea ecx, [esi + 1]
cmp ecx, 0x1000
jb 0x405ac5
lea eax, [ecx + 0x23]
cmp eax, ecx
jbe 0x40645a
push eax
call fcn.0040c3e1
add esp, 4
test eax, eax
je 0x40646e
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
mov eax, dword [ebp - 0x108]
jmp 0x405ade
test ecx, ecx
je 0x405adc
push ecx
call fcn.0040c3e1
mov ecx, eax
add esp, 4
mov eax, dword [ebp - 0x108]
jmp 0x405ade
xor ecx, ecx
mov edx, dword [ebp - 0xb4]
mov dword [eax], ecx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], esi
lea eax, [edx + 1]
push eax
push dword [ebp - 0xf8]
push ecx
call fcn.0040d870
add esp, 0xc
lea ecx, [ebp - 0x28]
call fcn.00406770
mov ecx, dword [ebp - 0x110]
xor esi, esi
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], esi
mov dword [ebp - 0x114], esi
mov eax, dword [ecx + 4]
mov ecx, dword [eax + 0x40]
add eax, 0x3c
mov dword [ebp - 0xf8], eax
sub ecx, dword [eax]
mov eax, 0x2aaaaaab
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x405c4a
cmp eax, 0x5555555
ja 0x406455
lea esi, [eax + eax*2]
shl esi, 4
cmp esi, 0x1000
jb 0x405b8d
lea eax, [esi + 0x23]
cmp eax, esi
jbe 0x40645a
push eax
call fcn.0040c3e1
add esp, 4
test eax, eax
je 0x40646e
lea ecx, [eax + 0x23]
and ecx, 0xffffffe0
mov dword [ecx - 4], eax
jmp 0x405ba0
test esi, esi
je 0x405b9e
push esi
call fcn.0040c3e1
add esp, 4
mov ecx, eax
jmp 0x405ba0
xor ecx, ecx
lea eax, [esi + ecx]
mov dword [ebp - 0x104], ecx
mov dword [ebp - 0x114], eax
lea eax, [ebp - 0x11c]
mov dword [ebp - 0x11c], ecx
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0xfc], eax
mov edi, dword [ebp - 0xf8]
mov esi, ecx
mov dword [ebp - 0x34], ecx
lea ecx, [ebp - 0x11c]
mov dword [ebp - 0x30], esi
mov dword [ebp - 0x2c], ecx
mov eax, dword [edi + 4]
mov edi, dword [edi]
mov dword [ebp - 0xf8], eax
mov byte [ebp - 4], 0x12
cmp edi, eax
je 0x405c37
push edi
mov ecx, esi
mov dword [ebp - 0x10c], esi
call fcn.00402380
lea eax, [edi + 0x18]
mov byte [ebp - 4], 0x13
push eax
lea ecx, [esi + 0x18]
call fcn.00402380
mov byte [ebp - 4], 0x12
add esi, 0x30
add edi, 0x30
mov dword [ebp - 0x30], esi
cmp edi, dword [ebp - 0xf8]
jne 0x405bf1
mov eax, dword [ebp - 0x11c]
mov edi, 0x1f00
mov dword [ebp - 0x118], esi
jmp 0x405c4c
mov eax, dword [ebp - 0x104]
mov edi, 0x1f00
mov dword [ebp - 0x118], esi
jmp 0x405c4c
xor eax, eax
sub esi, eax
mov byte [ebp - 4], 0x14
mov eax, 0x2aaaaaab
mov dword [ebp - 0x108], 0
imul esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
je 0x406049
xor esi, esi
mov dword [ebp - 0x104], esi
nop dword [eax + eax]
sub esp, 0x18
mov eax, 0x7fffffff
mov ecx, esp
mov dword [ebp - 0xfc], ecx
mov edx, dword [ebp - 0x54]
sub eax, edx
cmp eax, 2
jb 0x406446
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
push edx
cmova eax, dword [ebp - 0x64]
push eax
push 2
push 0x430224
push ecx
push dword [ebp - 0xfc]
call fcn.004019e0
lea ecx, [ebp - 0x28]
or edi, 0x10
call fcn.004069a0
add esi, dword [ebp - 0x11c]
lea ecx, [ebp - 0x94]
push esi
call fcn.00402380
lea eax, [esi + 0x18]
mov byte [ebp - 4], 0x15
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402380
mov byte [ebp - 4], 0x16
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x6c]
sub eax, ecx
cmp eax, 0x20
jb 0x406446
cmp dword [ebp - 0x68], 0xf
lea eax, [ebp - 0x7c]
push ecx
cmova eax, dword [ebp - 0x7c]
push eax
push 0x20
push str.application_octet_stream__name_
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x40]
call fcn.004019e0
or edi, 8
sub esp, 0x18
mov byte [ebp - 4], 0x17
mov esi, esp
mov dword [ebp - 0xfc], esp
mov dword [ebp - 0xfc], esi
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 1
jb 0x405d67
lea eax, [ecx + 1]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], 0x22
lea eax, [ebp - 0x40]
jmp 0x405d85
push 1
push 0x43027c
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0xf8]
push 1
call fcn.00404f50
xorps xmm0, xmm0
or edi, 4
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
mov byte [ebp - 4], 0x18
sub esp, 0x18
mov ecx, esp
xorps xmm0, xmm0
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xc
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.Content_Type]
movq qword [ecx], xmm0
mov eax, dword [0x430210]
mov dword [ecx + 8], eax
mov byte [ecx + 0xc], 0
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0x17
call fcn.00406590
mov byte [ebp - 4], 0x16
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x405e36
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405e2c
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406464
push ecx
push edx
call fcn.0040c685
add esp, 8
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xfc], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 6
mov dword [ecx + 0x14], 0xf
mov eax, dword [str.base64]
mov dword [ecx], eax
movzx eax, word [0x43025c]
mov word [ecx + 4], ax
mov byte [ecx + 6], 0
sub esp, 0x18
mov byte [ebp - 4], 0x19
mov esi, esp
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040c3e1
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x19
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Content_Transfer_Encoding]
movups xmmword [eax], xmm0
movq xmm0, qword [0x430270]
movq qword [eax + 0x10], xmm0
movzx ecx, byte [0x430278]
mov byte [eax + 0x18], cl
lea ecx, [ebp - 0x28]
mov byte [eax + 0x19], 0
mov byte [ebp - 4], 0x16
call fcn.00406590
sub esp, 0x18
xorps xmm0, xmm0
mov ecx, esp
mov dword [ebp - 0xfc], esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], 0xa
mov dword [ecx + 0x14], 0xf
movq xmm0, qword [str.attachment]
movq qword [ecx], xmm0
movzx eax, word [0x4302ac]
mov word [ecx + 8], ax
mov byte [ecx + 0xa], 0
sub esp, 0x18
mov byte [ebp - 4], 0x1a
mov esi, esp
xorps xmm0, xmm0
push 0x20
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0xf
call fcn.0040c3e1
mov dword [esi], eax
add esp, 4
mov dword [esi + 0x10], 0x13
mov dword [esi + 0x14], 0x1f
movups xmm0, xmmword [str.Content_Disposition]
movups xmmword [eax], xmm0
mov cx, word [0x4302c0]
mov word [eax + 0x10], cx
movzx ecx, byte [0x4302c2]
mov byte [eax + 0x12], cl
lea ecx, [ebp - 0x28]
mov byte [eax + 0x13], 0
mov byte [ebp - 4], 0x16
call fcn.00406590
sub esp, 0x18
lea edx, [ebp - 0x94]
mov ecx, esp
call fcn.00409f80
lea ecx, [ebp - 0x28]
call fcn.00406770
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x405fc0
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405fb6
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406464
push ecx
push edx
call fcn.0040c685
add esp, 8
mov ecx, dword [ebp - 0x80]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0xf
mov byte [ebp - 0x7c], 0
cmp ecx, 0xf
jbe 0x406009
mov edx, dword [ebp - 0x94]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405fff
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406464
push ecx
push edx
call fcn.0040c685
add esp, 8
mov ecx, dword [ebp - 0x118]
mov eax, 0x2aaaaaab
sub ecx, dword [ebp - 0x11c]
mov esi, dword [ebp - 0x108]
add dword [ebp - 0x104], 0x30
inc esi
imul ecx
mov dword [ebp - 0x108], esi
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp esi, eax
jae 0x406049
mov esi, dword [ebp - 0x104]
jmp 0x405c80
mov ecx, dword [ebp - 0x54]
mov eax, 0x7fffffff
sub eax, ecx
cmp eax, 2
jb 0x40645f
cmp dword [ebp - 0x50], 0xf
lea eax, [ebp - 0x64]
push ecx
cmova eax, dword [ebp - 0x64]
push eax
push 2
push 0x430224
push ecx
push dword [ebp - 0xfc]
lea ecx, [ebp - 0x40]
call fcn.004019e0
or edi, 2
sub esp, 0x18
mov byte [ebp - 4], 0x1b
mov esi, esp
mov dword [ebp - 0xfc], esi
mov edx, dword [ebp - 0x2c]
mov eax, edx
mov ecx, dword [ebp - 0x30]
sub eax, ecx
cmp eax, 2
jb 0x4060c3
lea eax, [ecx + 2]
cmp edx, 0xf
mov dword [ebp - 0x30], eax
mov edx, 0x2d2d
lea eax, [ebp - 0x40]
cmova eax, dword [ebp - 0x40]
mov word [eax + ecx], dx
mov byte [eax + ecx + 2], 0
lea eax, [ebp - 0x40]
jmp 0x4060e1
push 2
push 0x430224
mov byte [ebp - 0xf8], 0
lea ecx, [ebp - 0x40]
push dword [ebp - 0xf8]
push 2
call fcn.00404f50
xorps xmm0, xmm0
lea ecx, [ebp - 0x28]
movups xmmword [esi], xmm0
mov dword [esi + 0x10], 0
or edi, 1
mov dword [esi + 0x14], 0
movups xmm0, xmmword [eax]
movups xmmword [esi], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [esi + 0x10], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
call fcn.004069a0
mov byte [ebp - 4], 0x14
mov ecx, dword [ebp - 0x2c]
cmp ecx, 0xf
jbe 0x406159
mov edx, dword [ebp - 0x40]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40614f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406464
push ecx
push edx
call fcn.0040c685
add esp, 8
xorps xmm0, xmm0
mov dword [ebp - 0x1cc], 0x4303ac
movups xmmword [ebp - 0x15c], xmm0
mov dword [ebp - 0x13c], 0
movlpd qword [ebp - 0x14c], xmm0
movlpd qword [ebp - 0x144], xmm0
mov dword [ebp - 0x138], 0
mov dword [ebp - 0x134], 0
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
mov byte [ebp - 0x124], 0
push ecx
mov byte [ebp - 4], 0x1c
lea eax, [ebp - 0x1c8]
or edi, 0x20
mov dword [ebp - method.std::basic_ostream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ostream_char__struct_std::char_traits_char__.0
push eax
lea ecx, [ebp - 0x164]
mov dword [ebp - 0xf8], edi
mov dword [ebp - 0x168], 0x60
call fcn.00408350
mov dword [ebp - 4], 0x1e
mov eax, dword [ebp - 0x1cc]
mov eax, dword [eax + 4]
mov dword [ebp + eax - method.std::basic_ofstream_char__struct_std::char_traits_char__.virtual_0], vtable.std::basic_ofstream_char__struct_std::char_traits_char__.0
mov eax, dword [ebp - 0x1cc]
mov ecx, dword [eax + 4]
lea eax, [ecx - 0x68]
mov dword [ebp + ecx - 0x1d0], eax
lea ecx, [ebp - 0x1c8]
call fcn.00407fe0
mov esi, dword [ebp - 0x110]
add esi, 0xc
mov byte [ebp - 4], 0x1f
mov eax, esi
cmp dword [esi + 0x14], 0xf
jbe 0x40623a
mov eax, dword [esi]
push ecx
push 2
push eax
lea ecx, [ebp - 0x1c8]
call fcn.004080f0
test eax, eax
lea ecx, [ebp - 0x1cc]
mov eax, dword [ebp - 0x1cc]
je 0x40626b
add ecx, dword [eax + 4]
xor edx, edx
mov eax, 4
cmp dword [ecx + 0x38], edx
cmovne eax, edx
jmp 0x406280
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push 0
push eax
call fcn.00409780
lea eax, [ebp - 0x28]
push eax
lea ecx, [ebp - 0x7c]
call fcn.00402380
mov byte [ebp - 4], 0x20
lea edx, [ebp - 0x7c]
cmp dword [ebp - 0x68], 0xf
lea ecx, [ebp - 0x1cc]
push dword [ebp - 0x6c]
cmova edx, dword [ebp - 0x7c]
call fcn.004086c0
mov byte [ebp - 4], 0x1f
add esp, 4
mov ecx, dword [ebp - 0x68]
cmp ecx, 0xf
jbe 0x4062ec
mov edx, dword [ebp - 0x7c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4062e2
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x406469
push ecx
push edx
call fcn.0040c685
add esp, 8
lea ecx, [ebp - 0x1c8]
call fcn.00407ee0
test eax, eax
jne 0x406324
mov eax, dword [ebp - 0x1cc]
lea ecx, [ebp - 0x1cc]
push 0
add ecx, dword [eax + 4]
xor eax, eax
cmp dword [ecx + 0x38], eax
sete al
lea eax, [eax*4 + 2]
or eax, dword [ecx + 0xc]
push eax
call fcn.00409780
cmp dword [esi + 0x14], 0xf
jbe 0x40632c
mov esi, dword [esi]
push 5
push 0
push 0
push esi
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
lea ecx, [ebp - 0x1cc]
call fcn.00406480
lea ecx, [ebp - 0x11c]
call fcn.004020f0
mov eax, dword [ebp - 0xb0]
cmp eax, 0xf
jbe 0x40638f
mov edx, dword [ebp - 0xc4]
lea ecx, [eax + 1]
mov eax, edx
cmp ecx, 0x1000
jb 0x406385
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40646e
push ecx
push edx
call fcn.0040c685
add esp, 8
mov ecx, dword [ebp - 0x98]
cmp ecx, 0xf
jbe 0x4063c9
mov edx, dword [ebp - 0xac]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4063bf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40646e
push ecx
push edx
call fcn.0040c685
add esp, 8
mov ecx, dword [ebp - 0x50]
cmp ecx, 0xf
jbe 0x4063f9
mov edx, dword [ebp - 0x64]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4063ef
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40646e
push ecx
push edx
call fcn.0040c685
add esp, 8
mov ecx, dword [ebp - 0x14]
cmp ecx, 0xf
jbe 0x406429
mov edx, dword [ebp - 0x28]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x40641f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40646e
push ecx
push edx
call fcn.0040c685
add esp, 8
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040c3d3
mov esp, ebp
pop ebp
ret
call fcn.004014c0
call fcn.004014c0
call fcn.004014c0
call fcn.00404d70
call fcn.00401600
call fcn.004014c0
call fcn.00410f2f
call fcn.00410f2f
call fcn.00410f2f
int3