Function at 0x43fd5e
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x268
mov eax, dword [0x5c4e68]
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.005117f0
add esp, 0xc
push esi
lea eax, [ebp - 0x25f]
push 0
push eax
mov byte [ebp - 0x260], 0
call fcn.005117f0
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.0048a508
test eax, eax
je 0x43fe1a
lea eax, [ebp - 0x260]
call fcn.004c3ab2
mov ecx, dword [ebp - 0x264]
push 0x104
lea edx, [ebp - 0x158]
call fcn.0046805b
test ebx, ebx
pop ecx
je 0x44054c
lea eax, [ebp - 0x158]
push eax
push ebx
jmp 0x440545
mov edx, dword [ebp - 0x264]
call fcn.004c3b34
test eax, eax
je 0x43fe50
call fcn.0046297d
mov edx, eax
mov dword [ebp - 0x264], edx
call fcn.004c3b34
test eax, eax
je 0x43fe50
push str.:4:AutoDetectRealStoreID___FAILED:_GetTAMSIP___has_not_been_initialized.
call fcn.004265da
xor eax, eax
jmp 0x440561
mov ecx, dword [ebp - 0x264]
push 0x104
lea edx, [ebp - 0x158]
call fcn.0046805b
test eax, eax
pop ecx
jne 0x43fe76
lea eax, [ebp - 0x158]
call fcn.004c3ab2
lea esi, [ebp - 0x158]
call fcn.004c4699
call fcn.00462843
mov ebx, eax
lea eax, [ebp - 0x1c]
call fcn.004c3ab2
cmp ebx, 0x64
jge 0x43fe9c
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x43fe44
push 0xa
push ebx
lea eax, [ebp - 0x4c]
call fcn.00460055
pop ecx
pop ecx
call fcn.00415bfa
test eax, eax
je 0x43ff7b
call fcn.0048a53c
test eax, eax
jne 0x43ff7b
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.004c3b66
pop ecx
lea eax, [ebp - 0x25]
push eax
push 0xc
pop ecx
lea eax, [ebp - 0x34]
call fcn.004c3b66
pop ecx
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
mov byte [ebp - 0x31], 0
call fcn.004c3ab2
push dword [ebp - 0x264]
call fcn.00478fbd
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.00477efe
add esp, 0x10
test eax, eax
je 0x43ff53
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push esi
call fcn.00477ff9
add esp, 0x14
test eax, eax
jne 0x43ff53
lea eax, [ebp - 0x1c]
call fcn.004c3ab2
push esi
call fcn.00477b11
pop ecx
lea edx, [ebp - 0x1c]
call fcn.004c3b34
test eax, eax
je 0x43ff7b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.004265da
add esp, 0xc
lea esi, [ebp - 0x1c]
call fcn.004c4699
mov edx, esi
call fcn.004c3b34
test eax, eax
je case.0x43ffe6.100002
mov ecx, 0xf423f
cmp ebx, ecx
mov eax, ebx
jle 0x43ffa7
push 0xa
cdq
pop esi
idiv esi
cmp eax, ecx
jg 0x43ff9d
mov ecx, 0x927c4
cmp eax, ecx
jg 0x4401a9
je 0x44019f
mov ecx, 0x61a82
cmp eax, ecx
jg 0x4400b9
je 0x4400af
mov ecx, 0x30d41
cmp eax, ecx
jg 0x440047
je 0x44003d
add eax, 0xfffe795f
cmp eax, 8
ja case.0x43ffe6.100002
jmp dword [eax*4 + 0x440572]
mov eax, 0x550e10
jmp 0x44035a
mov eax, 0x550e14
jmp 0x44035a
mov eax, 0x550e18
jmp 0x44035a
mov eax, 0x550e1c
jmp 0x44035a
mov eax, 0x550e20
jmp 0x44035a
mov eax, 0x550e24
jmp 0x44035a
mov eax, 0x550e28
jmp 0x44035a
mov eax, 0x550e2c
jmp 0x44035a
mov eax, 0x550e0c
jmp 0x44035a
sub eax, 0x30d42
je 0x4400a5
dec eax
je 0x44009b
dec eax
je 0x440091
dec eax
je 0x440087
dec eax
dec eax
je 0x44007d
dec eax
je 0x440073
sub eax, 0x30d39
jne case.0x43ffe6.100002
mov eax, 0x550df0
jmp 0x44035a
mov eax, 0x550df4
jmp 0x44035a
mov eax, 0x550df8
jmp 0x44035a
mov eax, 0x550dfc
jmp 0x44035a
mov eax, 0x550e00
jmp 0x44035a
mov eax, 0x550e04
jmp 0x44035a
mov eax, 0x550e08
jmp 0x44035a
mov eax, 0x550dec
jmp 0x44035a
mov ecx, 0x7a122
cmp eax, ecx
jg 0x440136
je 0x44012c
sub eax, 0x61a83
je 0x440122
dec eax
dec eax
je 0x440118
dec eax
je 0x44010e
dec eax
je 0x440104
dec eax
je 0x4400fa
dec eax
je 0x4400f0
sub eax, 0x18698
jne case.0x43ffe6.100002
mov eax, 0x550dd0
jmp 0x44035a
mov eax, 0x550dd4
jmp 0x44035a
mov eax, 0x550dd8
jmp 0x44035a
mov eax, 0x550ddc
jmp 0x44035a
mov eax, 0x550de0
jmp 0x44035a
mov eax, 0x550de4
jmp 0x44035a
mov eax, 0x550de8
jmp 0x44035a
mov eax, 0x550dcc
jmp 0x44035a
sub eax, 0x7a123
je 0x440195
dec eax
je 0x44018b
dec eax
je 0x440181
dec eax
dec eax
je 0x440177
dec eax
je 0x44016d
sub eax, 0x18699
je 0x440163
dec eax
dec eax
jne case.0x43ffe6.100002
mov eax, 0x550db4
jmp 0x44035a
mov eax, 0x550db8
jmp 0x44035a
mov eax, 0x550dbc
jmp 0x44035a
mov eax, 0x550dc0
jmp 0x44035a
mov eax, 0x542514
jmp 0x44035a
mov eax, 0x550dc4
jmp 0x44035a
mov eax, 0x550dc8
jmp 0x44035a
mov eax, 0x550db0
jmp 0x44035a
mov ecx, 0xc3504
cmp eax, ecx
jg 0x4402a9
je 0x44029f
mov ecx, 0xaae64
cmp eax, ecx
jg 0x440238
je 0x44022e
sub eax, 0x927c5
je 0x440224
dec eax
je 0x44021a
dec eax
je 0x440210
dec eax
je 0x440206
sub eax, 0x18699
je 0x4401fc
dec eax
je 0x4401f2
dec eax
jne case.0x43ffe6.100002
mov eax, 0x550d94
jmp 0x44035a
mov eax, 0x550d98
jmp 0x44035a
mov eax, 0x550d9c
jmp 0x44035a
mov eax, 0x550da0
jmp 0x44035a
mov eax, 0x550da4
jmp 0x44035a
mov eax, 0x550da8
jmp 0x44035a
mov eax, 0x550dac
jmp 0x44035a
mov eax, 0x550d90
jmp 0x44035a
sub eax, 0xaae65
je 0x440295
dec eax
je 0x44028b
dec eax
je 0x440281
dec eax
je 0x440277
sub eax, 0x18699
je 0x44026d
dec eax
je 0x440263
dec eax
jne case.0x43ffe6.100002
mov eax, 0x550d74
jmp 0x44035a
mov eax, 0x550d78
jmp 0x44035a
mov eax, 0x550d7c
jmp 0x44035a
mov eax, 0x550d80
jmp 0x44035a
mov eax, 0x550d84
jmp 0x44035a
mov eax, 0x550d88
jmp 0x44035a
mov eax, 0x550d8c
jmp 0x44035a
mov eax, 0x550d70
jmp 0x44035a
mov ecx, 0xdbba7
cmp eax, ecx
jg 0x44030e
je 0x440307
sub eax, 0xc3505
je 0x440300
dec eax
je 0x4402f9
sub eax, 0x1869b
je 0x4402f2
dec eax
je 0x4402eb
dec eax
je 0x4402e4
dec eax
dec eax
je 0x4402dd
dec eax
jne case.0x43ffe6.100002
mov eax, 0x550d54
jmp 0x44035a
mov eax, 0x550d58
jmp 0x44035a
mov eax, 0x550d5c
jmp 0x44035a
mov eax, 0x550d60
jmp 0x44035a
mov eax, 0x550d64
jmp 0x44035a
mov eax, 0x550d68
jmp 0x44035a
mov eax, 0x550d6c
jmp 0x44035a
mov eax, 0x550d50
jmp 0x44035a
sub eax, 0xdbba8
je 0x440355
sub eax, 0x15f89
je 0x44034e
dec eax
je 0x440347
dec eax
je 0x440340
dec eax
je 0x440339
dec eax
je 0x440332
dec eax
jne case.0x43ffe6.100002
mov eax, 0x550d38
jmp 0x44035a
mov eax, 0x550d3c
jmp 0x44035a
mov eax, 0x538d8c
jmp 0x44035a
mov eax, 0x550d40
jmp 0x44035a
mov eax, 0x550d44
jmp 0x44035a
mov eax, 0x550d48
jmp 0x44035a
mov eax, 0x550d4c
push eax
push 0x16
pop ecx
lea eax, [ebp - 0x1c]
call fcn.004c3b66
pop ecx
lea edx, [ebp - 0x1c]
call fcn.004c3b34
test eax, eax
je 0x4403c0
lea edx, [ebp - 0x158]
call fcn.004c3b34
test eax, eax
je 0x44038c
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x43fe44
mov al, byte [ebp - 0x158]
xor edx, edx
jmp 0x4403b2
cmp edx, 0x15
jae 0x4403bb
mov al, byte [ebp + edx - 0x158]
test al, al
je 0x4403bb
mov byte [ebp + edx - 0x1c], al
mov al, byte [ebp + edx - 0x157]
inc edx
call fcn.004c4ca0
test eax, eax
je 0x440396
mov byte [ebp + edx - 0x1c], 0
lea esi, [ebp - 0x1c]
call fcn.004c4699
mov edx, esi
call fcn.004c3b34
test eax, eax
je 0x4403dd
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x43fe44
lea edx, [ebp - 0x158]
call fcn.004c3b34
test eax, eax
je 0x440409
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x158]
push 0x104
push eax
call fcn.004c53b7
add esp, 0x10
lea eax, [ebp - 0x260]
call fcn.004c3ab2
lea eax, [ebp - 0x158]
push eax
call fcn.005120b0
pop ecx
mov edx, eax
dec edx
push 0
pop edi
js 0x440441
mov al, byte [ebp + edx - 0x158]
call fcn.004c4ca0
test eax, eax
je 0x44043d
inc edi
dec edx
jns 0x440429
test edi, edi
jg 0x44045a
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
je 0x44045a
push 3
pop edi
lea eax, [ebp - 0x4c]
push eax
call fcn.005120b0
cmp edi, eax
pop ecx
jle 0x440486
lea eax, [ebp - 0x4c]
push eax
push edi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.004265da
add esp, 0xc
lea eax, [ebp - 0x4c]
push eax
call fcn.005120b0
pop ecx
mov edi, eax
lea eax, [ebp - 0x4c]
push eax
call fcn.005120b0
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.004c3b66
pop ecx
push esi
push 0
push eax
lea ebx, [ebp - 0x1c]
call fcn.004c49f4
add esp, 0xc
lea eax, [ebp - 0x260]
push 0x530248
push eax
call fcn.00512350
test eax, eax
pop ecx
pop ecx
je 0x4404e4
lea eax, [ebp - 0x260]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.004265da
pop ecx
pop ecx
lea esi, [ebp - 0x260]
call fcn.004c4699
mov eax, esi
push eax
lea eax, [ebp - 0x158]
push eax
call fcn.00512a33
test eax, eax
pop ecx
pop ecx
jne 0x44052f
test edi, edi
jg 0x440524
call fcn.0048a53c
test eax, eax
jne 0x440524
lea eax, [ebp - 0x158]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.004265da
pop ecx
pop ecx
lea eax, [ebp - 0x260]
call fcn.004c3ab2
cmp dword [ebp - 0x268], 0
je 0x44054c
lea eax, [ebp - 0x158]
push eax
push dword [ebp - 0x268]
call fcn.005123e0
pop ecx
pop ecx
lea eax, [ebp - 0x260]
push eax
push 0x6bfab0
call fcn.005123e0
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.0051291c
leave
ret