Function at 0x404bfd
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1ff8
call fcn.00430730
push esi
push edi
mov ecx, 0xe
mov esi, str.AlertNotifyFailSafeOperator
lea edi, [ebp - 0xc48]
rep movsd dword es:[edi], dword [esi]
mov ax, word [0x448488]
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 [0x448490]
mov word [ebp - 0x810], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x80e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x448498]
mov word [ebp - 0x1ff0], dx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1fee]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x4484a0]
mov word [ebp - 0xc10], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xc0e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x4484a8]
mov word [ebp - 0x1bec], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1bea]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x4484b0]
mov word [ebp - 0x17ec], dx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x17ea]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1bf0], 0
mov dword [ebp - 0x1ff4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0xfec], 0
mov dword [ebp - 0x40c], 0
mov dword [ebp - 4], 0
push 0x200
lea eax, [ebp - 0xc10]
push eax
push 7
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 0xc10]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
lea ecx, [ebp - 0xc10]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [0x44a898]
and eax, 1
test eax, eax
je 0x404df1
xor ecx, ecx
mov cx, word [0x44a698]
test ecx, ecx
je 0x404df1
mov edx, dword [ebp + 0x14]
add edx, 4
push edx
push 0x44a498
push 0xd1
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
lea eax, [ebp - 0xfe8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406178
add esp, 8
test eax, eax
je 0x404df1
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
lea ecx, [ebp - 0xfe4]
push ecx
push 0xc0000132
mov edx, dword [ebp - 0xfe8]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0
push 0x44a698
push 1
call fcn.0041ad37
add esp, 0x2c
test eax, eax
je 0x404df1
mov dword [ebp - 0x1bf0], 1
mov edx, dword [0x44a898]
and edx, 2
test edx, edx
je 0x404f32
xor eax, eax
mov ax, word [0x44a598]
test eax, eax
je 0x404f32
mov ecx, dword [ebp + 0x14]
add ecx, 4
push ecx
push 0x44a498
push 0xd2
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
push 0x800
lea edx, [ebp - 0x17ec]
push edx
push 0x44a598
push 0x437be0
push 0x44a89c
call fcn.0042f530
add esp, 0x14
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x800
lea ecx, [ebp - 0x17ec]
push ecx
push 0x44a598
push 0x437bec
push 0x44a99c
call fcn.0042f530
add esp, 0x14
push eax
lea edx, [ebp - 0x810]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x800
lea eax, [ebp - 0x17ec]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x437bf8
push 0x44aa9c
call fcn.0042f530
add esp, 0x14
push eax
lea edx, [ebp - 0x1ff0]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0xfe8]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00406178
add esp, 8
test eax, eax
je 0x404f32
mov edx, dword [ebp + 8]
push edx
push 1
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
lea ecx, [ebp - 0xfe4]
push ecx
push 0xc0000133
mov edx, dword [ebp - 0xfe8]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x1ff0]
push ecx
lea edx, [ebp - 0x810]
push edx
lea eax, [ebp - 0x408]
push eax
push 2
call fcn.0041ad37
add esp, 0x2c
test eax, eax
je 0x404f32
mov dword [ebp - 0x1ff4], 1
cmp dword [0x448b1c], 0
jne 0x405147
mov ecx, dword [0x44a898]
and ecx, 4
test ecx, ecx
je 0x405147
xor edx, edx
mov dx, word [0x44a798]
test edx, edx
je 0x405147
mov eax, dword [ebp + 0x14]
add eax, 4
push eax
push 0x44a498
push 0xd3
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
push 0x793
lea ecx, [ebp - 0xc48]
push ecx
push 8
call fcn.00420465
add esp, 0xc
mov dword [ebp - 0x410], eax
cmp dword [ebp - 0x410], 0
je 0x405147
push 0x44a798
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x405004
push 0x795
lea edx, [ebp - 0xc48]
push edx
mov eax, dword [ebp - 4]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00420465
add esp, 0xc
mov edx, dword [ebp - 0x410]
mov dword [edx], eax
mov eax, dword [ebp - 0x410]
cmp dword [eax], 0
je 0x405004
push 0x44a798
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [esi + eax + 2]
cmp edx, 0x400
jae 0x405050
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x437c04
lea edx, [ebp - 0x17ec]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0x10
jmp 0x405064
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0x17ec]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0x17ec]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4050c8
push 0x79c
lea ecx, [ebp - 0xc48]
push ecx
mov edx, dword [ebp - 4]
lea eax, [edx + edx + 2]
push eax
call fcn.00420465
add esp, 0xc
mov ecx, dword [ebp - 0x410]
mov dword [ecx + 4], eax
mov edx, dword [ebp - 0x410]
cmp dword [edx + 4], 0
je 0x4050c8
lea eax, [ebp - 0x17ec]
push eax
mov ecx, dword [ebp - 0x410]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov eax, dword [ebp - 0x410]
push eax
push 0
push 0x41c212
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [ebp - 8], 1
mov ecx, dword [ebp + 0x14]
cmp dword [ecx + 0x1e4], 0x37b9
je 0x405147
lea edx, [ebp - 0xfe8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00406178
add esp, 8
test eax, eax
je 0x405147
push 0
lea ecx, [ebp - 0x40c]
push ecx
lea edx, [ebp - 0xfec]
push edx
call fcn.00421080
add esp, 0xc
push 4
mov eax, dword [ebp - 0x40c]
push eax
mov ecx, dword [ebp - 0xfec]
push ecx
mov edx, dword [ebp - 0xfe8]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004089f5
add esp, 0x14
cmp dword [ebp - 0x1bf0], 0
jne 0x405182
cmp dword [ebp - 0x1ff4], 0
jne 0x405182
cmp dword [ebp - 8], 0
jne 0x405182
mov ecx, dword [ebp + 0x14]
add ecx, 4
push ecx
push 2
push 0x44a498
push 2
push 4
push 0xc0000134
push 1
push 3
call fcn.0041b0dc
add esp, 0x20
cmp dword [ebp - 0x1bf0], 0
jne 0x4051a6
cmp dword [ebp - 0x1ff4], 0
jne 0x4051a6
cmp dword [ebp - 8], 0
jne 0x4051a6
mov dword [ebp - 0x1ff8], 0
jmp 0x4051b0
mov dword [ebp - 0x1ff8], 1
mov eax, dword [ebp - 0x1ff8]
pop edi
pop esi
mov esp, ebp
pop ebp
ret