Function at 0x41e730
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57e0eb
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x1a8
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 - 0x184], ecx
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_316]
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x184]
call fcn.0041c410
mov dword [ebp - 0x124], eax
mov eax, dword [ebp - 0x124]
add eax, 0x13c
push eax
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov ecx, dword [ebp - 0x124]
add ecx, 0xc4
call fcn.0040b7b0
mov dword [ebp - 0x128], eax
push 3
push 2
lea ecx, [ebp - 0x15c]
push ecx
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_4507]
mov dword [ebp - 0x188], eax
mov edx, dword [ebp - 0x188]
mov dword [ebp - 0x18c], edx
mov byte [ebp - 4], 7
mov eax, dword [ebp - 0x18c]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x15c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x320
jle 0x41e91c
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_3178]
cmp eax, 7
jne 0x41e91c
mov ecx, dword [ebp + 0xc]
push ecx
push ecx
mov ecx, esp
mov dword [ebp - 0x160], esp
lea edx, [ebp + 8]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_300]
mov dword [ebp - 0x190], eax
mov ecx, dword [ebp - 0x184]
call fcn.0041f180
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
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 0x41f16a
push 0
mov eax, dword [ebp - 0x184]
mov ecx, dword [eax + 0x50c]
push ecx
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049e180
lea edx, [ebp - 0x130]
push edx
push 0x3ea
mov ecx, dword [ebp - 0x184]
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_4116
push 0x3f7
mov ecx, dword [ebp - 0x184]
call sub.mfc90.dll_Ordinal_2899
mov dword [ebp - 0x14], eax
mov ecx, dword [ebp - 0x14]
call fcn.004220f0
cmp eax, 0xffffffff
je 0x41e994
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp - 0x14]
call fcn.004220f0
push eax
mov ecx, dword [ebp - 0x14]
call sub.mfc90.dll_Ordinal_3175
jmp 0x41e9b2
lea ecx, [ebp - 0x130]
push ecx
push 0x3f7
mov ecx, dword [ebp - 0x184]
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_4116
mov edx, dword [ebp - 0x184]
mov dword [edx + 0x550], 1
lea eax, [ebp - 0x18]
push eax
push 0x3eb
mov ecx, dword [ebp - 0x184]
call sub.mfc90.dll_Ordinal_2899
mov ecx, eax
call sub.mfc90.dll_Ordinal_4116
push 0
lea ecx, [ebp - 0x120]
call fcn.004de890
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x120]
call sub.mfc90.dll_Ordinal_2208
cmp eax, 1
je 0x41ea79
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x120]
call fcn.004de8f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
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 0x41f16a
push ecx
mov ecx, esp
mov dword [ebp - 0x164], esp
push 0x59e414
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [ebp - 0x194], eax
lea ecx, [ebp - 0xa0]
push ecx
lea edx, [ebp - 0x168]
push edx
call fcn.004b6980
add esp, 0xc
mov dword [ebp - 0x198], eax
mov eax, dword [ebp - 0x198]
mov dword [ebp - 0x19c], eax
mov byte [ebp - 4], 9
mov ecx, dword [ebp - 0x19c]
push ecx
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x168]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push ecx
mov ecx, esp
mov dword [ebp - 0x16c], esp
push 0x59e41c
call dword [sym.imp.mfc90.dll_Ordinal_310]
mov dword [ebp - 0x1a0], eax
lea edx, [ebp - 0xac]
push edx
lea eax, [ebp - 0x170]
push eax
call fcn.004b6980
add esp, 0xc
mov dword [ebp - 0x1a4], eax
mov ecx, dword [ebp - 0x1a4]
mov dword [ebp - 0x1a8], ecx
mov byte [ebp - 4], 0xa
mov edx, dword [ebp - 0x1a8]
push edx
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x170]
call dword [sym.imp.mfc90.dll_Ordinal_601]
cmp dword [ebp - 0x90], 0
je 0x41ebac
cmp dword [ebp - 0x94], 0
je 0x41eb83
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [0x5f87c4]
push ecx
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x5f87c4]
push eax
push 0x59e428
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
jmp 0x41ebaa
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [0x5f87c4]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
mov edx, dword [ebp - 0x20]
push edx
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_relationid__s_and_relationid___s_and_left_relationid_8__s_and__field_1_s___and_field_9_
lea eax, [ebp - 0x28]
push eax
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
jmp 0x41ec07
cmp dword [ebp - 0x94], 0
je 0x41ebdf
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [0x5f87c4]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x5f87c4]
push ecx
push str.select__select_top_1_field_3_from_usertabb002_where_field_3t1.field_3__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_Str1_min_relationid__max_relationid__field_3_field_5__as_itemid_usertabb005_as_tablename_from_usertabb005_as_t1_where_field_11_100_and_left_relationid_8__s_and__field_3_s___and_field_9_
lea edx, [ebp - 0x28]
push edx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
jmp 0x41ec07
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [0x5f87c4]
push ecx
mov edx, dword [ebp - 0x13c]
push edx
mov eax, dword [ebp - 0x20]
push eax
push str.select__select_top_1_field_3_from_usertabb002_where_field_3t1.field_3__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_Str1_min_relationid__max_relationid__field_3_field_5__as_itemid_usertabb005_as_tablename_from_usertabb005_as_t1_where_field_11_100_and_relationid__s_and_relationid___s_and_left_relationid_8__s_and__field_3_s___and_field_9_
lea ecx, [ebp - 0x28]
push ecx
call dword [sym.imp.mfc90.dll_Ordinal_2539]
add esp, 0x18
push 0x59f1a8
lea edx, [ebp - 0x28]
push edx
lea eax, [ebp - 0x174]
push eax
call fcn.00402d80
add esp, 0xc
mov dword [ebp - 0x1ac], eax
mov ecx, dword [ebp - 0x1ac]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea ecx, [ebp - 0x174]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0x5f87ac
lea ecx, [ebp - 0x88]
call fcn.005686b0
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x24], 1
mov ecx, dword [ebp - 0x184]
mov dword [ecx + 0x528], 0xa
mov byte [ebp - 4], 0xc
push 3
push 3
push 1
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
lea ecx, [ebp - 0x88]
call fcn.005688c0
jmp 0x41ed78
mov dword [ebp - 4], 0xb
lea ecx, [ebp - 0x88]
call fcn.00569470
test eax, eax
je 0x41ee37
mov edx, dword [ebp - 0x184]
mov dword [edx + 0x514], 1
lea ecx, [ebp - 0x88]
call fcn.00568de0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.005687e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x120]
call fcn.004de8f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
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 0x41f16a
lea ecx, [ebp - 0x88]
call fcn.00569470
test eax, eax
jne 0x41f0bb
mov dword [ebp - 0x1c], 0
jmp 0x41ee5c
mov eax, dword [ebp - 0x1c]
add eax, 1
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 9
jge 0x41ef3c
cmp dword [ebp - 0x1c], 2
je 0x41ee78
cmp dword [ebp - 0x1c], 5
je 0x41ee78
cmp dword [ebp - 0x1c], 6
jne 0x41eebe
mov ecx, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x88]
call fcn.0056e700
mov ecx, eax
call fcn.00408d20
fstp qword [ebp - 0x138]
sub esp, 8
fld qword [ebp - 0x138]
fstp qword [esp]
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049c350
jmp 0x41ef37
lea ecx, [ebp - 0x178]
push ecx
mov edx, dword [ebp - 0x1c]
push edx
lea ecx, [ebp - 0x88]
call fcn.0056e700
mov ecx, eax
call fcn.0056dee0
mov dword [ebp - 0x1b0], eax
mov eax, dword [ebp - 0x1b0]
mov dword [ebp - 0x1b4], eax
mov byte [ebp - 4], 0x12
mov ecx, dword [ebp - 0x1b4]
push ecx
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x178]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
mov edx, dword [ebp - 0x1c]
add edx, 1
push edx
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049ca20
jmp 0x41ee53
lea ecx, [ebp - 0x17c]
push ecx
push 0x59f204
lea ecx, [ebp - 0x88]
call fcn.0056e800
mov ecx, eax
call fcn.00408d40
mov byte [ebp - 4], 0x13
lea edx, [ebp - 0x17c]
push edx
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x17c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
push 0
push 0x59f20c
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_2481]
test eax, eax
jle 0x41efb5
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x1e
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049ca20
jmp 0x41eff1
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
call dword [sym.imp.MSVCR90.dll_atoi]
add esp, 4
mov dword [ebp - 0x1b8], eax
fild dword [ebp - 0x1b8]
sub esp, 8
fstp qword [esp]
push 0x1e
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049c350
lea edx, [ebp - 0x180]
push edx
push 0x59f210
lea ecx, [ebp - 0x88]
call fcn.0056e800
mov ecx, eax
call fcn.00408d40
mov byte [ebp - 4], 0x14
lea eax, [ebp - 0x180]
push eax
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_817]
mov byte [ebp - 4], 0xb
lea ecx, [ebp - 0x180]
call dword [sym.imp.mfc90.dll_Ordinal_601]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc90.dll_Ordinal_910]
push eax
push 0x1f
mov ecx, dword [ebp - 0x24]
push ecx
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049ca20
mov edx, dword [ebp - 0x24]
add edx, 1
mov dword [ebp - 0x24], edx
mov eax, dword [ebp - 0x24]
add eax, 1
mov ecx, dword [ebp - 0x184]
cmp eax, dword [ecx + 0x528]
jl 0x41f0ab
push 3
push 0xffffffffffffffff
mov edx, dword [ebp - 0x24]
push edx
push 0xffffffffffffffff
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x184]
add ecx, 0x4b0
call fcn.0049db00
mov ecx, dword [ebp - 0x184]
mov edx, dword [ecx + 0x528]
add edx, 1
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x528], edx
lea ecx, [ebp - 0x88]
call fcn.00569110
jmp 0x41ee37
mov ecx, dword [ebp - 0x184]
mov edx, dword [ebp - 0x24]
mov dword [ecx + 0x514], edx
lea ecx, [ebp - 0x88]
call fcn.00568de0
mov eax, dword [ebp - 0x184]
mov dword [eax + 0x51c], 0
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x88]
call fcn.005687e0
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x120]
call fcn.004de8f0
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x13c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x20]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x12c]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x130]
call dword [sym.imp.mfc90.dll_Ordinal_601]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x28]
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