Function at 0x413af3
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x5310
call fcn.00430730
push esi
push edi
mov ecx, 0xb
mov esi, str.DoJobCompletionActions
lea edi, [ebp - 0x1710]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x448834]
mov word [ebp - 0x16dc], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x16da]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44883c]
mov word [ebp - 0x37bc], cx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x37ba]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x448844]
mov word [ebp - 0x40c], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x40a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44884c]
mov word [ebp - 0x4dc], ax
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x4da]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x448854]
mov word [ebp - 0x2fb8], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x2fb6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44885c]
mov word [ebp - 0x12dc], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x12da]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x448864]
mov word [ebp - 0x22b4], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x22b2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44886c]
mov word [ebp - 0x10dc], cx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x10da]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x448874]
mov word [ebp - 0x20c], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x20a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44887c]
mov word [ebp - 0x2bb8], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x2bb6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x448884]
mov word [ebp - 0x8dc], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x8da]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x16e0], 0
mov dword [ebp - 0x410], 0
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x1ab4], 0
mov dword [ebp - 0x2fbc], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x37c0], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0x37c4], 0
mov dword [ebp - 4], 0
push 0
lea edx, [ebp - 0x37c4]
push edx
lea eax, [ebp - 8]
push eax
call fcn.00421080
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x20c]
push ecx
push 8
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea eax, [ebp - 0x2bb8]
push eax
push 3
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x52bc], edx
cmp dword [ebp - 0x52bc], 0
je 0x413e3c
cmp dword [ebp - 0x52bc], 1
je 0x413d3b
cmp dword [ebp - 0x52bc], 3
je 0x413f3a
jmp 0x413f99
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x268]
and ecx, 1
mov dword [ebp - 0x16e0], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x26c]
and eax, 1
test eax, eax
je 0x413d75
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x278], 0
je 0x413d75
mov dword [ebp - 0x52c0], 1
jmp 0x413d7f
mov dword [ebp - 0x52c0], 0
mov edx, dword [ebp - 0x52c0]
mov dword [ebp - 0x410], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x270]
and ecx, 1
test ecx, ecx
je 0x413db3
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x27c], 0
je 0x413db3
mov dword [ebp - 0x52c4], 1
jmp 0x413dbd
mov dword [ebp - 0x52c4], 0
mov eax, dword [ebp - 0x52c4]
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x274]
and edx, 1
test edx, edx
je 0x413df1
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x280], 0
je 0x413df1
mov dword [ebp - 0x52c8], 1
jmp 0x413dfb
mov dword [ebp - 0x52c8], 0
mov ecx, dword [ebp - 0x52c8]
mov dword [ebp - 0x1ab4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x284]
and eax, 1
mov dword [ebp - 0x2fbc], eax
push 0x100
lea ecx, [ebp - 0x40c]
push ecx
push 0xd5
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
jmp 0x413fb7
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x268]
and ecx, 2
mov dword [ebp - 0x16e0], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x26c]
and eax, 2
test eax, eax
je 0x413e76
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x278], 0
je 0x413e76
mov dword [ebp - 0x52cc], 1
jmp 0x413e80
mov dword [ebp - 0x52cc], 0
mov edx, dword [ebp - 0x52cc]
mov dword [ebp - 0x410], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x270]
and ecx, 2
test ecx, ecx
je 0x413eb4
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x27c], 0
je 0x413eb4
mov dword [ebp - 0x52d0], 1
jmp 0x413ebe
mov dword [ebp - 0x52d0], 0
mov eax, dword [ebp - 0x52d0]
mov dword [ebp - 0x414], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x274]
and edx, 2
test edx, edx
je 0x413ef2
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x280], 0
je 0x413ef2
mov dword [ebp - 0x52d4], 1
jmp 0x413efc
mov dword [ebp - 0x52d4], 0
mov ecx, dword [ebp - 0x52d4]
mov dword [ebp - 0x1ab4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x284]
and eax, 2
mov dword [ebp - 0x2fbc], eax
push 0x100
lea ecx, [ebp - 0x40c]
push ecx
push 0xd6
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
jmp 0x413fb7
push 0x100
lea eax, [ebp - 0x12dc]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.0041728a
add esp, 0xc
push 0x200
lea edx, [ebp - 0x2fb8]
push edx
push 0xd7
mov eax, dword [0x4492ac]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x12dc]
push edx
lea eax, [ebp - 0x2fb8]
push eax
lea ecx, [ebp - 0x40c]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0x10
jmp 0x413fb7
push 0x100
lea eax, [ebp - 0x40c]
push eax
push 0xd8
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
cmp dword [ebp + 0x14], 0
je 0x413fe3
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0x40c]
push eax
push str._s___s
lea ecx, [ebp - 0x37bc]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0x10
push 0x800
lea eax, [ebp - 0x10dc]
push eax
push 0x448888
push 0x43c818
lea ecx, [ebp - 0x37bc]
push ecx
call fcn.0042f530
add esp, 0x14
push 0x800
lea edx, [ebp - 0x37bc]
push edx
push 0x44888c
push 0x43c81c
lea eax, [ebp - 0x10dc]
push eax
call fcn.0042f530
add esp, 0x14
lea ecx, [ebp - 0x37bc]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00408bab
add esp, 0x10
push 0x884
push 0
lea edx, [ebp - 0x2b38]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x2b38], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x2b34], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2b30], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x2b2c], edx
mov eax, dword [ebp + 0xc]
add eax, 0xb14
push eax
lea ecx, [ebp - 0x2b28]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
mov dword [ebp - 0x2ae0], 0
mov dword [ebp - 0x2adc], 0
mov dword [ebp - 0x2ad8], 0
push 0x3ff
lea edx, [ebp - 0x37bc]
push edx
lea eax, [ebp - 0x2ad4]
push eax
call dword [sym.imp.MSVCRT.dll_wcsncpy]
add esp, 0xc
mov word [ebp - 0x22d6], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x22d4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x578]
mov dword [ebp - 0x22d0], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x57c]
mov dword [ebp - 0x22cc], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x578], 0
je 0x41414b
mov ecx, dword [ebp - 0x37c4]
push ecx
mov edx, dword [ebp - 8]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x57c]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x578]
push eax
call dword [sym.imp.SQLSVC.dll_QScheduleGetTimeDelta]
add esp, 0x10
push eax
call dword [sym.imp.SQLSVC.dll_QScheduleSecToHourFormat]
add esp, 4
mov dword [ebp - 0x22c8], eax
mov dword [ebp - 0x22b8], 0
mov dword [ebp - 0x22c4], 0
mov dword [ebp - 0x22c0], 0
mov dword [ebp - 0x22bc], 0
cmp dword [ebp - 0x16e0], 0
je 0x41427d
cmp dword [0x448b1c], 0
jne 0x41427d
cmp dword [ebp + 0x10], 1
jne 0x4141ae
push 0x100
lea ecx, [ebp - 0x40c]
push ecx
push 0xb
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
cmp dword [ebp + 0x10], 0
jne 0x4141cf
push 0x100
lea eax, [ebp - 0x40c]
push eax
push 0xa
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [ebp + 0xc]
add edx, 0x294
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x290
push eax
lea ecx, [ebp - 0x4dc]
push ecx
call fcn.0042125c
add esp, 0xc
cmp dword [0x448b2c], 0
je 0x414208
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x52d8], edx
jmp 0x414216
mov eax, dword [ebp + 0xc]
add eax, 0xb14
mov dword [ebp - 0x52d8], eax
mov ecx, dword [ebp - 0x52d8]
push ecx
push 0xb6
push 0
push 3
call fcn.0041b8d1
add esp, 0x10
lea edx, [ebp - 0x37bc]
push edx
push 2
lea eax, [ebp - 0x4dc]
push eax
push 2
lea ecx, [ebp - 0x40c]
push ecx
push 2
mov edx, dword [ebp + 0xc]
add edx, 0xb14
push edx
push 2
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
push 2
push 0xa
push 0x400000d0
mov ecx, dword [ebp + 0x10]
neg ecx
sbb ecx, ecx
and ecx, 2
add ecx, 2
push ecx
push 1
call fcn.0041b0dc
add esp, 0x38
cmp dword [ebp - 0x410], 0
jne 0x41429c
cmp dword [ebp - 0x414], 0
jne 0x41429c
cmp dword [ebp - 0x1ab4], 0
je 0x41463c
mov dx, word [0x448894]
mov word [ebp - 0x3b8c], dx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3b8a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44889c]
mov word [ebp - 0x3a8c], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3a8a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x4488a4]
mov word [ebp - 0x3844], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3842]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x4488ac]
mov word [ebp - 0x398c], dx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x398a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x4488b4]
mov word [ebp - 0x3eb4], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3eb2]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x4488bc]
mov word [ebp - 0x3e34], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3e32]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x4488c4]
mov word [ebp - 0x3d98], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x3d96]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x4488cc]
mov word [ebp - 0x390c], ax
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x390a]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push 0x100
lea ecx, [ebp - 0x3d98]
push ecx
push 9
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea eax, [ebp - 0x3eb4]
push eax
push 0xa
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea edx, [ebp - 0x3e34]
push edx
push 0xb
mov eax, dword [0x4492ac]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea ecx, [ebp - 0x398c]
push ecx
push 0x18
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea eax, [ebp - 0x3844]
push eax
push 0x17
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea edx, [ebp - 0x3db4]
push edx
mov eax, dword [ebp - 0x22c8]
push eax
call dword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
add esp, 8
mov ecx, dword [ebp - 0x3dac]
push ecx
mov edx, dword [ebp - 0x3db0]
push edx
mov eax, dword [ebp - 0x3db4]
push eax
lea ecx, [ebp - 0x398c]
push ecx
lea edx, [ebp - 0x390c]
push edx
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0x14
push 0x10
push 0
lea eax, [ebp - 0x3da8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3b98]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x290]
push eax
call dword [sym.imp.SQLSVC.dll_QScheduleConvertValToDateStruct]
add esp, 8
lea ecx, [ebp - 0x3db4]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x294]
push eax
call dword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
add esp, 8
mov cx, word [ebp - 0x3b90]
mov word [ebp - 0x3da8], cx
mov dx, word [ebp - 0x3b94]
mov word [ebp - 0x3da6], dx
mov ax, word [ebp - 0x3b98]
mov word [ebp - 0x3da2], ax
mov cx, word [ebp - 0x3db4]
mov word [ebp - 0x3da0], cx
mov dx, word [ebp - 0x3db0]
mov word [ebp - 0x3d9e], dx
mov ax, word [ebp - 0x3dac]
mov word [ebp - 0x3d9c], ax
cmp dword [0x44b904], 0
je 0x414500
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x52dc], eax
jmp 0x41450c
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebp - 0x52dc], eax
push 0x80
lea ecx, [ebp - 0x3b8c]
push ecx
push 0
lea edx, [ebp - 0x3da8]
push edx
mov eax, dword [0x44b904]
neg eax
sbb eax, eax
and eax, 0x80000000
add eax, 0x80000000
or al, 1
push eax
mov ecx, dword [ebp - 0x52dc]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4dc]
cmp dword [0x44b904], 0
je 0x414561
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x52e0], eax
jmp 0x41456d
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebp - 0x52e0], eax
push 0x80
lea eax, [ebp - 0x3a8c]
push eax
push 0
lea ecx, [ebp - 0x3da8]
push ecx
mov edx, dword [0x44b904]
neg edx
sbb edx, edx
and edx, 0x80000000
add edx, 0x80000000
push edx
mov eax, dword [ebp - 0x52e0]
push eax
mov ecx, dword [0x449ba0]
call dword [ecx + 0x4e4]
cmp dword [ebp + 0x10], 1
jne 0x4145c0
lea edx, [ebp - 0x3e34]
mov dword [ebp - 0x52e4], edx
jmp 0x4145cc
lea eax, [ebp - 0x3eb4]
mov dword [ebp - 0x52e4], eax
mov ecx, dword [ebp - 0x390c]
and ecx, 0xffff
test ecx, ecx
je 0x4145ea
lea edx, [ebp - 0x390c]
mov dword [ebp - 0x52e8], edx
jmp 0x4145f6
lea eax, [ebp - 0x3844]
mov dword [ebp - 0x52e8], eax
lea ecx, [ebp - 0x37bc]
push ecx
mov edx, dword [ebp - 0x52e4]
push edx
mov eax, dword [ebp - 0x52e8]
push eax
lea ecx, [ebp - 0x3a8c]
push ecx
lea edx, [ebp - 0x3b8c]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
lea ecx, [ebp - 0x3d98]
push ecx
lea edx, [ebp - 0x22b4]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0x20
cmp dword [0x448b1c], 0
jne 0x414977
cmp dword [ebp - 0x414], 0
je 0x414977
lea ecx, [ebp - 0x1ab0]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x27c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b353
add esp, 0xc
test eax, eax
je 0x414977
mov dword [ebp - 0x3eb8], 0
push 0x522
lea edx, [ebp - 0x1710]
push edx
push 8
call fcn.00420465
add esp, 0xc
mov dword [ebp - 0x3eb8], eax
cmp dword [ebp - 0x3eb8], 0
je 0x414977
push 8
push 0
mov eax, dword [ebp - 0x3eb8]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x17fc]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x414722
push 0x525
lea edx, [ebp - 0x1710]
push edx
mov eax, dword [ebp - 4]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00420465
add esp, 0xc
mov edx, dword [ebp - 0x3eb8]
mov dword [edx], eax
mov eax, dword [ebp - 0x3eb8]
cmp dword [eax], 0
je 0x414722
lea ecx, [ebp - 0x17fc]
push ecx
mov edx, dword [ebp - 0x3eb8]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0x22b4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x414786
push 0x527
lea edx, [ebp - 0x1710]
push edx
mov eax, dword [ebp - 4]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00420465
add esp, 0xc
mov edx, dword [ebp - 0x3eb8]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3eb8]
cmp dword [eax + 4], 0
je 0x414786
lea ecx, [ebp - 0x22b4]
push ecx
mov edx, dword [ebp - 0x3eb8]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0x17fc]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x37c0], eax
cmp dword [ebp - 0x37c0], 0
jne 0x4147ca
mov edx, dword [ebp - 0x3eb8]
push edx
push 0
push 0x41c212
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4148ee
mov eax, dword [ebp - 0x3eb8]
cmp dword [eax], 0
je 0x4147e6
mov ecx, dword [ebp - 0x3eb8]
mov edx, dword [ecx]
push edx
call fcn.004209ff
add esp, 4
mov eax, dword [ebp - 0x3eb8]
cmp dword [eax + 4], 0
je 0x414804
mov ecx, dword [ebp - 0x3eb8]
mov edx, dword [ecx + 4]
push edx
call fcn.004209ff
add esp, 4
mov eax, dword [ebp - 0x3eb8]
push eax
call fcn.004209ff
add esp, 4
cmp dword [ebp - 0x37c0], 0
je 0x414861
cmp dword [0x448b2c], 0
je 0x414833
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x52ec], ecx
jmp 0x414842
mov edx, dword [ebp + 0xc]
add edx, 0xb14
mov dword [ebp - 0x52ec], edx
mov eax, dword [ebp - 0x52ec]
push eax
lea ecx, [ebp - 0x1aac]
push ecx
push 0x10c
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
push 0x200
lea edx, [ebp - 0x2fb8]
push edx
push 0x10d
mov eax, dword [0x4492ac]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea ecx, [ebp - 0x1aac]
push ecx
lea edx, [ebp - 0x2fb8]
push edx
lea eax, [ebp - 0x16dc]
push eax
mov ecx, dword [0x449ba0]
call dword [ecx + 0x4cc]
add esp, 0xc
lea edx, [ebp - 0x16dc]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x2ad4]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
add eax, 1
mov ecx, 0x400
sub ecx, eax
cmp esi, ecx
jae 0x4148e9
lea edx, [ebp - 0x16dc]
push edx
lea eax, [ebp - 0x2ad4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x414977
cmp dword [0x448b2c], 0
je 0x414905
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x52f0], ecx
jmp 0x414914
mov edx, dword [ebp + 0xc]
add edx, 0xb14
mov dword [ebp - 0x52f0], edx
lea eax, [ebp - 0x1aac]
push eax
mov ecx, dword [ebp - 0x52f0]
push ecx
push 0xf7
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x27c]
mov dword [ebp - 0x22c0], eax
push 0
lea ecx, [ebp - 0x37c4]
push ecx
lea edx, [ebp - 8]
push edx
call fcn.00421080
add esp, 0xc
push 4
mov eax, dword [ebp - 0x37c4]
push eax
mov ecx, dword [ebp - 8]
push ecx
mov edx, dword [ebp - 0x1ab0]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004089f5
add esp, 0x14
cmp dword [ebp - 0x410], 0
je 0x414b67
lea ecx, [ebp - 0x1ab0]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x278]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040b353
add esp, 0xc
test eax, eax
je 0x414b67
push 0x449194
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x8dc]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0x10
lea eax, [ebp - 0x199c]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x37c0], eax
cmp dword [ebp - 0x37c0], 0
jne 0x414a3f
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x1aac]
push eax
push 0xc00000d2
mov ecx, dword [ebp - 0x1ab0]
push ecx
lea edx, [ebp - 0x22b4]
push edx
lea eax, [ebp - 0x8dc]
push eax
push 0
lea ecx, [ebp - 0x199c]
push ecx
push 1
call fcn.0041ad37
add esp, 0x2c
test eax, eax
jne 0x414b14
cmp dword [ebp - 0x37c0], 0
je 0x414a8c
cmp dword [0x448b2c], 0
je 0x414a5f
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x52f4], edx
jmp 0x414a6d
mov eax, dword [ebp + 0xc]
add eax, 0xb14
mov dword [ebp - 0x52f4], eax
mov ecx, dword [ebp - 0x52f4]
push ecx
lea edx, [ebp - 0x1aac]
push edx
push 0x10a
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
push 0x200
lea eax, [ebp - 0x2fb8]
push eax
push 0x19
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea edx, [ebp - 0x1aac]
push edx
lea eax, [ebp - 0x2fb8]
push eax
lea ecx, [ebp - 0x16dc]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0xc
lea eax, [ebp - 0x16dc]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2ad4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
add eax, 1
mov edx, 0x400
sub edx, eax
cmp esi, edx
jae 0x414b12
lea eax, [ebp - 0x16dc]
push eax
lea ecx, [ebp - 0x2ad4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x414b67
cmp dword [0x448b2c], 0
je 0x414b2b
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x52f8], edx
jmp 0x414b39
mov eax, dword [ebp + 0xc]
add eax, 0xb14
mov dword [ebp - 0x52f8], eax
lea ecx, [ebp - 0x1aac]
push ecx
mov edx, dword [ebp - 0x52f8]
push edx
push 0xb7
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x278]
mov dword [ebp - 0x22c4], ecx
cmp dword [ebp - 0x1ab4], 0
je 0x414f65
lea edx, [ebp - 0x1ab0]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x280]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040b353
add esp, 0xc
test eax, eax
je 0x414f65
mov ax, word [0x4488d4]
mov word [ebp - 0x42b8], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x42b6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x4488dc]
mov word [ebp - 0x46b8], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x46b6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x4488e4]
mov word [ebp - 0x52b8], dx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x52b6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x4488ec]
mov word [ebp - 0x4eb8], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x4eb6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x1ab0]
push ecx
call fcn.00406777
add esp, 4
test eax, eax
jne 0x414cfc
cmp dword [0x448b2c], 0
je 0x414c41
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x52fc], edx
jmp 0x414c4f
mov eax, dword [ebp + 0xc]
add eax, 0xb14
mov dword [ebp - 0x52fc], eax
mov ecx, dword [ebp - 0x52fc]
push ecx
lea edx, [ebp - 0x1aac]
push edx
push 0x115
push 0
push 2
call fcn.0041b8d1
add esp, 0x14
push 0x200
lea eax, [ebp - 0x2fb8]
push eax
push 0x114
mov ecx, dword [0x4492ac]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea edx, [ebp - 0x1aac]
push edx
lea eax, [ebp - 0x2fb8]
push eax
lea ecx, [ebp - 0x16dc]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0xc
lea eax, [ebp - 0x16dc]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2ad4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
add eax, 1
mov edx, 0x400
sub edx, eax
cmp esi, edx
jae 0x414cf7
lea eax, [ebp - 0x16dc]
push eax
lea ecx, [ebp - 0x2ad4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x414f65
push 0x449194
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0x8dc]
push ecx
mov edx, dword [0x449ba0]
call dword [edx + 0x4cc]
add esp, 0x10
push 0x800
lea eax, [ebp - 0x4eb8]
push eax
lea ecx, [ebp - 0x18cc]
push ecx
push 0x43c820
push 0x44a89c
call fcn.0042f530
add esp, 0x14
push eax
lea edx, [ebp - 0x42b8]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x800
lea eax, [ebp - 0x4eb8]
push eax
lea ecx, [ebp - 0x18cc]
push ecx
push 0x43c82c
push 0x44a99c
call fcn.0042f530
add esp, 0x14
push eax
lea edx, [ebp - 0x46b8]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
push 0x800
lea eax, [ebp - 0x4eb8]
push eax
lea ecx, [ebp - 0x8dc]
push ecx
push 0x43c838
push 0x44aa9c
call fcn.0042f530
add esp, 0x14
push eax
lea edx, [ebp - 0x52b8]
push edx
call dword [sym.imp.MSVCRT.dll_wcscpy]
add esp, 8
lea eax, [ebp - 0x18cc]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x37c0], eax
cmp dword [ebp - 0x37c0], 0
jne 0x414e39
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x1aac]
push eax
push 0xc00000d5
mov ecx, dword [ebp - 0x1ab0]
push ecx
lea edx, [ebp - 0x22b4]
push edx
lea eax, [ebp - 0x52b8]
push eax
lea ecx, [ebp - 0x46b8]
push ecx
lea edx, [ebp - 0x42b8]
push edx
push 2
call fcn.0041ad37
add esp, 0x2c
test eax, eax
jne 0x414f11
cmp dword [ebp - 0x37c0], 0
je 0x414e87
cmp dword [0x448b2c], 0
je 0x414e59
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x5300], eax
jmp 0x414e68
mov ecx, dword [ebp + 0xc]
add ecx, 0xb14
mov dword [ebp - 0x5300], ecx
mov edx, dword [ebp - 0x5300]
push edx
lea eax, [ebp - 0x1aac]
push eax
push 0x10b
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
push 0x200
lea ecx, [ebp - 0x2fb8]
push ecx
push 0x102
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0x1aac]
push eax
lea ecx, [ebp - 0x2fb8]
push ecx
lea edx, [ebp - 0x16dc]
push edx
mov eax, dword [0x449ba0]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x16dc]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea edx, [ebp - 0x2ad4]
push edx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
add eax, 1
mov ecx, 0x400
sub ecx, eax
cmp esi, ecx
jae 0x414f0f
lea edx, [ebp - 0x16dc]
push edx
lea eax, [ebp - 0x2ad4]
push eax
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
jmp 0x414f65
cmp dword [0x448b2c], 0
je 0x414f28
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x5304], ecx
jmp 0x414f37
mov edx, dword [ebp + 0xc]
add edx, 0xb14
mov dword [ebp - 0x5304], edx
lea eax, [ebp - 0x1aac]
push eax
mov ecx, dword [ebp - 0x5304]
push ecx
push 0x103
push 0
push 3
call fcn.0041b8d1
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x280]
mov dword [ebp - 0x22bc], eax
cmp dword [0x448b2c], 0
je 0x414f7c
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x5308], ecx
jmp 0x414f8b
mov edx, dword [ebp + 0xc]
add edx, 0xb14
mov dword [ebp - 0x5308], edx
mov eax, dword [ebp - 0x5308]
push eax
push 0xb8
push 0
push 3
call fcn.0041b8d1
add esp, 0x10
lea ecx, [ebp - 0x2b38]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004085ba
add esp, 8
push 0x43c844
mov eax, dword [ebp + 0xc]
add eax, 0x118
push eax
call dword [sym.imp.MSVCRT.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4150c4
push 0
call fcn.00426ca2
add esp, 4
test eax, eax
je 0x4150c4
lea ecx, [ebp - 0x2ad4]
push ecx
mov edx, dword [ebp - 0x22d4]
push edx
mov eax, dword [ebp - 0x22c8]
push eax
mov ecx, dword [ebp - 0x22cc]
push ecx
mov edx, dword [ebp - 0x22d0]
push edx
lea eax, [ebp - 0x2b38]
push eax
call fcn.00423281
add esp, 0x18
test eax, eax
jne 0x4150c4
cmp dword [0x448b2c], 0
je 0x415038
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x530c], ecx
jmp 0x415047
mov edx, dword [ebp + 0xc]
add edx, 0xb14
mov dword [ebp - 0x530c], edx
mov eax, dword [ebp - 0x530c]
push eax
push 0x127
push 0
push 1
call fcn.0041b8d1
add esp, 0x10
push 0x200
lea ecx, [ebp - 0x2fb8]
push ecx
push 0x128
mov edx, dword [0x4492ac]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0x2fb8]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x2ad4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
add eax, 1
mov edx, 0x400
sub edx, eax
cmp esi, edx
jae 0x4150c4
lea eax, [ebp - 0x2fb8]
push eax
lea ecx, [ebp - 0x2ad4]
push ecx
call dword [sym.imp.MSVCRT.dll_wcscat]
add esp, 8
cmp dword [ebp - 0x2fbc], 0
je 0x415127
cmp dword [0x448b2c], 0
je 0x4150e4
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x5310], edx
jmp 0x4150f2
mov eax, dword [ebp + 0xc]
add eax, 0xb14
mov dword [ebp - 0x5310], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x284]
push edx
mov eax, dword [ebp - 0x5310]
push eax
push 0xeb
push 0
push 2
call fcn.0041b8d1
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.004084d6
add esp, 8
mov dword [ebp - 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret