Function at 0x45dd70
Capabilities:
Get process heap flags
Get process heap force flags

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4c7c55
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x503040]
xor eax, esp
mov dword [esp + 0xa4c], eax
push esi
push edi
mov eax, dword [0x503040]
xor eax, esp
push eax
lea eax, [esp + 0xa60]
mov dword fs:[0], eax
mov edi, ecx
push 0x238
lea eax, [esp + 0x20]
push 0
push eax
call sub.MSVCR120.dll_memset
sub esp, 0xc
lea eax, [edi + 0x9c]
mov ecx, esp
mov dword [esp + 0x30], esp
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
sub esp, 0x18
mov dword [esp + 0xa98], 0
mov ecx, esp
mov dword [esp + 0x44], esp
lea eax, [edi + 0x60]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
sub esp, 0x18
mov byte [esp + 0xab0], 1
mov ecx, esp
lea eax, [edi + 0x44]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
push 0x19
lea ecx, [esp + 0x68]
mov dword [esp + 0xab4], 0xffffffff
call fcn.00447040
push 0x400
lea eax, [esp + 0x658]
mov dword [esp + 0xa6c], 2
push 0
push eax
call sub.MSVCR120.dll_memset
add esp, 8
lea ecx, [esp + 0x658]
call fcn.0045eab0
lea esi, [edi + 0xbc]
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x45de9e
mov esi, dword [esi]
mov eax, dword [0x50d6e0]
test al, 1
jne 0x45dee5
or eax, 1
mov dword [0x50d6e0], eax
push 0x57c
push 0
push 0x50d6f0
mov byte [esp + 0xa74], 3
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.004574c0
push 0x4d0fa0
call fcn.004b7531
add esp, 4
mov byte [esp + 0xa68], 2
push esi
push 0x50d750
lea eax, [esp + 0x65c]
push eax
lea eax, [esp + 0x260]
push str.__s___s__s
push eax
call fcn.0040ddf0
push ecx
mov ecx, esp
mov dword [esp + 0x28], esp
push 0xffffffffffffffff
push 0
lea eax, [edi + 0xd4]
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
sub esp, 0x18
mov byte [esp + 0xa98], 4
mov edx, esp
mov dword [esp + 0x44], esp
mov dword [edx + 0x14], 0xf
mov dword [edx + 0x10], 0
mov byte [edx], 0
cmp byte [esp + 0x284], 0
jne 0x45df5d
xor ecx, ecx
jmp 0x45df70
lea ecx, [esp + 0x284]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45df67
sub ecx, esi
push ecx
lea eax, [esp + 0x288]
mov ecx, edx
push eax
call fcn.0040f4f0
sub esp, 0x18
mov byte [esp + 0xab0], 5
mov ecx, esp
lea eax, [edi + 0x78]
push 0xffffffffffffffff
push 0
mov dword [ecx + 0x14], 0xf
mov dword [ecx + 0x10], 0
push eax
mov byte [ecx], 0
call fcn.0040f3d0
lea eax, [edi + 0x90]
mov byte [esp + 0xab0], 2
push eax
lea ecx, [esp + 0x68]
call fcn.004473d0
test al, al
jne 0x45dfee
cmp dword [esp + 0x1c0], 0x10
lea eax, [esp + 0x1ac]
cmovae eax, dword [esp + 0x1ac]
push eax
push 3
push str.SendMail_Failed:__s
call fcn.0045ac10
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa68], 0xffffffff
call fcn.00448280
mov ecx, dword [esp + 0xa60]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [esp + 0xa4c]
xor ecx, esp
call fcn.004b73db
mov esp, ebp
pop ebp
ret