Function at 0x423dca
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5345d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x268], eax
push esi
push edi
xor eax, eax
mov byte [ebp - 0x4c], 0
lea edi, [ebp - 0x4b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x103
push esi
stosb byte es:[edi], al
lea eax, [ebp - 0x157]
push 0
push eax
mov ebx, ecx
mov byte [ebp - 0x158], 0
call fcn.004b53e0
add esp, 0xc
push esi
lea eax, [ebp - 0x25f]
push 0
push eax
mov byte [ebp - 0x260], 0
call fcn.004b53e0
xor eax, eax
mov byte [ebp - 0x1c], 0
lea edi, [ebp - 0x1b]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
add esp, 0xc
mov edx, ebx
stosb byte es:[edi], al
call fcn.0047c3ca
test eax, eax
je 0x423e6e
call fcn.004407ae
mov ebx, eax
mov edx, ebx
call fcn.0047c3ca
test eax, eax
je 0x423e6e
push str.:4:AutoDetectRealStoreID___FAILED:_GetTAMSIP___has_not_been_initialized.
call fcn.004178df
xor eax, eax
jmp 0x424561
push 0x104
lea edx, [ebp - 0x158]
mov ecx, ebx
call fcn.00442659
test eax, eax
pop ecx
jne 0x423e90
lea eax, [ebp - 0x158]
call fcn.0047c34d
lea esi, [ebp - 0x158]
call fcn.0047ce63
call fcn.00440674
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x1c]
call fcn.0047c34d
cmp dword [ebp - 0x264], 0x64
jge 0x423ebe
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x423e62
push 0xa
push dword [ebp - 0x264]
lea eax, [ebp - 0x4c]
call fcn.0043e901
xor eax, eax
mov byte [ebp - 0x28], 0
lea edi, [ebp - 0x27]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
xor eax, eax
mov byte [ebp - 0x34], 0
lea edi, [ebp - 0x33]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x4c]
push eax
push 0xc
pop ecx
lea eax, [ebp - 0x28]
call fcn.0047c3fc
add esp, 0xc
lea eax, [ebp - 0x25]
push eax
push 0xc
pop ecx
lea eax, [ebp - 0x34]
call fcn.0047c3fc
pop ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x31], 0
call fcn.0047c34d
push ebx
call fcn.004521ee
pop ecx
mov esi, eax
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.SELECT_ALPHA_DC_CODE_FROM_DISTRIBUTION_CENTER_WHERE_DIVISION_CODE_s_AND_DC_CODE_s
push esi
call fcn.0045145b
add esp, 0x10
test eax, eax
je 0x423f5e
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.0045155b
add esp, 0x14
test eax, eax
jne 0x423f5e
lea eax, [ebp - 0x1c]
call fcn.0047c34d
push esi
call fcn.00451078
pop ecx
lea edx, [ebp - 0x1c]
call fcn.0047c3ca
test eax, eax
je 0x423f86
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.004178df
add esp, 0xc
lea esi, [ebp - 0x1c]
call fcn.0047ce63
mov edx, esi
call fcn.0047c3ca
test eax, eax
je case.0x423ff3.100002
mov eax, dword [ebp - 0x264]
mov ecx, 0xf423f
jmp 0x423fb0
push 0xa
cdq
pop esi
idiv esi
cmp eax, ecx
jg 0x423faa
mov ecx, 0x927c4
cmp eax, ecx
jg 0x4241b6
je 0x4241ac
mov ecx, 0x61a82
cmp eax, ecx
jg 0x4240c6
je 0x4240bc
mov ecx, 0x30d41
cmp eax, ecx
jg 0x424054
je 0x42404a
add eax, 0xfffe795f
cmp eax, 8
ja case.0x423ff3.100002
jmp dword [eax*4 + 0x424572]
mov eax, 0x4e25e8
jmp 0x424367
mov eax, 0x4e25ec
jmp 0x424367
mov eax, 0x4e25f0
jmp 0x424367
mov eax, 0x4e25f4
jmp 0x424367
mov eax, 0x4e25f8
jmp 0x424367
mov eax, 0x4e25fc
jmp 0x424367
mov eax, 0x4e2600
jmp 0x424367
mov eax, 0x4e2604
jmp 0x424367
mov eax, 0x4e25e4
jmp 0x424367
sub eax, 0x30d42
je 0x4240b2
dec eax
je 0x4240a8
dec eax
je 0x42409e
dec eax
je 0x424094
dec eax
dec eax
je 0x42408a
dec eax
je 0x424080
sub eax, 0x30d39
jne case.0x423ff3.100002
mov eax, 0x4e25c8
jmp 0x424367
mov eax, 0x4e25cc
jmp 0x424367
mov eax, 0x4e25d0
jmp 0x424367
mov eax, 0x4e25d4
jmp 0x424367
mov eax, 0x4e25d8
jmp 0x424367
mov eax, 0x4e25dc
jmp 0x424367
mov eax, 0x4e25e0
jmp 0x424367
mov eax, 0x4e25c4
jmp 0x424367
mov ecx, 0x7a122
cmp eax, ecx
jg 0x424143
je 0x424139
sub eax, 0x61a83
je 0x42412f
dec eax
dec eax
je 0x424125
dec eax
je 0x42411b
dec eax
je 0x424111
dec eax
je 0x424107
dec eax
je 0x4240fd
sub eax, 0x18698
jne case.0x423ff3.100002
mov eax, 0x4e25a8
jmp 0x424367
mov eax, 0x4e25ac
jmp 0x424367
mov eax, 0x4e25b0
jmp 0x424367
mov eax, 0x4e25b4
jmp 0x424367
mov eax, 0x4e25b8
jmp 0x424367
mov eax, 0x4e25bc
jmp 0x424367
mov eax, 0x4e25c0
jmp 0x424367
mov eax, 0x4e25a4
jmp 0x424367
sub eax, 0x7a123
je 0x4241a2
dec eax
je 0x424198
dec eax
je 0x42418e
dec eax
dec eax
je 0x424184
dec eax
je 0x42417a
sub eax, 0x18699
je 0x424170
dec eax
dec eax
jne case.0x423ff3.100002
mov eax, 0x4e258c
jmp 0x424367
mov eax, 0x4e2590
jmp 0x424367
mov eax, 0x4e2594
jmp 0x424367
mov eax, 0x4e2598
jmp 0x424367
mov eax, 0x4deadc
jmp 0x424367
mov eax, 0x4e259c
jmp 0x424367
mov eax, 0x4e25a0
jmp 0x424367
mov eax, 0x4e2588
jmp 0x424367
mov ecx, 0xc3504
cmp eax, ecx
jg 0x4242b6
je 0x4242ac
mov ecx, 0xaae64
cmp eax, ecx
jg 0x424245
je 0x42423b
sub eax, 0x927c5
je 0x424231
dec eax
je 0x424227
dec eax
je 0x42421d
dec eax
je 0x424213
sub eax, 0x18699
je 0x424209
dec eax
je 0x4241ff
dec eax
jne case.0x423ff3.100002
mov eax, 0x4e256c
jmp 0x424367
mov eax, 0x4e2570
jmp 0x424367
mov eax, 0x4e2574
jmp 0x424367
mov eax, 0x4e2578
jmp 0x424367
mov eax, 0x4e257c
jmp 0x424367
mov eax, 0x4e2580
jmp 0x424367
mov eax, 0x4e2584
jmp 0x424367
mov eax, 0x4e2568
jmp 0x424367
sub eax, 0xaae65
je 0x4242a2
dec eax
je 0x424298
dec eax
je 0x42428e
dec eax
je 0x424284
sub eax, 0x18699
je 0x42427a
dec eax
je 0x424270
dec eax
jne case.0x423ff3.100002
mov eax, 0x4e254c
jmp 0x424367
mov eax, 0x4e2550
jmp 0x424367
mov eax, 0x4e2554
jmp 0x424367
mov eax, 0x4e2558
jmp 0x424367
mov eax, 0x4e255c
jmp 0x424367
mov eax, 0x4e2560
jmp 0x424367
mov eax, 0x4e2564
jmp 0x424367
mov eax, 0x4e2548
jmp 0x424367
mov ecx, 0xdbba7
cmp eax, ecx
jg 0x42431b
je 0x424314
sub eax, 0xc3505
je 0x42430d
dec eax
je 0x424306
sub eax, 0x1869b
je 0x4242ff
dec eax
je 0x4242f8
dec eax
je 0x4242f1
dec eax
dec eax
je 0x4242ea
dec eax
jne case.0x423ff3.100002
mov eax, 0x4e252c
jmp 0x424367
mov eax, 0x4e2530
jmp 0x424367
mov eax, 0x4e2534
jmp 0x424367
mov eax, 0x4e2538
jmp 0x424367
mov eax, 0x4e253c
jmp 0x424367
mov eax, 0x4e2540
jmp 0x424367
mov eax, 0x4e2544
jmp 0x424367
mov eax, 0x4e2528
jmp 0x424367
sub eax, 0xdbba8
je 0x424362
sub eax, 0x15f89
je 0x42435b
dec eax
je 0x424354
dec eax
je 0x42434d
dec eax
je 0x424346
dec eax
je 0x42433f
dec eax
jne case.0x423ff3.100002
mov eax, 0x4e2510
jmp 0x424367
mov eax, 0x4e2514
jmp 0x424367
mov eax, 0x4d87cc
jmp 0x424367
mov eax, 0x4e2518
jmp 0x424367
mov eax, 0x4e251c
jmp 0x424367
mov eax, 0x4e2520
jmp 0x424367
mov eax, 0x4e2524
push eax
push 0x16
pop ecx
lea eax, [ebp - 0x1c]
call fcn.0047c3fc
pop ecx
lea edx, [ebp - 0x1c]
call fcn.0047c3ca
test eax, eax
je 0x4243cd
lea edx, [ebp - 0x158]
call fcn.0047c3ca
test eax, eax
je 0x424399
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x423e62
mov al, byte [ebp - 0x158]
xor edx, edx
jmp 0x4243bf
cmp edx, 0x15
jae 0x4243c8
mov al, byte [ebp + edx - 0x158]
test al, al
je 0x4243c8
mov byte [ebp + edx - 0x1c], al
mov al, byte [ebp + edx - 0x157]
inc edx
call fcn.0047d434
test eax, eax
je 0x4243a3
mov byte [ebp + edx - 0x1c], 0
lea esi, [ebp - 0x1c]
call fcn.0047ce63
mov edx, esi
call fcn.0047c3ca
test eax, eax
je 0x4243ea
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x423e62
lea edx, [ebp - 0x158]
call fcn.0047c3ca
test eax, eax
mov esi, 0x104
je 0x424417
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.0047da40
add esp, 0x10
lea eax, [ebp - 0x260]
call fcn.0047c34d
lea eax, [ebp - 0x158]
push eax
call fcn.004b4450
pop ecx
mov edx, eax
dec edx
push 0
pop edi
js 0x42444f
mov al, byte [ebp + edx - 0x158]
call fcn.0047d434
test eax, eax
je 0x42444b
inc edi
dec edx
jns 0x424437
test edi, edi
jg 0x424468
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004b519f
test eax, eax
pop ecx
pop ecx
je 0x424468
push 3
pop edi
lea eax, [ebp - 0x4c]
push eax
call fcn.004b4450
cmp edi, eax
pop ecx
jle 0x424494
lea eax, [ebp - 0x4c]
push eax
push edi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.004178df
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.004b4450
pop ecx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004b4450
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, edi
add eax, ecx
push eax
mov ecx, esi
lea eax, [ebp - 0x260]
call fcn.0047c3fc
pop ecx
push esi
push 0
push eax
lea ebx, [ebp - 0x1c]
call fcn.0047d18b
add esp, 0xc
lea eax, [ebp - 0x260]
push 0x4d75bc
push eax
call fcn.004b46f0
test eax, eax
pop ecx
pop ecx
je 0x4244ed
lea eax, [ebp - 0x260]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.004178df
pop ecx
pop ecx
lea esi, [ebp - 0x260]
call fcn.0047ce63
mov eax, esi
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004b519f
test eax, eax
pop ecx
pop ecx
jne 0x42452f
test edi, edi
jg 0x424524
lea eax, [ebp - 0x158]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.004178df
pop ecx
pop ecx
lea eax, [ebp - 0x260]
call fcn.0047c34d
cmp dword [ebp - 0x268], 0
je 0x42454c
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x268]
call fcn.004b4780
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push 0x62bff8
call fcn.004b4780
xor eax, eax
pop ecx
inc eax
pop ecx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004b4c95
leave
ret