Function at 0x425399
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5385d0]
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.004b7880
add esp, 0xc
push esi
lea eax, [ebp - 0x25f]
push 0
push eax
mov byte [ebp - 0x260], 0
call fcn.004b7880
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.0047ebaf
test eax, eax
je 0x42543d
call fcn.004426d3
mov ebx, eax
mov edx, ebx
call fcn.0047ebaf
test eax, eax
je 0x42543d
push str.:4:AutoDetectRealStoreID___FAILED:_GetTAMSIP___has_not_been_initialized.
call fcn.00418e96
xor eax, eax
jmp 0x425b30
push 0x104
lea edx, [ebp - 0x158]
mov ecx, ebx
call fcn.0044457e
test eax, eax
pop ecx
jne 0x42545f
lea eax, [ebp - 0x158]
call fcn.0047eb32
lea esi, [ebp - 0x158]
call fcn.0047f648
call fcn.0044258c
mov dword [ebp - 0x264], eax
lea eax, [ebp - 0x1c]
call fcn.0047eb32
cmp dword [ebp - 0x264], 0x64
jge 0x42548d
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x425431
push 0xa
push dword [ebp - 0x264]
lea eax, [ebp - 0x4c]
call fcn.004407f7
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.0047ebe1
add esp, 0xc
lea eax, [ebp - 0x25]
push eax
push 0xc
pop ecx
lea eax, [ebp - 0x34]
call fcn.0047ebe1
pop ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x31], 0
call fcn.0047eb32
push ebx
call fcn.0045412c
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.00453375
add esp, 0x10
test eax, eax
je 0x42552d
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00453475
add esp, 0x14
test eax, eax
jne 0x42552d
lea eax, [ebp - 0x1c]
call fcn.0047eb32
push esi
call fcn.00452f92
pop ecx
lea edx, [ebp - 0x1c]
call fcn.0047ebaf
test eax, eax
je 0x425555
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.00418e96
add esp, 0xc
lea esi, [ebp - 0x1c]
call fcn.0047f648
mov edx, esi
call fcn.0047ebaf
test eax, eax
je case.0x4255c2.100002
mov eax, dword [ebp - 0x264]
mov ecx, 0xf423f
jmp 0x42557f
push 0xa
cdq
pop esi
idiv esi
cmp eax, ecx
jg 0x425579
mov ecx, 0x927c4
cmp eax, ecx
jg 0x425785
je 0x42577b
mov ecx, 0x61a82
cmp eax, ecx
jg 0x425695
je 0x42568b
mov ecx, 0x30d41
cmp eax, ecx
jg 0x425623
je 0x425619
add eax, 0xfffe795f
cmp eax, 8
ja case.0x4255c2.100002
jmp dword [eax*4 + 0x425b41]
mov eax, 0x4e51d8
jmp 0x425936
mov eax, 0x4e51dc
jmp 0x425936
mov eax, 0x4e51e0
jmp 0x425936
mov eax, 0x4e51e4
jmp 0x425936
mov eax, 0x4e51e8
jmp 0x425936
mov eax, 0x4e51ec
jmp 0x425936
mov eax, 0x4e51f0
jmp 0x425936
mov eax, 0x4e51f4
jmp 0x425936
mov eax, 0x4e51d4
jmp 0x425936
sub eax, 0x30d42
je 0x425681
dec eax
je 0x425677
dec eax
je 0x42566d
dec eax
je 0x425663
dec eax
dec eax
je 0x425659
dec eax
je 0x42564f
sub eax, 0x30d39
jne case.0x4255c2.100002
mov eax, 0x4e51b8
jmp 0x425936
mov eax, 0x4e51bc
jmp 0x425936
mov eax, 0x4e51c0
jmp 0x425936
mov eax, 0x4e51c4
jmp 0x425936
mov eax, 0x4e51c8
jmp 0x425936
mov eax, 0x4e51cc
jmp 0x425936
mov eax, 0x4e51d0
jmp 0x425936
mov eax, 0x4e51b4
jmp 0x425936
mov ecx, 0x7a122
cmp eax, ecx
jg 0x425712
je 0x425708
sub eax, 0x61a83
je 0x4256fe
dec eax
dec eax
je 0x4256f4
dec eax
je 0x4256ea
dec eax
je 0x4256e0
dec eax
je 0x4256d6
dec eax
je 0x4256cc
sub eax, 0x18698
jne case.0x4255c2.100002
mov eax, 0x4e5198
jmp 0x425936
mov eax, 0x4e519c
jmp 0x425936
mov eax, 0x4e51a0
jmp 0x425936
mov eax, 0x4e51a4
jmp 0x425936
mov eax, 0x4e51a8
jmp 0x425936
mov eax, 0x4e51ac
jmp 0x425936
mov eax, 0x4e51b0
jmp 0x425936
mov eax, 0x4e5194
jmp 0x425936
sub eax, 0x7a123
je 0x425771
dec eax
je 0x425767
dec eax
je 0x42575d
dec eax
dec eax
je 0x425753
dec eax
je 0x425749
sub eax, 0x18699
je 0x42573f
dec eax
dec eax
jne case.0x4255c2.100002
mov eax, 0x4e517c
jmp 0x425936
mov eax, 0x4e5180
jmp 0x425936
mov eax, 0x4e5184
jmp 0x425936
mov eax, 0x4e5188
jmp 0x425936
mov eax, 0x4e16ac
jmp 0x425936
mov eax, 0x4e518c
jmp 0x425936
mov eax, 0x4e5190
jmp 0x425936
mov eax, 0x4e5178
jmp 0x425936
mov ecx, 0xc3504
cmp eax, ecx
jg 0x425885
je 0x42587b
mov ecx, 0xaae64
cmp eax, ecx
jg 0x425814
je 0x42580a
sub eax, 0x927c5
je 0x425800
dec eax
je 0x4257f6
dec eax
je 0x4257ec
dec eax
je 0x4257e2
sub eax, 0x18699
je 0x4257d8
dec eax
je 0x4257ce
dec eax
jne case.0x4255c2.100002
mov eax, 0x4e515c
jmp 0x425936
mov eax, 0x4e5160
jmp 0x425936
mov eax, 0x4e5164
jmp 0x425936
mov eax, 0x4e5168
jmp 0x425936
mov eax, 0x4e516c
jmp 0x425936
mov eax, 0x4e5170
jmp 0x425936
mov eax, 0x4e5174
jmp 0x425936
mov eax, 0x4e5158
jmp 0x425936
sub eax, 0xaae65
je 0x425871
dec eax
je 0x425867
dec eax
je 0x42585d
dec eax
je 0x425853
sub eax, 0x18699
je 0x425849
dec eax
je 0x42583f
dec eax
jne case.0x4255c2.100002
mov eax, 0x4e513c
jmp 0x425936
mov eax, 0x4e5140
jmp 0x425936
mov eax, 0x4e5144
jmp 0x425936
mov eax, 0x4e5148
jmp 0x425936
mov eax, 0x4e514c
jmp 0x425936
mov eax, 0x4e5150
jmp 0x425936
mov eax, 0x4e5154
jmp 0x425936
mov eax, 0x4e5138
jmp 0x425936
mov ecx, 0xdbba7
cmp eax, ecx
jg 0x4258ea
je 0x4258e3
sub eax, 0xc3505
je 0x4258dc
dec eax
je 0x4258d5
sub eax, 0x1869b
je 0x4258ce
dec eax
je 0x4258c7
dec eax
je 0x4258c0
dec eax
dec eax
je 0x4258b9
dec eax
jne case.0x4255c2.100002
mov eax, 0x4e511c
jmp 0x425936
mov eax, 0x4e5120
jmp 0x425936
mov eax, 0x4e5124
jmp 0x425936
mov eax, 0x4e5128
jmp 0x425936
mov eax, 0x4e512c
jmp 0x425936
mov eax, 0x4e5130
jmp 0x425936
mov eax, 0x4e5134
jmp 0x425936
mov eax, 0x4e5118
jmp 0x425936
sub eax, 0xdbba8
je 0x425931
sub eax, 0x15f89
je 0x42592a
dec eax
je 0x425923
dec eax
je 0x42591c
dec eax
je 0x425915
dec eax
je 0x42590e
dec eax
jne case.0x4255c2.100002
mov eax, 0x4e5100
jmp 0x425936
mov eax, 0x4e5104
jmp 0x425936
mov eax, 0x4db39c
jmp 0x425936
mov eax, 0x4e5108
jmp 0x425936
mov eax, 0x4e510c
jmp 0x425936
mov eax, 0x4e5110
jmp 0x425936
mov eax, 0x4e5114
push eax
push 0x16
pop ecx
lea eax, [ebp - 0x1c]
call fcn.0047ebe1
pop ecx
lea edx, [ebp - 0x1c]
call fcn.0047ebaf
test eax, eax
je 0x42599c
lea edx, [ebp - 0x158]
call fcn.0047ebaf
test eax, eax
je 0x425968
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x425431
mov al, byte [ebp - 0x158]
xor edx, edx
jmp 0x42598e
cmp edx, 0x15
jae 0x425997
mov al, byte [ebp + edx - 0x158]
test al, al
je 0x425997
mov byte [ebp + edx - 0x1c], al
mov al, byte [ebp + edx - 0x157]
inc edx
call fcn.0047fc19
test eax, eax
je 0x425972
mov byte [ebp + edx - 0x1c], 0
lea esi, [ebp - 0x1c]
call fcn.0047f648
mov edx, esi
call fcn.0047ebaf
test eax, eax
je 0x4259b9
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x425431
lea edx, [ebp - 0x158]
call fcn.0047ebaf
test eax, eax
mov esi, 0x104
je 0x4259e6
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x158]
push esi
push eax
call fcn.00480225
add esp, 0x10
lea eax, [ebp - 0x260]
call fcn.0047eb32
lea eax, [ebp - 0x158]
push eax
call fcn.004b68f0
pop ecx
mov edx, eax
dec edx
push 0
pop edi
js 0x425a1e
mov al, byte [ebp + edx - 0x158]
call fcn.0047fc19
test eax, eax
je 0x425a1a
inc edi
dec edx
jns 0x425a06
test edi, edi
jg 0x425a37
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
je 0x425a37
push 3
pop edi
lea eax, [ebp - 0x4c]
push eax
call fcn.004b68f0
cmp edi, eax
pop ecx
jle 0x425a63
lea eax, [ebp - 0x4c]
push eax
push edi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.00418e96
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.004b68f0
pop ecx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.004b68f0
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, edi
add eax, ecx
push eax
mov ecx, esi
lea eax, [ebp - 0x260]
call fcn.0047ebe1
pop ecx
push esi
push 0
push eax
lea ebx, [ebp - 0x1c]
call fcn.0047f970
add esp, 0xc
lea eax, [ebp - 0x260]
push 0x4da18c
push eax
call fcn.004b6b90
test eax, eax
pop ecx
pop ecx
je 0x425abc
lea eax, [ebp - 0x260]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.00418e96
pop ecx
pop ecx
lea esi, [ebp - 0x260]
call fcn.0047f648
mov eax, esi
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.004b763f
test eax, eax
pop ecx
pop ecx
jne 0x425afe
test edi, edi
jg 0x425af3
lea eax, [ebp - 0x158]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.00418e96
pop ecx
pop ecx
lea eax, [ebp - 0x260]
call fcn.0047eb32
cmp dword [ebp - 0x268], 0
je 0x425b1b
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x268]
call fcn.004b6c20
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push 0x630000
call fcn.004b6c20
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.004b7140
leave
ret