Function at 0x41f180
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e1ad
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0xcc
push ebx
push esi
push edi
mov eax, dword [0x5f8310]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0xcc], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 6
lea eax, [ebp - 0x14]
push eax
push 0x3eb
mov ecx, dword [ebp - 0xcc]
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_4116
push 0
mov ecx, dword [ebp - 0xcc]
mov edx, dword [ecx + 0x50c]
push edx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049e180
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [0x5f87c4]
push ecx
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [0x5f87c4]
push eax
push str.select__select_top_1__case_when_len_max_field_5___0_then_max_field_5__else_max_field_3__end__from_usertabb002_where_field_1t1.field_1__as_field_3_field_5_sum_field_6__max_field_7__min_field_9__0__0_case_when_left_right_max_field_17__11__1___then_min_left_right_field_17_21__10___max_right_field_17_10___else__left_convert_varchar_min_field_7__102__7__left_convert_varchar_max_field_7__102__7___end_as_field_17_min_field_4__dbo.F_Str2_min_relationid__max_relationid__field_1_field_5__as_itemid_usertabb005_as_tablename_from_usertabb005_as_t1_where_field_11_100_and_left_relationid_8__s_and__field_1_s___and_field_9_
lea ecx, [ebp - 0x24]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
push 0x59f6b0
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0xbc]
push eax
call fcn.00402d80
add esp, 0xc
mov dword [ebp - 0xd0], eax
mov ecx, dword [ebp - 0xd0]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0xbc]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5f87ac
lea ecx, [ebp - 0x88]
call fcn.005686b0
mov byte [ebp - 4], 7
mov dword [ebp - 0x20], 1
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x528], 0xa
mov byte [ebp - 4], 8
push 3
push 3
push 1
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x88]
call fcn.005688c0
jmp 0x41f3e6
mov dword [ebp - 4], 7
lea ecx, [ebp - 0x88]
call fcn.00569470
test eax, eax
je 0x41f496
mov edx, dword [ebp - 0xcc]
mov dword [edx + 0x514], 1
lea ecx, [ebp - 0x88]
call fcn.00568de0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.005687e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
jmp 0x41f7db
lea ecx, [ebp - 0x88]
call fcn.00569470
test eax, eax
jne 0x41f73b
mov dword [ebp - 0x18], 0
jmp 0x41f4bb
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 9
jge 0x41f59b
cmp dword [ebp - 0x18], 2
je 0x41f4d7
cmp dword [ebp - 0x18], 5
je 0x41f4d7
cmp dword [ebp - 0x18], 6
jne 0x41f51d
mov ecx, dword [ebp - 0x18]
push ecx
lea ecx, [ebp - 0x88]
call fcn.0056e700
mov ecx, eax
call fcn.00408d20
fstp qword [ebp - 0x98]
sub esp, 8
fld qword [ebp - 0x98]
fstp qword [esp]
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049c350
jmp 0x41f596
lea ecx, [ebp - 0xc0]
push ecx
mov edx, dword [ebp - 0x18]
push edx
lea ecx, [ebp - 0x88]
call fcn.0056e700
mov ecx, eax
call fcn.0056dee0
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], eax
mov byte [ebp - 4], 0xe
mov ecx, dword [ebp - 0xd8]
push ecx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc0]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov edx, dword [ebp - 0x18]
add edx, 1
push edx
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049ca20
jmp 0x41f4b2
lea ecx, [ebp - 0xc4]
push ecx
push 0x59f70c
lea ecx, [ebp - 0x88]
call fcn.0056e800
mov ecx, eax
call fcn.00408d40
mov byte [ebp - 4], 0xf
lea edx, [ebp - 0xc4]
push edx
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc4]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
push 0x59f714
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
test eax, eax
jle 0x41f614
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x1e
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049ca20
jmp 0x41f650
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [ebp - 0xdc], eax
fild dword [ebp - 0xdc]
sub esp, 8
fstp qword [esp]
push 0x1e
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049c350
lea edx, [ebp - 0xc8]
push edx
push 0x59f718
lea ecx, [ebp - 0x88]
call fcn.0056e800
mov ecx, eax
call fcn.00408d40
mov byte [ebp - 4], 0x10
lea eax, [ebp - 0xc8]
push eax
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 7
lea ecx, [ebp - 0xc8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x1f
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049ca20
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x26
mov edx, dword [ebp - 0x20]
push edx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049ca20
mov eax, dword [ebp - 0x20]
add eax, 1
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
add ecx, 1
mov edx, dword [ebp - 0xcc]
cmp ecx, dword [edx + 0x528]
jl 0x41f72b
push 3
push 0xffffffffffffffff
mov eax, dword [ebp - 0x20]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
push ecx
mov ecx, dword [ebp - 0xcc]
add ecx, 0x4b0
call fcn.0049db00
mov edx, dword [ebp - 0xcc]
mov eax, dword [edx + 0x528]
add eax, 1
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x528], eax
lea ecx, [ebp - 0x88]
call fcn.00569110
jmp 0x41f496
mov edx, dword [ebp - 0xcc]
mov eax, dword [ebp - 0x20]
mov dword [edx + 0x514], eax
lea ecx, [ebp - 0x88]
call fcn.00568de0
mov ecx, dword [ebp - 0xcc]
mov dword [ecx + 0x51c], 0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x88]
call fcn.005687e0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x14]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x9c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x1c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x8c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x90]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8