Function at 0x411cee
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x492840]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x258], eax
mov eax, dword [ebp + 0x10]
push ebx
mov dword [ebp - 0x25c], eax
xor eax, eax
push esi
push edi
mov ebx, dword [ebp + 8]
lea edi, [ebp - 0x4c]
stosd dword es:[edi], eax
mov esi, 0x104
push esi
push 0
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 0x150]
push eax
call fcn.0043dc10
push esi
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.0043dc10
xor eax, eax
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
push ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
call fcn.0042da83
add esp, 0x1c
test eax, eax
je 0x411d85
call fcn.0041baa0
mov ebx, eax
push ebx
call fcn.0042da83
pop ecx
test eax, eax
je 0x411d85
push 0x468be8
call fcn.0040906e
pop ecx
xor eax, eax
jmp 0x412504
push esi
lea eax, [ebp - 0x150]
push eax
push ebx
call fcn.0041f46b
add esp, 0xc
test eax, eax
jne 0x411da7
lea eax, [ebp - 0x150]
push eax
call fcn.0042d010
pop ecx
lea eax, [ebp - 0x150]
push eax
call fcn.0042e3db
call fcn.0041ba9a
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042d010
pop ecx
pop ecx
cmp esi, 0x64
jge 0x411dd1
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x411d78
push 0xa
pop eax
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00417130
xor eax, eax
lea edi, [ebp - 0x28]
stosd dword es:[edi], eax
push 0xc
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x34]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.0042ee2a
push 0xc
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042ee2a
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
push eax
mov byte [ebp - 0x31], 0
call fcn.0042d010
push ebx
call fcn.00423159
mov edi, 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 edi
call fcn.0042377b
add esp, 0x3c
test eax, eax
je 0x411e61
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0042386c
add esp, 0x14
test eax, eax
jne 0x411e61
lea eax, [ebp - 0x1c]
push eax
call fcn.0042d010
pop ecx
push edi
call fcn.0042341b
lea eax, [ebp - 0x1c]
push eax
call fcn.0042da83
pop ecx
pop ecx
test eax, eax
je 0x411e8b
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.0040906e
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0042e3db
lea eax, [ebp - 0x1c]
push eax
call fcn.0042da83
pop ecx
pop ecx
test eax, eax
je case.0x411eff.100002
mov ecx, 0xf423f
cmp esi, ecx
jle 0x411ebf
push 0xa
pop edi
mov eax, esi
xor edx, edx
div edi
mov esi, eax
cmp esi, ecx
jg 0x411eb3
mov eax, 0x927c4
cmp esi, eax
jg 0x4120ea
je 0x4120e0
mov eax, 0x61a82
cmp esi, eax
jg 0x411fde
je 0x411fd4
mov eax, 0x30d41
cmp esi, eax
jg 0x411f60
je 0x411f56
add esi, 0xfffe795f
cmp esi, 8
ja case.0x411eff.100002
jmp dword [esi*4 + 0x41251a]
mov eax, 0x468e08
jmp 0x4122d1
mov eax, 0x468e0c
jmp 0x4122d1
mov eax, 0x468e10
jmp 0x4122d1
mov eax, 0x468e14
jmp 0x4122d1
mov eax, 0x468e18
jmp 0x4122d1
mov eax, 0x468e1c
jmp 0x4122d1
mov eax, 0x468e20
jmp 0x4122d1
mov eax, 0x468e24
jmp 0x4122d1
mov eax, 0x468e04
jmp 0x4122d1
sub esi, 0x30d42
je 0x411fca
sub esi, 1
je 0x411fc0
sub esi, 1
je 0x411fb6
sub esi, 1
je 0x411fac
dec esi
sub esi, 1
je 0x411fa2
sub esi, 1
je 0x411f98
sub esi, 0x30d39
jne case.0x411eff.100002
mov eax, 0x468de8
jmp 0x4122d1
mov eax, 0x468dec
jmp 0x4122d1
mov eax, 0x468df0
jmp 0x4122d1
mov eax, 0x468df4
jmp 0x4122d1
mov eax, 0x468df8
jmp 0x4122d1
mov eax, 0x468dfc
jmp 0x4122d1
mov eax, 0x468e00
jmp 0x4122d1
mov eax, 0x468de4
jmp 0x4122d1
mov eax, 0x7a122
cmp esi, eax
jg 0x41206b
je 0x412061
sub esi, 0x61a83
je 0x412057
dec esi
sub esi, 1
je 0x41204d
sub esi, 1
je 0x412043
sub esi, 1
je 0x412039
sub esi, 1
je 0x41202f
sub esi, 1
je 0x412025
sub esi, 0x18698
jne case.0x411eff.100002
mov eax, 0x468dc8
jmp 0x4122d1
mov eax, 0x468dcc
jmp 0x4122d1
mov eax, 0x468dd0
jmp 0x4122d1
mov eax, 0x468dd4
jmp 0x4122d1
mov eax, 0x468dd8
jmp 0x4122d1
mov eax, 0x468ddc
jmp 0x4122d1
mov eax, 0x468de0
jmp 0x4122d1
mov eax, 0x468dc4
jmp 0x4122d1
sub esi, 0x7a123
je 0x4120d6
sub esi, 1
je 0x4120cc
sub esi, 1
je 0x4120c2
dec esi
sub esi, 1
je 0x4120b8
sub esi, 1
je 0x4120ae
sub esi, 0x18699
je 0x4120a4
dec esi
sub esi, 1
jne case.0x411eff.100002
mov eax, 0x468dac
jmp 0x4122d1
mov eax, 0x468db0
jmp 0x4122d1
mov eax, 0x468db4
jmp 0x4122d1
mov eax, 0x468db8
jmp 0x4122d1
mov eax, 0x4662c4
jmp 0x4122d1
mov eax, 0x468dbc
jmp 0x4122d1
mov eax, 0x468dc0
jmp 0x4122d1
mov eax, 0x468da8
jmp 0x4122d1
mov eax, 0xc3504
cmp esi, eax
jg 0x412202
je 0x4121f8
mov eax, 0xaae64
cmp esi, eax
jg 0x412185
je 0x41217b
sub esi, 0x927c5
je 0x412171
sub esi, 1
je 0x412167
sub esi, 1
je 0x41215d
sub esi, 1
je 0x412153
sub esi, 0x18699
je 0x412149
sub esi, 1
je 0x41213f
sub esi, 1
jne case.0x411eff.100002
mov eax, 0x468d8c
jmp 0x4122d1
mov eax, 0x468d90
jmp 0x4122d1
mov eax, 0x468d94
jmp 0x4122d1
mov eax, 0x468d98
jmp 0x4122d1
mov eax, 0x468d9c
jmp 0x4122d1
mov eax, 0x468da0
jmp 0x4122d1
mov eax, 0x468da4
jmp 0x4122d1
mov eax, 0x468d88
jmp 0x4122d1
sub esi, 0xaae65
je 0x4121ee
sub esi, 1
je 0x4121e4
sub esi, 1
je 0x4121da
sub esi, 1
je 0x4121d0
sub esi, 0x18699
je 0x4121c6
sub esi, 1
je 0x4121bc
sub esi, 1
jne case.0x411eff.100002
mov eax, 0x468d6c
jmp 0x4122d1
mov eax, 0x468d70
jmp 0x4122d1
mov eax, 0x468d74
jmp 0x4122d1
mov eax, 0x468d78
jmp 0x4122d1
mov eax, 0x468d7c
jmp 0x4122d1
mov eax, 0x468d80
jmp 0x4122d1
mov eax, 0x468d84
jmp 0x4122d1
mov eax, 0x468d68
jmp 0x4122d1
mov eax, 0xdbba7
cmp esi, eax
jg 0x412279
je 0x412272
sub esi, 0xc3505
je 0x41226b
sub esi, 1
je 0x412264
sub esi, 0x1869b
je 0x41225d
sub esi, 1
je 0x412256
sub esi, 1
je 0x41224f
dec esi
sub esi, 1
je 0x412245
sub esi, 1
jne case.0x411eff.100002
mov eax, 0x468d4c
jmp 0x4122d1
mov eax, 0x468d50
jmp 0x4122d1
mov eax, 0x468d54
jmp 0x4122d1
mov eax, 0x468d58
jmp 0x4122d1
mov eax, 0x468d5c
jmp 0x4122d1
mov eax, 0x468d60
jmp 0x4122d1
mov eax, 0x468d64
jmp 0x4122d1
mov eax, 0x468d48
jmp 0x4122d1
sub esi, 0xdbba8
je 0x4122cc
sub esi, 0x15f89
je 0x4122c5
sub esi, 1
je 0x4122be
sub esi, 1
je 0x4122b7
sub esi, 1
je 0x4122b0
sub esi, 1
je 0x4122a9
sub esi, 1
jne case.0x411eff.100002
mov eax, 0x468d30
jmp 0x4122d1
mov eax, 0x468d34
jmp 0x4122d1
mov eax, 0x4626f4
jmp 0x4122d1
mov eax, 0x468d38
jmp 0x4122d1
mov eax, 0x468d3c
jmp 0x4122d1
mov eax, 0x468d40
jmp 0x4122d1
mov eax, 0x468d44
push 0x16
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042ee2a
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0042da83
pop ecx
test eax, eax
je 0x412351
lea eax, [ebp - 0x150]
push eax
call fcn.0042da83
pop ecx
test eax, eax
je 0x412309
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x411d78
push dword [ebp - 0x150]
xor esi, esi
call fcn.0042daee
pop ecx
test eax, eax
jne 0x41234c
cmp esi, 0x15
jae 0x412343
mov al, byte [ebp + esi - 0x150]
test al, al
je 0x41234c
mov byte [ebp + esi - 0x1c], al
inc esi
movzx eax, byte [ebp + esi - 0x150]
push eax
call fcn.0042daee
pop ecx
test eax, eax
je 0x41231b
cmp esi, 0x16
jae 0x412513
mov byte [ebp + esi - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0042e3db
lea eax, [ebp - 0x1c]
push eax
call fcn.0042da83
pop ecx
pop ecx
test eax, eax
je 0x412373
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x411d78
lea eax, [ebp - 0x150]
push eax
call fcn.0042da83
mov ebx, 0x104
pop ecx
test eax, eax
je 0x4123a2
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.0042eb84
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.0042d010
lea eax, [ebp - 0x150]
push eax
call fcn.004476a0
pop ecx
pop ecx
mov edi, eax
sub edi, 1
push 0
pop esi
js 0x4123e3
movzx ecx, byte [ebp + edi - 0x150]
push ecx
call fcn.0042daee
pop ecx
test eax, eax
je 0x4123df
inc esi
sub edi, 1
jns 0x4123c6
test esi, esi
jg 0x4123fd
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004475c7
pop ecx
pop ecx
push 3
test eax, eax
pop ecx
cmovne esi, ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.004476a0
pop ecx
cmp esi, eax
jle 0x412428
lea eax, [ebp - 0x4c]
push eax
push esi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.0040906e
lea eax, [ebp - 0x4c]
push eax
call fcn.004476a0
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004476a0
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, esi
add eax, ecx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0042ee2a
push ebx
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0042d9fc
lea eax, [ebp - 0x254]
push 0x461da4
push eax
call fcn.0043dd70
add esp, 0x24
test eax, eax
je 0x412485
lea eax, [ebp - 0x254]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.0040906e
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0042e3db
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004475c7
add esp, 0xc
test eax, eax
jne 0x4124cf
test esi, esi
jg 0x4124c2
lea eax, [ebp - 0x150]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.0040906e
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0042d010
pop ecx
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x4124e8
lea ecx, [ebp - 0x150]
push ecx
push eax
call fcn.00447380
pop ecx
pop ecx
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x412501
lea ecx, [ebp - 0x254]
push ecx
push eax
call fcn.00447380
pop ecx
pop ecx
xor eax, eax
inc eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c5ec
leave
ret
call fcn.0043c79b
nop
dec esp
pop ds
inc ecx
add al, ah
and al, byte [ecx]
inc edx
pop ds
inc ecx
add byte [eax], bh
pop ds
inc ecx
add byte [esi], ch
pop ds
inc ecx
add byte [edi + ebx], ah
inc ecx
add byte [edx], bl
pop ds
inc ecx
add byte [eax], dl
pop ds
inc ecx
add byte [esi], al
pop ds
inc ecx
add byte [edx], ch
push 0
call fcn.0041254a
pop ecx
pop ecx
ret