Function at 0x40495f
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1034
call fcn.004321a0
push esi
push edi
mov ecx, 6
mov esi, str.AlertNetSend
lea edi, [ebp - 0x428]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44a9f4]
mov word [ebp - 0x1034], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1032]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44a9fc]
mov word [ebp - 0x408], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x406]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44aa04]
mov word [ebp - 0xc34], dx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0xc32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x42c], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x434], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x430], 0
mov dword [ebp - 4], 0
cmp dword [0x44b08c], 0
je 0x404a22
jmp 0x404c3e
push 0
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x430]
push ecx
call fcn.004219c0
add esp, 0xc
push 0x400
lea edx, [ebp - 0xc34]
push edx
push 0
mov eax, dword [ebp + 0x20]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
push 4
call fcn.004059db
add esp, 0x24
mov dword [ebp - 0x434], 0
jmp 0x404a7e
mov edx, dword [ebp - 0x434]
add edx, 1
mov dword [ebp - 0x434], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x434]
cmp ecx, dword [eax + 8]
jge 0x404c3e
mov edx, dword [ebp - 0x434]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x42c], eax
cmp dword [ebp - 0x42c], 0
je 0x404c39
mov ecx, dword [ebp - 0x42c]
mov edx, dword [ecx + 0x110]
and edx, 4
test edx, edx
je 0x404c39
mov eax, dword [ebp - 0x42c]
xor ecx, ecx
mov cx, word [eax + 0x2b4]
test ecx, ecx
je 0x404c39
mov edx, dword [ebp + 0x10]
add edx, 4
push edx
mov eax, dword [ebp - 0x42c]
add eax, 4
push eax
push 0xed
push 0
push 3
call fcn.0041bfab
add esp, 0x14
push 0x7f1
lea ecx, [ebp - 0x428]
push ecx
push 8
call fcn.00420df3
add esp, 0xc
mov dword [ebp - 0x40c], eax
cmp dword [ebp - 0x40c], 0
je 0x404c39
mov edx, dword [ebp - 0x42c]
add edx, 0x2b4
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404b9c
push 0x7f3
lea eax, [ebp - 0x428]
push eax
mov ecx, dword [ebp - 4]
lea edx, [ecx + ecx + 2]
push edx
call fcn.00420df3
add esp, 0xc
mov ecx, dword [ebp - 0x40c]
mov dword [ecx], eax
mov edx, dword [ebp - 0x40c]
cmp dword [edx], 0
je 0x404b9c
mov eax, dword [ebp - 0x42c]
add eax, 0x2b4
push eax
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0xc34]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x404c00
push 0x7f8
lea ecx, [ebp - 0x428]
push ecx
mov edx, dword [ebp - 4]
lea eax, [edx + edx + 2]
push eax
call fcn.00420df3
add esp, 0xc
mov ecx, dword [ebp - 0x40c]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x40c]
cmp dword [edx + 4], 0
je 0x404c00
lea eax, [ebp - 0xc34]
push eax
mov ecx, dword [ebp - 0x40c]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 0x40c]
push eax
push 0
push 0x41c90d
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
push 4
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x430]
push edx
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004089cb
add esp, 0x14
jmp 0x404a6f
pop edi
pop esi
mov esp, ebp
pop ebp
ret