Function at 0x40aa00
Capabilities:
Reference sql statements

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c520
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8e8
mov eax, dword [0x42729c]
mov dword [ebp - 0x18], eax
movzx eax, word [0x431968]
test eax, eax
jne 0x40aa45
movzx ecx, word [0x431918]
test ecx, ecx
jne 0x40aa45
xor eax, eax
jmp 0x40b9a5
lea ecx, [ebp - 0x820]
call fcn.00418f50
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417ae0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417ae0
mov byte [ebp - 4], 2
movzx edx, word [0x431918]
test edx, edx
je 0x40aa9c
push 0x431918
push str.SELECT_plan_name__remote_history_server_FROM_msdb.dbo.sysdbmaintplans_WHERE_plan_id___s
lea eax, [ebp - 0x81c]
push eax
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
jmp 0x40aab6
push 0x431968
push str.SELECT_plan_id__remote_history_server_FROM_msdb.dbo.sysdbmaintplans_WHERE_plan_name__N_s
lea ecx, [ebp - 0x81c]
push ecx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
mov ecx, 0x432214
call fcn.004188a0
mov dword [ebp - 0x8a0], eax
push 0
lea ecx, [ebp - 0x820]
call fcn.00418fc0
push eax
lea edx, [ebp - 0x81c]
push edx
mov eax, dword [ebp - 0x8a0]
push eax
mov ecx, dword [ebp - 0x8a0]
mov edx, dword [ecx]
call dword [edx + 0x170]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40aba3
lea ecx, [ebp - 0x820]
call fcn.00418fe0
test eax, eax
jne 0x40aba3
lea ecx, [ebp - 0x820]
call fcn.00419000
mov dword [ebp - 0x8a4], eax
lea ecx, [ebp - 0x830]
call fcn.00417b90
push eax
push 0
push 0
mov eax, dword [ebp - 0x8a4]
push eax
mov ecx, dword [ebp - 0x8a4]
mov edx, dword [ecx]
call dword [edx + 0x50]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40aba3
lea ecx, [ebp - 0x830]
call fcn.00417b50
test eax, eax
je 0x40aba3
lea ecx, [ebp - 0x820]
call fcn.00419000
mov dword [ebp - 0x8a8], eax
lea ecx, [ebp - 0x828]
call fcn.00417b90
push eax
push 1
push 0
mov eax, dword [ebp - 0x8a8]
push eax
mov ecx, dword [ebp - 0x8a8]
mov edx, dword [ecx]
call dword [edx + 0x50]
push eax
call fcn.00407110
add esp, 4
test eax, eax
je 0x40abe8
mov dword [ebp - 0x868], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x868]
jmp 0x40b9a5
movzx eax, word [0x431918]
test eax, eax
je 0x40abff
mov dword [ebp - 0x8ac], 0x431968
jmp 0x40ac09
mov dword [ebp - 0x8ac], 0x431918
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
mov ecx, dword [ebp - 0x8ac]
push ecx
call dword [sym.imp.MSVCR71.dll_wcscpy]
add esp, 8
push 0x100
push 0x427440
push 0x431968
call fcn.00409ed0
add esp, 0xc
lea ecx, [ebp - 0x830]
call fcn.00417b20
lea ecx, [ebp - 0x820]
call fcn.00419020
lea ecx, [ebp - 0x828]
call fcn.00417b50
test eax, eax
je 0x40ad73
lea ecx, [ebp - 0x828]
call fcn.00417b70
push eax
call dword [sym.imp.MSVCR71.dll_wcslen]
add esp, 4
cmp eax, 1
jbe 0x40ad73
mov ecx, 0x43221c
call fcn.00418860
push eax
push 0x424b4c
push 1
push 0
push 0x424b8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40ad73
mov ecx, 0x43221c
call fcn.00418840
test eax, eax
je 0x40ad73
mov ecx, 0x43221c
call fcn.004188a0
mov dword [ebp - 0x8b0], eax
push 0xa
mov edx, dword [ebp - 0x8b0]
push edx
mov eax, dword [ebp - 0x8b0]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40ad69
mov ecx, 0x43221c
call fcn.004188a0
mov dword [ebp - 0x8b4], eax
push 1
mov edx, dword [ebp - 0x8b4]
push edx
mov eax, dword [ebp - 0x8b4]
mov ecx, dword [eax]
call dword [ecx + 0x64]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40ad69
mov ecx, 0x43221c
call fcn.004188a0
mov dword [ebp - 0x8b8], eax
push 0
push 0
lea ecx, [ebp - 0x828]
call fcn.00417b70
push eax
mov edx, dword [ebp - 0x8b8]
push edx
mov eax, dword [ebp - 0x8b8]
mov ecx, dword [eax]
call dword [ecx + 0x158]
push eax
call fcn.00407110
add esp, 4
test eax, eax
je 0x40ad73
mov ecx, 0x43221c
call fcn.004188c0
mov dword [ebp - 0x838], 0
push 0x431918
push str.SELECT_database_name_FROM_msdb.dbo.sysdbmaintplan_databases_WHERE_plan_id___s
lea edx, [ebp - 0x81c]
push edx
call dword [sym.imp.MSVCR71.dll_swprintf]
add esp, 0xc
mov ecx, 0x432214
call fcn.004188a0
mov dword [ebp - 0x8bc], eax
push 0
lea ecx, [ebp - 0x820]
call fcn.00418fc0
push eax
lea eax, [ebp - 0x81c]
push eax
mov ecx, dword [ebp - 0x8bc]
push ecx
mov edx, dword [ebp - 0x8bc]
mov eax, dword [edx]
call dword [eax + 0x170]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40ae2d
lea ecx, [ebp - 0x820]
call fcn.00418fe0
test eax, eax
jne 0x40ae2d
lea ecx, [ebp - 0x820]
call fcn.00419000
mov dword [ebp - 0x8c0], eax
lea ecx, [ebp - 0x838]
push ecx
mov edx, dword [ebp - 0x8c0]
push edx
mov eax, dword [ebp - 0x8c0]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40ae2d
cmp dword [ebp - 0x838], 0
jge 0x40ae72
mov dword [ebp - 0x86c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x86c]
jmp 0x40b9a5
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x834], 0
mov dword [ebp - 0x82c], 0
mov dword [ebp - 0x824], 0
mov dword [ebp - 0x83c], 0
jmp 0x40aeb2
mov edx, dword [ebp - 0x83c]
add edx, 1
mov dword [ebp - 0x83c], edx
mov eax, dword [ebp - 0x83c]
cmp eax, dword [ebp - 0x838]
jge 0x40afba
lea ecx, [ebp - 0x830]
call fcn.00417b20
lea ecx, [ebp - 0x820]
call fcn.00419000
mov dword [ebp - 0x8c4], eax
lea ecx, [ebp - 0x830]
call fcn.00417b90
push eax
push 0
mov ecx, dword [ebp - 0x83c]
push ecx
mov edx, dword [ebp - 0x8c4]
push edx
mov eax, dword [ebp - 0x8c4]
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jl 0x40afb5
lea ecx, [ebp - 0x830]
call fcn.00417b50
test eax, eax
je 0x40afb5
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
push 0x41effc
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40af4c
mov dword [ebp - 0x10], 1
jmp 0x40aea3
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
push 0x41f018
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40af79
mov dword [ebp - 0x834], 1
jmp 0x40aea3
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
push 0x41f044
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40afa6
mov dword [ebp - 0x82c], 1
jmp 0x40aea3
mov edx, dword [ebp - 0x824]
add edx, 1
mov dword [ebp - 0x824], edx
jmp 0x40aea3
lea ecx, [ebp - 0x830]
call fcn.00417b20
cmp dword [ebp - 0x10], 0
jne 0x40afe4
cmp dword [ebp - 0x82c], 0
je 0x40afe4
cmp dword [ebp - 0x834], 0
je 0x40afe4
mov dword [ebp - 0x10], 1
cmp dword [ebp - 0x10], 0
je 0x40b00c
mov dword [ebp - 0x834], 0
mov eax, dword [ebp - 0x834]
mov dword [ebp - 0x82c], eax
mov ecx, dword [ebp - 0x82c]
mov dword [ebp - 0x824], ecx
cmp dword [ebp - 0x10], 0
jne 0x40b028
cmp dword [ebp - 0x82c], 0
jne 0x40b028
cmp dword [ebp - 0x834], 0
je 0x40b2cf
lea ecx, [ebp - 0x844]
call fcn.004186e0
mov byte [ebp - 4], 3
mov dword [ebp - 0x840], 0
mov dword [ebp - 0x848], 0
mov ecx, 0x432214
call fcn.00418880
test eax, eax
jne 0x40b09b
mov ecx, 0x432214
call fcn.004188a0
mov dword [ebp - 0x8c8], eax
lea edx, [ebp - 0x840]
push edx
mov eax, dword [ebp - 0x8c8]
push eax
mov ecx, dword [ebp - 0x8c8]
mov edx, dword [ecx]
call dword [edx + 0xf0]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b09b
cmp dword [ebp - 0x840], 0
jg 0x40b0ef
mov dword [ebp - 0x870], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x844]
call fcn.00418700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x870]
jmp 0x40b9a5
mov dword [ebp - 0x84c], 0
jmp 0x40b10a
mov eax, dword [ebp - 0x84c]
add eax, 1
mov dword [ebp - 0x84c], eax
mov ecx, dword [ebp - 0x84c]
cmp ecx, dword [ebp - 0x840]
jge 0x40b2c0
mov ecx, 0x432214
call fcn.004188a0
mov dword [ebp - 0x8cc], eax
lea ecx, [ebp - 0x844]
call fcn.00418730
push eax
mov edx, dword [ebp - 0x84c]
push edx
mov eax, dword [ebp - 0x8cc]
push eax
mov ecx, dword [ebp - 0x8cc]
mov edx, dword [ecx]
call dword [edx + 0xe0]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b1fa
lea ecx, [ebp - 0x844]
call fcn.00418750
test eax, eax
jne 0x40b1fa
lea ecx, [ebp - 0x844]
call fcn.00418770
mov dword [ebp - 0x8d0], eax
lea eax, [ebp - 0x848]
push eax
mov ecx, dword [ebp - 0x8d0]
push ecx
mov edx, dword [ebp - 0x8d0]
mov eax, dword [edx]
call dword [eax + 0x4c]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b1fa
lea ecx, [ebp - 0x844]
call fcn.00418770
mov dword [ebp - 0x8d4], eax
lea ecx, [ebp - 0x830]
call fcn.00417b90
push eax
mov ecx, dword [ebp - 0x8d4]
push ecx
mov edx, dword [ebp - 0x8d4]
mov eax, dword [edx]
call dword [eax + 0x20]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b1fa
lea ecx, [ebp - 0x830]
call fcn.00417b50
test eax, eax
jne 0x40b24e
mov dword [ebp - 0x874], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x844]
call fcn.00418700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x874]
jmp 0x40b9a5
push 0x41f06c
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b2a5
cmp dword [ebp - 0x10], 0
jne 0x40b296
cmp dword [ebp - 0x848], 0
je 0x40b284
cmp dword [ebp - 0x834], 0
jne 0x40b296
cmp dword [ebp - 0x848], 0
jne 0x40b2a5
cmp dword [ebp - 0x82c], 0
je 0x40b2a5
mov ecx, dword [ebp - 0x824]
add ecx, 1
mov dword [ebp - 0x824], ecx
lea ecx, [ebp - 0x830]
call fcn.00417b20
lea ecx, [ebp - 0x844]
call fcn.00418790
jmp 0x40b0fb
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x844]
call fcn.00418700
mov edx, dword [ebp - 0x824]
mov dword [0x43180c], edx
mov eax, dword [0x43180c]
mov dword [ebp - 0x878], eax
mov ecx, dword [ebp - 0x878]
imul ecx, ecx, 0xb70
add ecx, 4
push ecx
call sub.MSVCR71.dll_void____cdecl_operator_new___unsigned_int_
add esp, 4
mov dword [ebp - 0x880], eax
mov byte [ebp - 4], 4
cmp dword [ebp - 0x880], 0
je 0x40b355
mov edx, dword [ebp - 0x880]
mov eax, dword [ebp - 0x878]
mov dword [edx], eax
push fcn.004179e0
push 0x40a410
mov ecx, dword [ebp - 0x878]
push ecx
push 0xb70
mov edx, dword [ebp - 0x880]
add edx, 4
push edx
call fcn.00419575
mov eax, dword [ebp - 0x880]
add eax, 4
mov dword [ebp - 0x8d8], eax
jmp 0x40b35f
mov dword [ebp - 0x8d8], 0
mov ecx, dword [ebp - 0x8d8]
mov dword [ebp - 0x87c], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x87c]
mov dword [0x431808], edx
cmp dword [0x431808], 0
jne 0x40b3c9
mov dword [ebp - 0x884], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x884]
jmp 0x40b9a5
mov dword [ebp - 0x14], 0
cmp dword [ebp - 0x10], 0
jne 0x40b3ec
cmp dword [ebp - 0x82c], 0
jne 0x40b3ec
cmp dword [ebp - 0x834], 0
je 0x40b6c4
lea ecx, [ebp - 0x854]
call fcn.004186e0
mov byte [ebp - 4], 5
mov dword [ebp - 0x850], 0
mov dword [ebp - 0x858], 0
mov ecx, 0x432214
call fcn.00418880
test eax, eax
jne 0x40b45f
mov ecx, 0x432214
call fcn.004188a0
mov dword [ebp - 0x8dc], eax
lea eax, [ebp - 0x850]
push eax
mov ecx, dword [ebp - 0x8dc]
push ecx
mov edx, dword [ebp - 0x8dc]
mov eax, dword [edx]
call dword [eax + 0xf0]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b45f
cmp dword [ebp - 0x850], 0
jg 0x40b4b3
mov dword [ebp - 0x888], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x854]
call fcn.00418700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x888]
jmp 0x40b9a5
mov dword [ebp - 0x85c], 0
jmp 0x40b4ce
mov ecx, dword [ebp - 0x85c]
add ecx, 1
mov dword [ebp - 0x85c], ecx
mov edx, dword [ebp - 0x85c]
cmp edx, dword [ebp - 0x850]
jge 0x40b6b5
mov ecx, 0x432214
call fcn.004188a0
mov dword [ebp - 0x8e0], eax
lea ecx, [ebp - 0x854]
call fcn.00418730
push eax
mov eax, dword [ebp - 0x85c]
push eax
mov ecx, dword [ebp - 0x8e0]
push ecx
mov edx, dword [ebp - 0x8e0]
mov eax, dword [edx]
call dword [eax + 0xe0]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b5be
lea ecx, [ebp - 0x854]
call fcn.00418750
test eax, eax
jne 0x40b5be
lea ecx, [ebp - 0x854]
call fcn.00418770
mov dword [ebp - 0x8e4], eax
lea ecx, [ebp - 0x858]
push ecx
mov edx, dword [ebp - 0x8e4]
push edx
mov eax, dword [ebp - 0x8e4]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b5be
lea ecx, [ebp - 0x854]
call fcn.00418770
mov dword [ebp - 0x8e8], eax
lea ecx, [ebp - 0x830]
call fcn.00417b90
push eax
mov edx, dword [ebp - 0x8e8]
push edx
mov eax, dword [ebp - 0x8e8]
mov ecx, dword [eax]
call dword [ecx + 0x20]
push eax
call fcn.00407110
add esp, 4
test eax, eax
jne 0x40b5be
lea ecx, [ebp - 0x830]
call fcn.00417b50
test eax, eax
jne 0x40b612
mov dword [ebp - 0x88c], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x854]
call fcn.00418700
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x88c]
jmp 0x40b9a5
push 0x41f07c
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b69a
mov edx, dword [ebp - 0x14]
cmp edx, dword [0x43180c]
jge 0x40b69a
cmp dword [ebp - 0x10], 0
jne 0x40b665
cmp dword [ebp - 0x858], 0
je 0x40b653
cmp dword [ebp - 0x834], 0
jne 0x40b665
cmp dword [ebp - 0x858], 0
jne 0x40b69a
cmp dword [ebp - 0x82c], 0
je 0x40b69a
mov eax, dword [ebp - 0x14]
imul eax, eax, 0xb70
add eax, dword [0x431808]
mov dword [ebp - 0x8ec], eax
mov ecx, dword [ebp - 0x14]
add ecx, 1
mov dword [ebp - 0x14], ecx
lea ecx, [ebp - 0x830]
call fcn.00417b50
push eax
mov ecx, dword [ebp - 0x8ec]
call fcn.0040a4a0
lea ecx, [ebp - 0x830]
call fcn.00417b20
lea ecx, [ebp - 0x854]
call fcn.00418790
jmp 0x40b4bf
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x854]
call fcn.00418700
cmp dword [ebp - 0x10], 0
je 0x40b70f
mov dword [ebp - 0x890], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x890]
jmp 0x40b9a5
mov dword [ebp - 0x83c], 0
jmp 0x40b72a
mov edx, dword [ebp - 0x83c]
add edx, 1
mov dword [ebp - 0x83c], edx
mov eax, dword [ebp - 0x83c]
cmp eax, dword [ebp - 0x838]
jge 0x40b965
lea ecx, [ebp - 0x820]
call fcn.00419000
mov dword [ebp - 0x8f0], eax
lea ecx, [ebp - 0x830]
call fcn.00417b90
push eax
push 0
mov ecx, dword [ebp - 0x83c]
push ecx
mov edx, dword [ebp - 0x8f0]
push edx
mov eax, dword [ebp - 0x8f0]
mov ecx, dword [eax]
call dword [ecx + 0x50]
test eax, eax
jl 0x40b91e
lea ecx, [ebp - 0x830]
call fcn.00417b50
test eax, eax
je 0x40b91e
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
push str.All_Databases
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b807
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
push str.All_System_Databases
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b807
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
push str.All_User_Databases
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
je 0x40b807
push str.tempdb
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
call dword [sym.imp.MSVCR71.dll__wcsicmp]
add esp, 8
test eax, eax
jne 0x40b80c
jmp 0x40b71b
mov dword [ebp - 0x860], 0
mov dword [ebp - 0x864], 0
jmp 0x40b831
mov edx, dword [ebp - 0x864]
add edx, 1
mov dword [ebp - 0x864], edx
mov eax, dword [ebp - 0x864]
cmp eax, dword [ebp - 0x14]
jge 0x40b87b
lea ecx, [ebp - 0x830]
call fcn.00417b70
push eax
mov ecx, dword [ebp - 0x864]
imul ecx, ecx, 0xb70
add ecx, dword [0x431808]
call fcn.00417d40
push eax
call dword [sym.imp.MSVCR71.dll_wcscmp]
add esp, 8
test eax, eax
jne 0x40b879
mov dword [ebp - 0x860], 1
jmp 0x40b87b
jmp 0x40b822
cmp dword [ebp - 0x860], 0
jne 0x40b911
mov ecx, dword [ebp - 0x14]
cmp ecx, dword [0x43180c]
jge 0x40b911
mov edx, dword [ebp - 0x14]
imul edx, edx, 0xb70
add edx, dword [0x431808]
mov dword [ebp - 0x8f4], edx
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0x830]
call fcn.00417b50
push eax
mov ecx, dword [ebp - 0x8f4]
call fcn.0040a4a0
test eax, eax
jne 0x40b911
mov dword [ebp - 0x894], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x894]
jmp 0x40b9a5
lea ecx, [ebp - 0x830]
call fcn.00417b20
jmp 0x40b960
mov dword [ebp - 0x898], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x898]
jmp 0x40b9a5
jmp 0x40b71b
mov dword [ebp - 0x89c], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x828]
call fcn.00417b00
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x830]
call fcn.00417b00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x820]
call fcn.00418f70
mov eax, dword [ebp - 0x89c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x18]
call fcn.00419641
mov esp, ebp
pop ebp
ret