Function at 0x464350
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x280
mov eax, dword [0x6fb448]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x134], 0
mov byte [ebp - 0x20], 0
xor eax, eax
mov dword [ebp - 0x1f], eax
mov dword [ebp - 0x1b], eax
mov dword [ebp - 0x17], eax
mov dword [ebp - 0x13], eax
mov dword [ebp - 0xf], eax
mov byte [ebp - 0xb], al
mov byte [ebp - 0x130], 0
push 0x103
push 0
lea ecx, [ebp - 0x12f]
push ecx
call fcn.005b02a0
add esp, 0xc
mov byte [ebp - 0x258], 0
push 0x103
push 0
lea edx, [ebp - 0x257]
push edx
call fcn.005b02a0
add esp, 0xc
mov byte [ebp - 0x14c], 0
xor eax, eax
mov dword [ebp - 0x14b], eax
mov dword [ebp - 0x147], eax
mov dword [ebp - 0x143], eax
mov dword [ebp - 0x13f], eax
mov dword [ebp - 0x13b], eax
mov byte [ebp - 0x137], al
mov dword [ebp - 0x24], 0
mov dword [ebp - 4], 0
xor ecx, ecx
je 0x464461
lea edx, [ebp - 0x258]
push edx
call fcn.00402158
add esp, 4
push 0x104
lea eax, [ebp - 0x130]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004023c4
add esp, 0xc
cmp dword [ebp + 0xc], 0
je 0x46443e
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.005b4720
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x464457
lea ecx, [ebp - 0x258]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.005b4720
add esp, 8
mov eax, 1
jmp 0x464fdb
mov eax, dword [ebp + 8]
push eax
call fcn.00401389
add esp, 4
test eax, eax
je 0x46449d
call fcn.004029b4
mov dword [ebp + 8], eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.00401389
add esp, 4
test eax, eax
je 0x46449d
push str.:4:AutoDetectRealStoreID___FAILED:_GetTAMSIP___has_not_been_initialized.
call fcn.00401014
add esp, 4
xor eax, eax
jmp 0x464fdb
push 0x104
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004023c4
add esp, 0xc
test eax, eax
jne 0x4644c8
lea ecx, [ebp - 0x130]
push ecx
call fcn.00402158
add esp, 4
lea edx, [ebp - 0x130]
push edx
call fcn.0040313e
add esp, 4
call fcn.004013f2
mov dword [ebp - 0x134], eax
lea eax, [ebp - 0x14c]
push eax
call fcn.00402158
add esp, 4
cmp dword [ebp - 0x134], 0x64
jge 0x46450e
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
call fcn.00401014
add esp, 4
xor eax, eax
jmp 0x464fdb
push 0xa
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x134]
push edx
call fcn.00402f68
add esp, 0xc
mov eax, 1
test eax, eax
je 0x46466c
mov byte [ebp - 0x274], 0
xor ecx, ecx
mov dword [ebp - 0x273], ecx
mov dword [ebp - 0x26f], ecx
mov word [ebp - 0x26b], cx
mov byte [ebp - 0x269], cl
mov byte [ebp - 0x268], 0
xor edx, edx
mov dword [ebp - 0x267], edx
mov dword [ebp - 0x263], edx
mov word [ebp - 0x25f], dx
mov byte [ebp - 0x25d], dl
mov dword [ebp - 0x25c], 0
push 0xc
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x274]
push ecx
call fcn.00402725
add esp, 0xc
push 0xc
lea edx, [ebp - 0x271]
push edx
lea eax, [ebp - 0x268]
push eax
call fcn.00402725
add esp, 0xc
mov byte [ebp - 0x271], 0
mov byte [ebp - 0x265], 0
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00402158
add esp, 4
mov edx, dword [ebp + 8]
push edx
call fcn.0040184d
add esp, 4
mov dword [ebp - 0x25c], eax
lea eax, [ebp - 0x268]
push eax
lea ecx, [ebp - 0x274]
push ecx
push str.SELECT_ALPHA_DC_CODE_FROM_DISTRIBUTION_CENTER_WHERE_DIVISION_CODE_s_AND_DC_CODE_s
mov edx, dword [ebp - 0x25c]
push edx
call fcn.00401703
add esp, 0x10
test eax, eax
je 0x46462f
push 1
push 0
push 0x15
lea eax, [ebp - 0x14c]
push eax
mov ecx, dword [ebp - 0x25c]
push ecx
call fcn.00402e6e
add esp, 0x14
test eax, eax
jne 0x46462f
lea edx, [ebp - 0x14c]
push edx
call fcn.00402158
add esp, 4
mov eax, dword [ebp - 0x25c]
push eax
call fcn.00401a28
add esp, 4
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00401389
add esp, 4
test eax, eax
je 0x46466c
lea edx, [ebp - 0x268]
push edx
lea eax, [ebp - 0x274]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.00401014
add esp, 0xc
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0040313e
add esp, 4
lea edx, [ebp - 0x14c]
push edx
call fcn.00401389
add esp, 4
test eax, eax
je 0x464d16
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x27c], 0
mov eax, dword [ebp - 0x134]
mov dword [ebp - 0x278], eax
cmp dword [ebp - 0x278], 0xf423f
jle 0x4646d4
mov eax, dword [ebp - 0x278]
cdq
mov ecx, 0xa
idiv ecx
mov dword [ebp - 0x278], eax
jmp 0x4646b2
mov edx, dword [ebp - 0x278]
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 0x30d41
jg 0x464727
cmp dword [ebp - 0x280], 0x30d41
je 0x464c7f
mov eax, dword [ebp - 0x280]
sub eax, 0x186a1
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 8
ja case.default.0x464942
mov ecx, dword [ebp - 0x280]
jmp dword [ecx*4 + 0x464fec]
cmp dword [ebp - 0x280], 0x61a81
jg 0x46476f
cmp dword [ebp - 0x280], 0x61a81
je 0x464c19
mov edx, dword [ebp - 0x280]
sub edx, 0x30d42
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 6
ja case.default.0x464942
mov eax, dword [ebp - 0x280]
jmp dword [eax*4 + 0x465010]
cmp dword [ebp - 0x280], 0x7a121
jg 0x4647b7
cmp dword [ebp - 0x280], 0x7a121
je 0x464ba1
mov ecx, dword [ebp - 0x280]
sub ecx, 0x61a82
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 7
ja case.default.0x464942
mov edx, dword [ebp - 0x280]
jmp dword [edx*4 + 0x46502c]
cmp dword [ebp - 0x280], 0x927c1
jg 0x4647fe
cmp dword [ebp - 0x280], 0x927c1
je 0x464b38
mov eax, dword [ebp - 0x280]
sub eax, 0x7a122
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 6
ja case.default.0x464942
mov ecx, dword [ebp - 0x280]
jmp dword [ecx*4 + 0x46504c]
cmp dword [ebp - 0x280], 0xaae61
jg 0x464846
cmp dword [ebp - 0x280], 0xaae61
je 0x464acf
mov edx, dword [ebp - 0x280]
sub edx, 0x927c3
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 5
ja case.default.0x464942
mov eax, dword [ebp - 0x280]
jmp dword [eax*4 + 0x465068]
cmp dword [ebp - 0x280], 0xc3501
jg 0x46488e
cmp dword [ebp - 0x280], 0xc3501
je 0x464a57
mov ecx, dword [ebp - 0x280]
sub ecx, 0xaae62
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 6
ja case.default.0x464942
mov edx, dword [ebp - 0x280]
jmp dword [edx*4 + 0x465080]
cmp dword [ebp - 0x280], 0xdbba1
jg 0x4648d5
cmp dword [ebp - 0x280], 0xdbba1
je 0x4649fd
mov eax, dword [ebp - 0x280]
sub eax, 0xc3502
mov dword [ebp - 0x280], eax
cmp dword [ebp - 0x280], 4
ja case.default.0x464942
mov ecx, dword [ebp - 0x280]
jmp dword [ecx*4 + 0x46509c]
cmp dword [ebp - 0x280], 0xf1b31
jg 0x46491d
cmp dword [ebp - 0x280], 0xf1b31
je 0x464994
mov edx, dword [ebp - 0x280]
sub edx, 0xdbba2
mov dword [ebp - 0x280], edx
cmp dword [ebp - 0x280], 6
ja case.default.0x464942
mov eax, dword [ebp - 0x280]
jmp dword [eax*4 + 0x4650b0]
mov ecx, dword [ebp - 0x280]
sub ecx, 0xf1b32
mov dword [ebp - 0x280], ecx
cmp dword [ebp - 0x280], 4
ja case.default.0x464942
mov edx, dword [ebp - 0x280]
jmp dword [edx*4 + 0x4650cc]
mov dword [ebp - 0x27c], 0x6710a0
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710a4
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710a8
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710ac
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710b0
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710b4
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710b8
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710bc
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710c0
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710c4
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710c8
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710cc
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710d0
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710d4
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710d8
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710dc
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710e0
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710e4
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710e8
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710ec
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710f0
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710f4
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710f8
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x6710fc
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671100
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671104
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671108
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67110c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671110
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671114
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671118
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67111c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671120
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671124
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671128
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67112c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671130
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671134
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671138
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67113c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671140
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671144
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671148
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67114c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671150
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671154
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671158
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67115c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671160
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671164
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671168
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67116c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671170
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671174
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671178
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67117c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671180
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671184
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671188
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67118c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671190
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671194
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x671198
jmp 0x464cf5
mov dword [ebp - 0x27c], 0x67119c
jmp 0x464cf5
mov dword [ebp - 0x27c], 0
cmp dword [ebp - 0x27c], 0
je 0x464d16
push 0x16
mov eax, dword [ebp - 0x27c]
push eax
lea ecx, [ebp - 0x14c]
push ecx
call fcn.00402725
add esp, 0xc
lea edx, [ebp - 0x14c]
push edx
call fcn.00401389
add esp, 4
test eax, eax
je 0x464db3
lea eax, [ebp - 0x130]
push eax
call fcn.00401389
add esp, 4
test eax, eax
je 0x464d54
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
call fcn.00401014
add esp, 4
xor eax, eax
jmp 0x464fdb
mov dword [ebp - 0x24], 0
jmp 0x464d66
mov ecx, dword [ebp - 0x24]
add ecx, 1
mov dword [ebp - 0x24], ecx
mov edx, dword [ebp - 0x24]
mov al, byte [ebp + edx - 0x130]
push eax
call fcn.00401479
add esp, 4
test eax, eax
jne 0x464da8
cmp dword [ebp - 0x24], 0x15
jae 0x464da8
mov ecx, dword [ebp - 0x24]
movsx edx, byte [ebp + ecx - 0x130]
test edx, edx
je 0x464da8
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x24]
mov dl, byte [ebp + ecx - 0x130]
mov byte [ebp + eax - 0x14c], dl
jmp 0x464d5d
mov eax, dword [ebp - 0x24]
mov byte [ebp + eax - 0x14c], 0
lea ecx, [ebp - 0x14c]
push ecx
call fcn.0040313e
add esp, 4
lea edx, [ebp - 0x14c]
push edx
call fcn.00401389
add esp, 4
test eax, eax
je 0x464de9
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
call fcn.00401014
add esp, 4
xor eax, eax
jmp 0x464fdb
lea eax, [ebp - 0x130]
push eax
call fcn.00401389
add esp, 4
test eax, eax
je 0x464e1c
lea ecx, [ebp - 0x14c]
push ecx
push str._s000
push 0x104
lea edx, [ebp - 0x130]
push edx
call fcn.00402dc9
add esp, 0x10
lea eax, [ebp - 0x258]
push eax
call fcn.00402158
add esp, 4
lea ecx, [ebp - 0x130]
push ecx
call fcn.005b4690
add esp, 4
sub eax, 1
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
jmp 0x464e52
mov edx, dword [ebp - 0x24]
sub edx, 1
mov dword [ebp - 0x24], edx
cmp dword [ebp - 0x24], 0
jl 0x464e7c
mov eax, dword [ebp - 0x24]
mov cl, byte [ebp + eax - 0x130]
push ecx
call fcn.00401479
add esp, 4
test eax, eax
jne 0x464e71
jmp 0x464e7c
mov edx, dword [ebp - 4]
add edx, 1
mov dword [ebp - 4], edx
jmp 0x464e49
cmp dword [ebp - 4], 0
jg 0x464ea3
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x130]
push ecx
call fcn.005b0660
add esp, 8
test eax, eax
je 0x464ea3
mov dword [ebp - 4], 3
lea edx, [ebp - 0x20]
push edx
call fcn.005b4690
add esp, 4
cmp dword [ebp - 4], eax
jle 0x464ed8
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.00401014
add esp, 0xc
lea edx, [ebp - 0x20]
push edx
call fcn.005b4690
add esp, 4
mov dword [ebp - 4], eax
push 0x104
lea eax, [ebp - 0x20]
push eax
call fcn.005b4690
add esp, 4
sub eax, dword [ebp - 4]
lea ecx, [ebp + eax - 0x20]
push ecx
lea edx, [ebp - 0x258]
push edx
call fcn.00402725
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x14c]
push eax
lea ecx, [ebp - 0x258]
push ecx
call fcn.00401212
add esp, 0x10
push 0x6711fc
lea edx, [ebp - 0x258]
push edx
call fcn.005b0770
add esp, 8
test eax, eax
je 0x464f49
lea eax, [ebp - 0x258]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.00401014
add esp, 8
lea ecx, [ebp - 0x258]
push ecx
call fcn.0040313e
add esp, 4
lea edx, [ebp - 0x258]
push edx
lea eax, [ebp - 0x130]
push eax
call fcn.005b0660
add esp, 8
test eax, eax
jne 0x464fa4
cmp dword [ebp - 4], 0
jg 0x464f95
mov ecx, 1
test ecx, ecx
je 0x464f95
lea edx, [ebp - 0x130]
push edx
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.00401014
add esp, 8
lea eax, [ebp - 0x258]
push eax
call fcn.00402158
add esp, 4
cmp dword [ebp + 0xc], 0
je 0x464fbd
lea ecx, [ebp - 0x130]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.005b4720
add esp, 8
cmp dword [ebp + 0x10], 0
je 0x464fd6
lea eax, [ebp - 0x258]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.005b4720
add esp, 8
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.005b0290
mov esp, ebp
pop ebp
ret