Function at 0x404c80
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1040
call fcn.00434e00
mov eax, dword [0x44d558]
mov dword [ebp - 4], eax
push esi
push edi
mov ecx, 6
mov esi, str.AlertNetSend
lea edi, [ebp - 0x103c]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44d7fc]
mov word [ebp - 0x408], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x406]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44d804]
mov word [ebp - 0x818], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x816]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44d80c]
mov word [ebp - 0x1020], dx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x101e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 0x1040], 0
mov dword [ebp - 0x820], 0
mov dword [ebp - 0x81c], 0
cmp dword [0x44de90], 0
je 0x404d53
jmp 0x404f83
push 0
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x820]
push ecx
call fcn.00423560
add esp, 0xc
push 0x400
lea edx, [ebp - 0x1020]
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.00405e30
add esp, 0x24
mov dword [ebp - 0x40c], 0
jmp 0x404db2
mov edx, dword [ebp - 0x40c]
add edx, 1
mov dword [ebp - 0x40c], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x40c]
cmp ecx, dword [eax + 8]
jge 0x404f83
mov edx, dword [ebp - 0x40c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.SQLSVC.dll_SHRecMemLock]
add esp, 8
mov dword [ebp - 0x414], eax
cmp dword [ebp - 0x414], 0
je 0x404f7e
mov ecx, dword [ebp - 0x414]
mov edx, dword [ecx + 0x110]
and edx, 4
je 0x404f7e
mov eax, dword [ebp - 0x414]
movzx ecx, word [eax + 0x2b4]
test ecx, ecx
je 0x404f7e
mov edx, dword [ebp + 0x10]
add edx, 4
push edx
mov eax, dword [ebp - 0x414]
add eax, 4
push eax
push 0xed
push 0
push 3
call fcn.0041d760
add esp, 0x14
push 0x815
lea ecx, [ebp - 0x103c]
push ecx
push 8
call fcn.00422830
add esp, 0xc
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x404f7e
mov edx, dword [ebp - 0x414]
add edx, 0x2b4
push edx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
je 0x404ed5
push 0x817
lea eax, [ebp - 0x103c]
push eax
mov ecx, dword [ebp - 0x81c]
lea edx, [ecx + ecx + 2]
push edx
call fcn.00422830
add esp, 0xc
mov ecx, dword [ebp - 0x410]
mov dword [ecx], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx], 0
je 0x404ed5
mov eax, dword [ebp - 0x414]
add eax, 0x2b4
push eax
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0x1020]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov dword [ebp - 0x81c], eax
cmp dword [ebp - 0x81c], 0
je 0x404f42
push 0x81c
lea ecx, [ebp - 0x103c]
push ecx
mov edx, dword [ebp - 0x81c]
lea eax, [edx + edx + 2]
push eax
call fcn.00422830
add esp, 0xc
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0
je 0x404f42
lea eax, [ebp - 0x1020]
push eax
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 0x410]
push eax
push 0
push 0x41e0f0
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
push 4
mov ecx, dword [ebp - 0x1040]
push ecx
mov edx, dword [ebp - 0x820]
push edx
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004093e0
add esp, 0x14
jmp 0x404da3
mov ecx, dword [ebp - 4]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret