Function at 0x4152e0
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x5320
call fcn.00434e00
mov eax, dword [0x44d558]
mov dword [ebp - 8], eax
push esi
push edi
mov ecx, 0xb
mov esi, str.DoJobCompletionActions
lea edi, [ebp - 0x3700]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov ax, word [0x44dbac]
mov word [ebp - 0x1a90], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x1a8e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dbb4]
mov word [ebp - 0x36d0], cx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x36ce]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44dbbc]
mov word [ebp - 0xa08], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0xa06]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dbc4]
mov word [ebp - 0x37c8], ax
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x37c6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dbcc]
mov word [ebp - 0xe08], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0xe06]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44dbd4]
mov word [ebp - 0x26c0], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x26be]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dbdc]
mov word [ebp - 0x808], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x806]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dbe4]
mov word [ebp - 0x2ed0], cx
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x2ece]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44dbec]
mov word [ebp - 0x24c0], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x24be]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dbf4]
mov word [ebp - 0x1eb0], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x1eae]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dbfc]
mov word [ebp - 0x22c0], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x22be]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dword [ebp - 0x1ebc], 0
mov dword [ebp - 0x26d0], 0
mov dword [ebp - 0x26c4], 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x1ec0], 0
mov dword [ebp - 0x26cc], 0
mov dword [ebp - 0x37cc], 0
mov dword [ebp - 0x1eb8], 0
mov dword [ebp - 0x1eb4], 0
mov dword [ebp - 0x26c8], 0
push 0
lea edx, [ebp - 0x1eb4]
push edx
lea eax, [ebp - 0x1eb8]
push eax
call fcn.00423560
add esp, 0xc
push pe_nt_image_headers32
lea ecx, [ebp - 0x24c0]
push ecx
push 8
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea eax, [ebp - 0x1eb0]
push eax
push 3
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov edx, dword [ebp + 0x10]
mov dword [ebp - 0x52cc], edx
cmp dword [ebp - 0x52cc], 0
je 0x415633
cmp dword [ebp - 0x52cc], 1
je 0x41553b
cmp dword [ebp - 0x52cc], 3
je 0x415728
jmp 0x415787
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x268]
and ecx, 1
mov dword [ebp - 0x1ebc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x26c]
and eax, 1
je 0x415573
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x278], 0
je 0x415573
mov dword [ebp - 0x52d0], 1
jmp 0x41557d
mov dword [ebp - 0x52d0], 0
mov edx, dword [ebp - 0x52d0]
mov dword [ebp - 0x26d0], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x270]
and ecx, 1
je 0x4155af
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x27c], 0
je 0x4155af
mov dword [ebp - 0x52d4], 1
jmp 0x4155b9
mov dword [ebp - 0x52d4], 0
mov eax, dword [ebp - 0x52d4]
mov dword [ebp - 0x26c4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x274]
and edx, 1
je 0x4155eb
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x280], 0
je 0x4155eb
mov dword [ebp - 0x52d8], 1
jmp 0x4155f5
mov dword [ebp - 0x52d8], 0
mov ecx, dword [ebp - 0x52d8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x284]
and eax, 1
mov dword [ebp - 0x1ec0], eax
push pe_nt_image_headers32
lea ecx, [ebp - 0xa08]
push ecx
push 0xd5
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
jmp 0x4157a5
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x268]
and ecx, 2
mov dword [ebp - 0x1ebc], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x26c]
and eax, 2
je 0x41566b
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 0x278], 0
je 0x41566b
mov dword [ebp - 0x52dc], 1
jmp 0x415675
mov dword [ebp - 0x52dc], 0
mov edx, dword [ebp - 0x52dc]
mov dword [ebp - 0x26d0], edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x270]
and ecx, 2
je 0x4156a7
mov edx, dword [ebp + 0xc]
cmp dword [edx + 0x27c], 0
je 0x4156a7
mov dword [ebp - 0x52e0], 1
jmp 0x4156b1
mov dword [ebp - 0x52e0], 0
mov eax, dword [ebp - 0x52e0]
mov dword [ebp - 0x26c4], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x274]
and edx, 2
je 0x4156e3
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x280], 0
je 0x4156e3
mov dword [ebp - 0x52e4], 1
jmp 0x4156ed
mov dword [ebp - 0x52e4], 0
mov ecx, dword [ebp - 0x52e4]
mov dword [ebp - 4], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x284]
and eax, 2
mov dword [ebp - 0x1ec0], eax
push pe_nt_image_headers32
lea ecx, [ebp - 0xa08]
push ecx
push 0xd6
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
jmp 0x4157a5
push pe_nt_image_headers32
lea eax, [ebp - 0x26c0]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
call fcn.00418bc0
add esp, 0xc
push 0x200
lea edx, [ebp - 0xe08]
push edx
push 0xd7
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
mov ecx, dword [ebp + 0x1c]
push ecx
lea edx, [ebp - 0x26c0]
push edx
lea eax, [ebp - 0xe08]
push eax
lea ecx, [ebp - 0xa08]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x10
jmp 0x4157a5
push pe_nt_image_headers32
lea eax, [ebp - 0xa08]
push eax
push 0xd8
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
cmp dword [ebp + 0x14], 0
je 0x4157d1
mov edx, dword [ebp + 0x14]
push edx
lea eax, [ebp - 0xa08]
push eax
push str._s___s
lea ecx, [ebp - 0x36d0]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x10
push 0x800
lea eax, [ebp - 0x2ed0]
push eax
push 0x44dc00
push 0x442694
lea ecx, [ebp - 0x36d0]
push ecx
call fcn.004321e0
add esp, 0x14
push 0x800
lea edx, [ebp - 0x36d0]
push edx
push 0x44dc04
push 0x442698
lea eax, [ebp - 0x2ed0]
push eax
call fcn.004321e0
add esp, 0x14
lea ecx, [ebp - 0x36d0]
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.004095d0
add esp, 0x10
push 0x884
push 0
lea edx, [ebp - 0x1690]
push edx
call sub.MSVCR71.dll_memset
add esp, 0xc
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
mov dword [ebp - 0x1690], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x168c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x1688], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x1684], edx
mov eax, dword [ebp + 0xc]
add eax, 0xa94
push eax
lea ecx, [ebp - 0x1680]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
mov dword [ebp - 0x1638], 0
mov dword [ebp - 0x1634], 0
mov dword [ebp - 0x1630], 0
push 0x3ff
lea edx, [ebp - 0x36d0]
push edx
lea eax, [ebp - 0x162c]
push eax
call dword [sym.imp.MSVCR71.dll_wcsncpy]
add esp, 0xc
mov word [ebp - 0xe2e], 0
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0xe2c], ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x4f8]
mov dword [ebp - 0xe28], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x4fc]
mov dword [ebp - 0xe24], edx
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x4f8], 0
je 0x41593c
mov ecx, dword [ebp - 0x1eb4]
push ecx
mov edx, dword [ebp - 0x1eb8]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x4fc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x4f8]
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 - 0xe20], eax
mov dword [ebp - 0xe10], 0
mov dword [ebp - 0xe1c], 0
mov dword [ebp - 0xe18], 0
mov dword [ebp - 0xe14], 0
cmp dword [ebp - 0x1ebc], 0
je 0x415a6e
cmp dword [0x44de90], 0
jne 0x415a6e
cmp dword [ebp + 0x10], 1
jne 0x41599f
push pe_nt_image_headers32
lea ecx, [ebp - 0xa08]
push ecx
push 0xb
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
cmp dword [ebp + 0x10], 0
jne 0x4159c0
push pe_nt_image_headers32
lea eax, [ebp - 0xa08]
push eax
push 0xa
mov ecx, dword [0x44e620]
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 - 0x37c8]
push ecx
call fcn.00423730
add esp, 0xc
cmp dword [0x44dea0], 0
je 0x4159f9
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x52e8], edx
jmp 0x415a07
mov eax, dword [ebp + 0xc]
add eax, 0xa94
mov dword [ebp - 0x52e8], eax
mov ecx, dword [ebp - 0x52e8]
push ecx
push 0xb6
push 0
push 3
call fcn.0041d760
add esp, 0x10
lea edx, [ebp - 0x36d0]
push edx
push 2
lea eax, [ebp - 0x37c8]
push eax
push 2
lea ecx, [ebp - 0xa08]
push ecx
push 2
mov edx, dword [ebp + 0xc]
add edx, 0xa94
push edx
push 2
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
push 2
push 0xa
push 0x400000d0
xor ecx, ecx
cmp dword [ebp + 0x10], 0
setne cl
lea ecx, [ecx + ecx + 2]
push ecx
push 1
call fcn.0041cf30
add esp, 0x38
cmp dword [ebp - 0x26d0], 0
jne 0x415a8a
cmp dword [ebp - 0x26c4], 0
jne 0x415a8a
cmp dword [ebp - 4], 0
je 0x415e22
mov dx, word [0x44dc0c]
mov word [ebp - 0x3ea8], dx
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3ea6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dc14]
mov word [ebp - 0x3d18], ax
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x3d16]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dc1c]
mov word [ebp - 0x3b50], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3b4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44dc24]
mov word [ebp - 0x3a50], dx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3a4e]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dc2c]
mov word [ebp - 0x3da8], ax
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3da6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dc34]
mov word [ebp - 0x3ad0], cx
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x3ace]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44dc3c]
mov word [ebp - 0x39d0], dx
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x39ce]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dc44]
mov word [ebp - 0x3c18], ax
mov ecx, 0x31
xor eax, eax
lea edi, [ebp - 0x3c16]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
push pe_nt_image_headers32
lea ecx, [ebp - 0x39d0]
push ecx
push 9
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea eax, [ebp - 0x3da8]
push eax
push 0xa
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea edx, [ebp - 0x3ad0]
push edx
push 0xb
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea ecx, [ebp - 0x3a50]
push ecx
push 0x18
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
push 0x40
lea eax, [ebp - 0x3b50]
push eax
push 0x17
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea edx, [ebp - 0x3eb4]
push edx
mov eax, dword [ebp - 0xe20]
push eax
call dword [sym.imp.SQLSVC.dll_QScheduleConvertValToTimeStruct]
add esp, 8
mov ecx, dword [ebp - 0x3eac]
push ecx
mov edx, dword [ebp - 0x3eb0]
push edx
mov eax, dword [ebp - 0x3eb4]
push eax
lea ecx, [ebp - 0x3a50]
push ecx
lea edx, [ebp - 0x3c18]
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0x14
push 0x10
push 0
lea eax, [ebp - 0x3d28]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x3ec0]
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 - 0x3eb4]
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 - 0x3eb8]
mov word [ebp - 0x3d28], cx
mov dx, word [ebp - 0x3ebc]
mov word [ebp - 0x3d26], dx
mov ax, word [ebp - 0x3ec0]
mov word [ebp - 0x3d22], ax
mov cx, word [ebp - 0x3eb4]
mov word [ebp - 0x3d20], cx
mov dx, word [ebp - 0x3eb0]
mov word [ebp - 0x3d1e], dx
mov ax, word [ebp - 0x3eac]
mov word [ebp - 0x3d1c], ax
cmp dword [0x450cac], 0
je 0x415cee
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x52ec], eax
jmp 0x415cfa
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebp - 0x52ec], eax
push 0x80
lea ecx, [ebp - 0x3ea8]
push ecx
push 0
lea edx, [ebp - 0x3d28]
push edx
xor eax, eax
cmp dword [0x450cac], 0
setne al
dec eax
and eax, 0x80000000
or eax, 1
push eax
mov ecx, dword [ebp - 0x52ec]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4dc]
cmp dword [0x450cac], 0
je 0x415d4f
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 0x52f0], eax
jmp 0x415d5b
call dword [sym.imp.KERNEL32.dll_GetSystemDefaultLCID]
mov dword [ebp - 0x52f0], eax
push 0x80
lea eax, [ebp - 0x3d18]
push eax
push 0
lea ecx, [ebp - 0x3d28]
push ecx
xor edx, edx
cmp dword [0x450cac], 0
setne dl
dec edx
and edx, 0x80000000
push edx
mov eax, dword [ebp - 0x52f0]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4e4]
cmp dword [ebp + 0x10], 1
jne 0x415dab
lea edx, [ebp - 0x3ad0]
mov dword [ebp - 0x52f4], edx
jmp 0x415db7
lea eax, [ebp - 0x3da8]
mov dword [ebp - 0x52f4], eax
movzx ecx, word [ebp - 0x3c18]
test ecx, ecx
je 0x415dd0
lea edx, [ebp - 0x3c18]
mov dword [ebp - 0x52f8], edx
jmp 0x415ddc
lea eax, [ebp - 0x3b50]
mov dword [ebp - 0x52f8], eax
lea ecx, [ebp - 0x36d0]
push ecx
mov edx, dword [ebp - 0x52f4]
push edx
mov eax, dword [ebp - 0x52f8]
push eax
lea ecx, [ebp - 0x3d18]
push ecx
lea edx, [ebp - 0x3ea8]
push edx
mov eax, dword [ebp + 0xc]
add eax, 0x10
push eax
lea ecx, [ebp - 0x39d0]
push ecx
lea edx, [ebp - 0x808]
push edx
mov eax, dword [0x450d4c]
call dword [eax + 0x4cc]
add esp, 0x20
cmp dword [0x44de90], 0
jne 0x41616e
cmp dword [ebp - 0x26c4], 0
je 0x41616e
lea ecx, [ebp - 0x1e30]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x27c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c080
add esp, 0xc
test eax, eax
je 0x41616e
mov dword [ebp - 0x3ec4], 0
push 0x544
lea edx, [ebp - 0x3700]
push edx
push 8
call fcn.00422830
add esp, 0xc
mov dword [ebp - 0x3ec4], eax
cmp dword [ebp - 0x3ec4], 0
je 0x41616e
push 8
push 0
mov eax, dword [ebp - 0x3ec4]
push eax
call sub.MSVCR71.dll_memset
add esp, 0xc
lea ecx, [ebp - 0x1b7c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov dword [ebp - 0x26c8], eax
cmp dword [ebp - 0x26c8], 0
je 0x415f11
push 0x547
lea edx, [ebp - 0x3700]
push edx
mov eax, dword [ebp - 0x26c8]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00422830
add esp, 0xc
mov edx, dword [ebp - 0x3ec4]
mov dword [edx], eax
mov eax, dword [ebp - 0x3ec4]
cmp dword [eax], 0
je 0x415f11
lea ecx, [ebp - 0x1b7c]
push ecx
mov edx, dword [ebp - 0x3ec4]
mov eax, dword [edx]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0x808]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov dword [ebp - 0x26c8], eax
cmp dword [ebp - 0x26c8], 0
je 0x415f7e
push 0x549
lea edx, [ebp - 0x3700]
push edx
mov eax, dword [ebp - 0x26c8]
lea ecx, [eax + eax + 2]
push ecx
call fcn.00422830
add esp, 0xc
mov edx, dword [ebp - 0x3ec4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x3ec4]
cmp dword [eax + 4], 0
je 0x415f7e
lea ecx, [ebp - 0x808]
push ecx
mov edx, dword [ebp - 0x3ec4]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
lea ecx, [ebp - 0x1b7c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x37cc], eax
jne 0x415fbb
mov edx, dword [ebp - 0x3ec4]
push edx
push 0
push 0x41e0f0
call dword [sym.imp.MSVCR71.dll__beginthread]
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4160df
mov eax, dword [ebp - 0x3ec4]
cmp dword [eax], 0
je 0x415fd7
mov ecx, dword [ebp - 0x3ec4]
mov edx, dword [ecx]
push edx
call fcn.00422e50
add esp, 4
mov eax, dword [ebp - 0x3ec4]
cmp dword [eax + 4], 0
je 0x415ff5
mov ecx, dword [ebp - 0x3ec4]
mov edx, dword [ecx + 4]
push edx
call fcn.00422e50
add esp, 4
mov eax, dword [ebp - 0x3ec4]
push eax
call fcn.00422e50
add esp, 4
cmp dword [ebp - 0x37cc], 0
je 0x416052
cmp dword [0x44dea0], 0
je 0x416024
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x52fc], ecx
jmp 0x416033
mov edx, dword [ebp + 0xc]
add edx, 0xa94
mov dword [ebp - 0x52fc], edx
mov eax, dword [ebp - 0x52fc]
push eax
lea ecx, [ebp - 0x1e2c]
push ecx
push 0x10c
push 0
push 3
call fcn.0041d760
add esp, 0x14
push 0x200
lea edx, [ebp - 0xe08]
push edx
push 0x10d
mov eax, dword [0x44e620]
push eax
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea ecx, [ebp - 0x1e2c]
push ecx
lea edx, [ebp - 0xe08]
push edx
lea eax, [ebp - 0x1a90]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4cc]
add esp, 0xc
lea edx, [ebp - 0x1a90]
push edx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov esi, eax
lea eax, [ebp - 0x162c]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
add eax, 1
mov ecx, 0x400
sub ecx, eax
cmp esi, ecx
jae 0x4160da
lea edx, [ebp - 0x1a90]
push edx
lea eax, [ebp - 0x162c]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
jmp 0x41616e
cmp dword [0x44dea0], 0
je 0x4160f6
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x5300], ecx
jmp 0x416105
mov edx, dword [ebp + 0xc]
add edx, 0xa94
mov dword [ebp - 0x5300], edx
lea eax, [ebp - 0x1e2c]
push eax
mov ecx, dword [ebp - 0x5300]
push ecx
push 0xf7
push 0
push 3
call fcn.0041d760
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x27c]
mov dword [ebp - 0xe18], eax
push 0
lea ecx, [ebp - 0x1eb4]
push ecx
lea edx, [ebp - 0x1eb8]
push edx
call fcn.00423560
add esp, 0xc
push 4
mov eax, dword [ebp - 0x1eb4]
push eax
mov ecx, dword [ebp - 0x1eb8]
push ecx
mov edx, dword [ebp - 0x1e30]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004093e0
add esp, 0x14
cmp dword [ebp - 0x26d0], 0
je 0x416357
lea ecx, [ebp - 0x1e30]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x278]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0040c080
add esp, 0xc
test eax, eax
je 0x416357
push 0x44e508
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x24c0]
push eax
lea ecx, [ebp - 0x22c0]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x10
lea eax, [ebp - 0x1d1c]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x37cc], eax
jne 0x41622f
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x1e2c]
push eax
push 0xc00000d2
mov ecx, dword [ebp - 0x1e30]
push ecx
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x22c0]
push eax
push 0
lea ecx, [ebp - 0x1d1c]
push ecx
push 1
call fcn.0041cb70
add esp, 0x2c
test eax, eax
jne 0x416304
cmp dword [ebp - 0x37cc], 0
je 0x41627c
cmp dword [0x44dea0], 0
je 0x41624f
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x5304], edx
jmp 0x41625d
mov eax, dword [ebp + 0xc]
add eax, 0xa94
mov dword [ebp - 0x5304], eax
mov ecx, dword [ebp - 0x5304]
push ecx
lea edx, [ebp - 0x1e2c]
push edx
push 0x10a
push 0
push 3
call fcn.0041d760
add esp, 0x14
push 0x200
lea eax, [ebp - 0xe08]
push eax
push 0x19
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea edx, [ebp - 0x1e2c]
push edx
lea eax, [ebp - 0xe08]
push eax
lea ecx, [ebp - 0x1a90]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0xc
lea eax, [ebp - 0x1a90]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x162c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
add eax, 1
mov edx, 0x400
sub edx, eax
cmp esi, edx
jae 0x416302
lea eax, [ebp - 0x1a90]
push eax
lea ecx, [ebp - 0x162c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
jmp 0x416357
cmp dword [0x44dea0], 0
je 0x41631b
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x5308], edx
jmp 0x416329
mov eax, dword [ebp + 0xc]
add eax, 0xa94
mov dword [ebp - 0x5308], eax
lea ecx, [ebp - 0x1e2c]
push ecx
mov edx, dword [ebp - 0x5308]
push edx
push 0xb7
push 0
push 3
call fcn.0041d760
add esp, 0x14
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x278]
mov dword [ebp - 0xe1c], ecx
cmp dword [ebp - 4], 0
je 0x416762
lea edx, [ebp - 0x1e30]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 0x280]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.0040c080
add esp, 0xc
test eax, eax
je 0x416762
mov ax, word [0x44dc4c]
mov word [ebp - 0x46c8], ax
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x46c6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov cx, word [0x44dc54]
mov word [ebp - 0x4ac8], cx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x4ac6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov dx, word [0x44dc5c]
mov word [ebp - 0x42c8], dx
mov ecx, 0xff
xor eax, eax
lea edi, [ebp - 0x42c6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
mov ax, word [0x44dc64]
mov word [ebp - 0x52c8], ax
mov ecx, 0x1ff
xor eax, eax
lea edi, [ebp - 0x52c6]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
lea ecx, [ebp - 0x1e30]
push ecx
call fcn.00406820
add esp, 4
test eax, eax
jne 0x4164e9
cmp dword [0x44dea0], 0
je 0x41642e
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x530c], edx
jmp 0x41643c
mov eax, dword [ebp + 0xc]
add eax, 0xa94
mov dword [ebp - 0x530c], eax
mov ecx, dword [ebp - 0x530c]
push ecx
lea edx, [ebp - 0x1e2c]
push edx
push 0x115
push 0
push 2
call fcn.0041d760
add esp, 0x14
push 0x200
lea eax, [ebp - 0xe08]
push eax
push 0x114
mov ecx, dword [0x44e620]
push ecx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea edx, [ebp - 0x1e2c]
push edx
lea eax, [ebp - 0xe08]
push eax
lea ecx, [ebp - 0x1a90]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0xc
lea eax, [ebp - 0x1a90]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x162c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
add eax, 1
mov edx, 0x400
sub edx, eax
cmp esi, edx
jae 0x4164e4
lea eax, [ebp - 0x1a90]
push eax
lea ecx, [ebp - 0x162c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
jmp 0x416762
push 0x44e508
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x24c0]
push eax
lea ecx, [ebp - 0x22c0]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4cc]
add esp, 0x10
push 0x200
push 0x800
lea eax, [ebp - 0x52c8]
push eax
lea ecx, [ebp - 0x1c4c]
push ecx
push 0x44269c
push 0x44fc40
call fcn.004321e0
add esp, 0x14
push eax
lea edx, [ebp - 0x46c8]
push edx
mov eax, dword [0x450d4c]
call dword [eax + 0x4c4]
push 0x200
push 0x800
lea ecx, [ebp - 0x52c8]
push ecx
lea edx, [ebp - 0x1c4c]
push edx
push 0x4426a8
push 0x44fd40
call fcn.004321e0
add esp, 0x14
push eax
lea eax, [ebp - 0x4ac8]
push eax
mov ecx, dword [0x450d4c]
call dword [ecx + 0x4c4]
push 0x200
push 0x800
lea edx, [ebp - 0x52c8]
push edx
lea eax, [ebp - 0x22c0]
push eax
push 0x4426b4
push 0x44fe40
call fcn.004321e0
add esp, 0x14
push eax
lea ecx, [ebp - 0x42c8]
push ecx
mov edx, dword [0x450d4c]
call dword [edx + 0x4c4]
lea eax, [ebp - 0x1c4c]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
neg eax
sbb eax, eax
inc eax
mov dword [ebp - 0x37cc], eax
jne 0x416636
mov ecx, dword [ebp + 8]
push ecx
push 1
mov edx, dword [ebp + 0xc]
add edx, 0x10
push edx
lea eax, [ebp - 0x1e2c]
push eax
push 0xc00000d5
mov ecx, dword [ebp - 0x1e30]
push ecx
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x42c8]
push eax
lea ecx, [ebp - 0x4ac8]
push ecx
lea edx, [ebp - 0x46c8]
push edx
push 2
call fcn.0041cb70
add esp, 0x2c
test eax, eax
jne 0x41670e
cmp dword [ebp - 0x37cc], 0
je 0x416684
cmp dword [0x44dea0], 0
je 0x416656
mov eax, dword [ebp + 0xc]
add eax, 0x10
mov dword [ebp - 0x5310], eax
jmp 0x416665
mov ecx, dword [ebp + 0xc]
add ecx, 0xa94
mov dword [ebp - 0x5310], ecx
mov edx, dword [ebp - 0x5310]
push edx
lea eax, [ebp - 0x1e2c]
push eax
push 0x10b
push 0
push 3
call fcn.0041d760
add esp, 0x14
push 0x200
lea ecx, [ebp - 0xe08]
push ecx
push 0x102
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0x1e2c]
push eax
lea ecx, [ebp - 0xe08]
push ecx
lea edx, [ebp - 0x1a90]
push edx
mov eax, dword [0x450d4c]
call dword [eax + 0x4cc]
add esp, 0xc
lea ecx, [ebp - 0x1a90]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov esi, eax
lea edx, [ebp - 0x162c]
push edx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
add eax, 1
mov ecx, 0x400
sub ecx, eax
cmp esi, ecx
jae 0x41670c
lea edx, [ebp - 0x1a90]
push edx
lea eax, [ebp - 0x162c]
push eax
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
jmp 0x416762
cmp dword [0x44dea0], 0
je 0x416725
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x5314], ecx
jmp 0x416734
mov edx, dword [ebp + 0xc]
add edx, 0xa94
mov dword [ebp - 0x5314], edx
lea eax, [ebp - 0x1e2c]
push eax
mov ecx, dword [ebp - 0x5314]
push ecx
push 0x103
push 0
push 3
call fcn.0041d760
add esp, 0x14
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x280]
mov dword [ebp - 0xe14], eax
cmp dword [0x44dea0], 0
je 0x416779
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x5318], ecx
jmp 0x416788
mov edx, dword [ebp + 0xc]
add edx, 0xa94
mov dword [ebp - 0x5318], edx
mov eax, dword [ebp - 0x5318]
push eax
push 0xb8
push 0
push 3
call fcn.0041d760
add esp, 0x10
lea ecx, [ebp - 0x1690]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00408f30
add esp, 8
push 0x4426c0
mov eax, dword [ebp + 0xc]
add eax, 0x118
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x4168c1
push 0
call fcn.00429070
add esp, 4
test eax, eax
je 0x4168c1
lea ecx, [ebp - 0x162c]
push ecx
mov edx, dword [ebp - 0xe2c]
push edx
mov eax, dword [ebp - 0xe20]
push eax
mov ecx, dword [ebp - 0xe24]
push ecx
mov edx, dword [ebp - 0xe28]
push edx
lea eax, [ebp - 0x1690]
push eax
call fcn.00424780
add esp, 0x18
test eax, eax
jne 0x4168c1
cmp dword [0x44dea0], 0
je 0x416835
mov ecx, dword [ebp + 0xc]
add ecx, 0x10
mov dword [ebp - 0x531c], ecx
jmp 0x416844
mov edx, dword [ebp + 0xc]
add edx, 0xa94
mov dword [ebp - 0x531c], edx
mov eax, dword [ebp - 0x531c]
push eax
push 0x127
push 0
push 1
call fcn.0041d760
add esp, 0x10
push 0x200
lea ecx, [ebp - 0xe08]
push ecx
push 0x128
mov edx, dword [0x44e620]
push edx
call dword [sym.imp.SQLUNIRL.dll__LoadString_16]
lea eax, [ebp - 0xe08]
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
mov esi, eax
lea ecx, [ebp - 0x162c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
add eax, 1
mov edx, 0x400
sub edx, eax
cmp esi, edx
jae 0x4168c1
lea eax, [ebp - 0xe08]
push eax
lea ecx, [ebp - 0x162c]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscat]
add esp, 8
cmp dword [ebp - 0x1ec0], 0
je 0x416927
cmp dword [0x44dea0], 0
je 0x4168e1
mov edx, dword [ebp + 0xc]
add edx, 0x10
mov dword [ebp - 0x5320], edx
jmp 0x4168ef
mov eax, dword [ebp + 0xc]
add eax, 0xa94
mov dword [ebp - 0x5320], eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x284]
push edx
mov eax, dword [ebp - 0x5320]
push eax
push 0xeb
push 0
push 2
call fcn.0041d760
add esp, 0x14
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call fcn.00408e30
add esp, 8
mov dword [ebp - 0x26cc], eax
mov ecx, dword [ebp - 8]
call fcn.00434de1
pop edi
pop esi
mov esp, ebp
pop ebp
ret