Function at 0x44793e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5f2e68]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x264], 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]
mov ebx, ecx
push 0
push eax
mov dword [ebp - 0x268], ebx
mov byte [ebp - 0x158], 0
call fcn.005306b0
add esp, 0xc
push esi
lea eax, [ebp - 0x25f]
push 0
push eax
mov byte [ebp - 0x260], 0
call fcn.005306b0
mov byte [ebp - 0x1c], 0
xor eax, eax
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
stosb byte es:[edi], al
call fcn.00493572
test eax, eax
je 0x4479fa
lea eax, [ebp - 0x260]
call fcn.004ccb8b
mov ecx, dword [ebp - 0x264]
push 0x104
lea edx, [ebp - 0x158]
call fcn.00470bbe
test ebx, ebx
pop ecx
je 0x44812c
lea eax, [ebp - 0x158]
push eax
push ebx
jmp 0x448125
mov edx, dword [ebp - 0x264]
call fcn.004ccc0d
test eax, eax
je 0x447a30
call fcn.0046b2ee
mov edx, eax
mov dword [ebp - 0x264], edx
call fcn.004ccc0d
test eax, eax
je 0x447a30
push str.:4:AutoDetectRealStoreID___FAILED:_GetTAMSIP___has_not_been_initialized.
call fcn.0042b70b
xor eax, eax
jmp 0x448141
mov ecx, dword [ebp - 0x264]
push 0x104
lea edx, [ebp - 0x158]
call fcn.00470bbe
test eax, eax
pop ecx
jne 0x447a56
lea eax, [ebp - 0x158]
call fcn.004ccb8b
lea esi, [ebp - 0x158]
call fcn.004cd772
call fcn.0046b1b4
mov ebx, eax
lea eax, [ebp - 0x1c]
call fcn.004ccb8b
cmp ebx, 0x64
jge 0x447a7c
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x447a24
push 0xa
push ebx
lea eax, [ebp - 0x4c]
call fcn.004688bd
pop ecx
pop ecx
call fcn.00418518
test eax, eax
je 0x447b5b
call fcn.004935a3
test eax, eax
jne 0x447b5b
mov byte [ebp - 0x28], al
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.004ccc3f
pop ecx
lea eax, [ebp - 0x25]
push eax
push 0xc
pop ecx
lea eax, [ebp - 0x34]
call fcn.004ccc3f
pop ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x31], 0
call fcn.004ccb8b
push dword [ebp - 0x264]
call fcn.00481c76
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.00480b29
add esp, 0x10
test eax, eax
je 0x447b33
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00480c24
add esp, 0x14
test eax, eax
jne 0x447b33
lea eax, [ebp - 0x1c]
call fcn.004ccb8b
push esi
call fcn.0048073c
pop ecx
lea edx, [ebp - 0x1c]
call fcn.004ccc0d
test eax, eax
je 0x447b5b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.0042b70b
add esp, 0xc
lea esi, [ebp - 0x1c]
call fcn.004cd772
mov edx, esi
call fcn.004ccc0d
test eax, eax
je case.0x447bc6.100002
mov ecx, 0xf423f
cmp ebx, ecx
mov eax, ebx
jle 0x447b87
push 0xa
cdq
pop esi
idiv esi
cmp eax, ecx
jg 0x447b7d
mov ecx, 0x927c4
cmp eax, ecx
jg 0x447d89
je 0x447d7f
mov ecx, 0x61a82
cmp eax, ecx
jg 0x447c99
je 0x447c8f
mov ecx, 0x30d41
cmp eax, ecx
jg 0x447c27
je 0x447c1d
add eax, 0xfffe795f
cmp eax, 8
ja case.0x447bc6.100002
jmp dword [eax*4 + 0x448152]
mov eax, 0x5736c8
jmp 0x447f3a
mov eax, 0x5736cc
jmp 0x447f3a
mov eax, 0x5736d0
jmp 0x447f3a
mov eax, 0x5736d4
jmp 0x447f3a
mov eax, 0x5736d8
jmp 0x447f3a
mov eax, 0x5736dc
jmp 0x447f3a
mov eax, 0x5736e0
jmp 0x447f3a
mov eax, 0x5736e4
jmp 0x447f3a
mov eax, 0x5736c4
jmp 0x447f3a
sub eax, 0x30d42
je 0x447c85
dec eax
je 0x447c7b
dec eax
je 0x447c71
dec eax
je 0x447c67
dec eax
dec eax
je 0x447c5d
dec eax
je 0x447c53
sub eax, 0x30d39
jne case.0x447bc6.100002
mov eax, 0x5736a8
jmp 0x447f3a
mov eax, 0x5736ac
jmp 0x447f3a
mov eax, 0x5736b0
jmp 0x447f3a
mov eax, 0x5736b4
jmp 0x447f3a
mov eax, 0x5736b8
jmp 0x447f3a
mov eax, 0x5736bc
jmp 0x447f3a
mov eax, 0x5736c0
jmp 0x447f3a
mov eax, 0x5736a4
jmp 0x447f3a
mov ecx, 0x7a122
cmp eax, ecx
jg 0x447d16
je 0x447d0c
sub eax, 0x61a83
je 0x447d02
dec eax
dec eax
je 0x447cf8
dec eax
je 0x447cee
dec eax
je 0x447ce4
dec eax
je 0x447cda
dec eax
je 0x447cd0
sub eax, 0x18698
jne case.0x447bc6.100002
mov eax, 0x573688
jmp 0x447f3a
mov eax, 0x57368c
jmp 0x447f3a
mov eax, 0x573690
jmp 0x447f3a
mov eax, 0x573694
jmp 0x447f3a
mov eax, 0x573698
jmp 0x447f3a
mov eax, 0x57369c
jmp 0x447f3a
mov eax, 0x5736a0
jmp 0x447f3a
mov eax, 0x573684
jmp 0x447f3a
sub eax, 0x7a123
je 0x447d75
dec eax
je 0x447d6b
dec eax
je 0x447d61
dec eax
dec eax
je 0x447d57
dec eax
je 0x447d4d
sub eax, 0x18699
je 0x447d43
dec eax
dec eax
jne case.0x447bc6.100002
mov eax, 0x57366c
jmp 0x447f3a
mov eax, 0x573670
jmp 0x447f3a
mov eax, 0x573674
jmp 0x447f3a
mov eax, 0x573678
jmp 0x447f3a
mov eax, 0x563850
jmp 0x447f3a
mov eax, 0x57367c
jmp 0x447f3a
mov eax, 0x573680
jmp 0x447f3a
mov eax, 0x573668
jmp 0x447f3a
mov ecx, 0xc3504
cmp eax, ecx
jg 0x447e89
je 0x447e7f
mov ecx, 0xaae64
cmp eax, ecx
jg 0x447e18
je 0x447e0e
sub eax, 0x927c5
je 0x447e04
dec eax
je 0x447dfa
dec eax
je 0x447df0
dec eax
je 0x447de6
sub eax, 0x18699
je 0x447ddc
dec eax
je 0x447dd2
dec eax
jne case.0x447bc6.100002
mov eax, 0x57364c
jmp 0x447f3a
mov eax, 0x573650
jmp 0x447f3a
mov eax, 0x573654
jmp 0x447f3a
mov eax, 0x573658
jmp 0x447f3a
mov eax, 0x57365c
jmp 0x447f3a
mov eax, 0x573660
jmp 0x447f3a
mov eax, 0x573664
jmp 0x447f3a
mov eax, 0x573648
jmp 0x447f3a
sub eax, 0xaae65
je 0x447e75
dec eax
je 0x447e6b
dec eax
je 0x447e61
dec eax
je 0x447e57
sub eax, 0x18699
je 0x447e4d
dec eax
je 0x447e43
dec eax
jne case.0x447bc6.100002
mov eax, 0x57362c
jmp 0x447f3a
mov eax, 0x573630
jmp 0x447f3a
mov eax, 0x573634
jmp 0x447f3a
mov eax, 0x573638
jmp 0x447f3a
mov eax, 0x57363c
jmp 0x447f3a
mov eax, 0x573640
jmp 0x447f3a
mov eax, 0x573644
jmp 0x447f3a
mov eax, 0x573628
jmp 0x447f3a
mov ecx, 0xdbba7
cmp eax, ecx
jg 0x447eee
je 0x447ee7
sub eax, 0xc3505
je 0x447ee0
dec eax
je 0x447ed9
sub eax, 0x1869b
je 0x447ed2
dec eax
je 0x447ecb
dec eax
je 0x447ec4
dec eax
dec eax
je 0x447ebd
dec eax
jne case.0x447bc6.100002
mov eax, 0x57360c
jmp 0x447f3a
mov eax, 0x573610
jmp 0x447f3a
mov eax, 0x573614
jmp 0x447f3a
mov eax, 0x573618
jmp 0x447f3a
mov eax, 0x57361c
jmp 0x447f3a
mov eax, 0x573620
jmp 0x447f3a
mov eax, 0x573624
jmp 0x447f3a
mov eax, 0x573608
jmp 0x447f3a
sub eax, 0xdbba8
je 0x447f35
sub eax, 0x15f89
je 0x447f2e
dec eax
je 0x447f27
dec eax
je 0x447f20
dec eax
je 0x447f19
dec eax
je 0x447f12
dec eax
jne case.0x447bc6.100002
mov eax, 0x5735f0
jmp 0x447f3a
mov eax, 0x5735f4
jmp 0x447f3a
mov eax, 0x558cdc
jmp 0x447f3a
mov eax, 0x5735f8
jmp 0x447f3a
mov eax, 0x5735fc
jmp 0x447f3a
mov eax, 0x573600
jmp 0x447f3a
mov eax, 0x573604
push eax
push 0x16
pop ecx
lea eax, [ebp - 0x1c]
call fcn.004ccc3f
pop ecx
lea edx, [ebp - 0x1c]
call fcn.004ccc0d
test eax, eax
je 0x447fa0
lea edx, [ebp - 0x158]
call fcn.004ccc0d
test eax, eax
je 0x447f6c
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x447a24
mov al, byte [ebp - 0x158]
xor edx, edx
jmp 0x447f92
cmp edx, 0x15
jae 0x447f9b
mov al, byte [ebp + edx - 0x158]
test al, al
je 0x447f9b
mov byte [ebp + edx - 0x1c], al
mov al, byte [ebp + edx - 0x157]
inc edx
call fcn.004cddce
test eax, eax
je 0x447f76
mov byte [ebp + edx - 0x1c], 0
lea esi, [ebp - 0x1c]
call fcn.004cd772
mov edx, esi
call fcn.004ccc0d
test eax, eax
je 0x447fbd
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x447a24
lea edx, [ebp - 0x158]
call fcn.004ccc0d
test eax, eax
je 0x447fe9
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x158]
push 0x104
push eax
call fcn.004ce4e5
add esp, 0x10
lea eax, [ebp - 0x260]
call fcn.004ccb8b
lea eax, [ebp - 0x158]
push eax
call fcn.00530f70
pop ecx
mov edx, eax
dec edx
push 0
pop edi
js 0x448021
mov al, byte [ebp + edx - 0x158]
call fcn.004cddce
test eax, eax
je 0x44801d
inc edi
dec edx
jns 0x448009
test edi, edi
jg 0x44803a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
je 0x44803a
push 3
pop edi
lea eax, [ebp - 0x4c]
push eax
call fcn.00530f70
cmp edi, eax
pop ecx
jle 0x448066
lea eax, [ebp - 0x4c]
push eax
push edi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.0042b70b
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.00530f70
pop ecx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.00530f70
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, edi
add eax, ecx
push eax
mov esi, 0x104
mov ecx, esi
lea eax, [ebp - 0x260]
call fcn.004ccc3f
pop ecx
push esi
push 0
push eax
lea ebx, [ebp - 0x1c]
call fcn.004cdb22
add esp, 0xc
lea eax, [ebp - 0x260]
push 0x54f278
push eax
call fcn.00531210
test eax, eax
pop ecx
pop ecx
je 0x4480c4
lea eax, [ebp - 0x260]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.0042b70b
pop ecx
pop ecx
lea esi, [ebp - 0x260]
call fcn.004cd772
mov eax, esi
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.005318fe
test eax, eax
pop ecx
pop ecx
jne 0x44810f
test edi, edi
jg 0x448104
call fcn.004935a3
test eax, eax
jne 0x448104
lea eax, [ebp - 0x158]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.0042b70b
pop ecx
pop ecx
lea eax, [ebp - 0x260]
call fcn.004ccb8b
cmp dword [ebp - 0x268], 0
je 0x44812c
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x268]
call fcn.005312a0
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push 0x6edaf8
call fcn.005312a0
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.005317e7
leave
ret