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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4cb305
mov eax, dword fs:[0]
push eax
sub esp, 0xa54
mov eax, dword [0x506040]
xor eax, esp
mov dword [esp + 0xa4c], eax
push esi
push edi
mov eax, dword [0x506040]
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.0040f5e0
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.0040f5e0
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.0040f5e0
push 0x19
lea ecx, [esp + 0x68]
mov dword [esp + 0xab4], 0xffffffff
call fcn.00449e10
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.00461db0
lea esi, [edi + 0xbc]
add esp, 4
cmp dword [esi + 0x14], 0x10
jb 0x46111e
mov esi, dword [esi]
mov eax, dword [0x510930]
test al, 1
jne 0x461165
or eax, 1
mov dword [0x510930], eax
push 0x57c
push 0
push 0x510940
mov byte [esp + 0xa74], 3
call sub.MSVCR120.dll_memset
add esp, 0xc
call fcn.0045a500
push 0x4d4740
call fcn.004ba7c1
add esp, 4
mov byte [esp + 0xa68], 2
push esi
push 0x5109a0
lea eax, [esp + 0x65c]
push eax
lea eax, [esp + 0x260]
push str.__s___s__s
push eax
call fcn.0040e000
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.0040f5e0
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 0x4611dd
xor ecx, ecx
jmp 0x4611f0
lea ecx, [esp + 0x284]
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4611e7
sub ecx, esi
push ecx
lea eax, [esp + 0x288]
mov ecx, edx
push eax
call fcn.0040f700
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.0040f5e0
lea eax, [edi + 0x90]
mov byte [esp + 0xab0], 2
push eax
lea ecx, [esp + 0x68]
call fcn.0044a1a0
test al, al
jne 0x46126e
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.0045deb0
add esp, 0xc
lea ecx, [esp + 0x1c]
mov dword [esp + 0xa68], 0xffffffff
call fcn.0044b050
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.004ba66b
mov esp, ebp
pop ebp
ret