Function at 0x435e69
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x59a240]
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.004e4da0
push esi
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.004e4da0
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.0049f486
add esp, 0x1c
test eax, eax
je 0x435f00
call fcn.0046039d
mov ebx, eax
push ebx
call fcn.0049f486
pop ecx
test eax, eax
je 0x435f00
push str.:4:AutoDetectRealStoreID___FAILED:_GetTAMSIP___has_not_been_initialized.
call fcn.004255b9
pop ecx
xor eax, eax
jmp 0x436694
push esi
lea eax, [ebp - 0x150]
push eax
push ebx
call fcn.004641c5
add esp, 0xc
test eax, eax
jne 0x435f22
lea eax, [ebp - 0x150]
push eax
call fcn.0049e2d6
pop ecx
lea eax, [ebp - 0x150]
push eax
call fcn.004a0481
call fcn.00460397
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0049e2d6
pop ecx
pop ecx
cmp esi, 0x64
jge 0x435f4c
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x435ef3
push 0xa
pop edi
push edi
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00458d4d
add esp, 0xc
call fcn.0047d25f
test eax, eax
jne 0x436017
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.004a11a5
push 0xc
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.004a11a5
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
push eax
mov byte [ebp - 0x31], 0
call fcn.0049e2d6
push ebx
call fcn.0046d734
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.0046de59
add esp, 0x30
test eax, eax
je 0x435fea
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0046df4a
add esp, 0x14
test eax, eax
jne 0x435fea
lea eax, [ebp - 0x1c]
push eax
call fcn.0049e2d6
pop ecx
push edi
call fcn.0046dac7
lea eax, [ebp - 0x1c]
push eax
call fcn.0049f486
pop ecx
pop ecx
test eax, eax
je 0x436014
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.004255b9
add esp, 0xc
push 0xa
pop edi
lea eax, [ebp - 0x1c]
push eax
call fcn.004a0481
lea eax, [ebp - 0x1c]
push eax
call fcn.0049f486
pop ecx
pop ecx
test eax, eax
je case.0x436086.100002
mov ecx, 0xf423f
jmp 0x436042
mov eax, esi
xor edx, edx
div edi
mov esi, eax
cmp esi, ecx
jg 0x43603a
mov eax, 0x927c4
cmp esi, eax
jg 0x436271
je 0x436267
mov eax, 0x61a82
cmp esi, eax
jg 0x436165
je 0x43615b
mov eax, 0x30d41
cmp esi, eax
jg 0x4360e7
je 0x4360dd
add esi, 0xfffe795f
cmp esi, 8
ja case.0x436086.100002
jmp dword [esi*4 + 0x4366a9]
mov eax, 0x527be8
jmp 0x436458
mov eax, 0x527bec
jmp 0x436458
mov eax, 0x527bf0
jmp 0x436458
mov eax, 0x527bf4
jmp 0x436458
mov eax, 0x527bf8
jmp 0x436458
mov eax, 0x527bfc
jmp 0x436458
mov eax, 0x527c00
jmp 0x436458
mov eax, 0x527c04
jmp 0x436458
mov eax, 0x527be4
jmp 0x436458
sub esi, 0x30d42
je 0x436151
sub esi, 1
je 0x436147
sub esi, 1
je 0x43613d
sub esi, 1
je 0x436133
dec esi
sub esi, 1
je 0x436129
sub esi, 1
je 0x43611f
sub esi, 0x30d39
jne case.0x436086.100002
mov eax, 0x527bc8
jmp 0x436458
mov eax, 0x527bcc
jmp 0x436458
mov eax, 0x527bd0
jmp 0x436458
mov eax, 0x527bd4
jmp 0x436458
mov eax, 0x527bd8
jmp 0x436458
mov eax, 0x527bdc
jmp 0x436458
mov eax, 0x527be0
jmp 0x436458
mov eax, 0x527bc4
jmp 0x436458
mov eax, 0x7a122
cmp esi, eax
jg 0x4361f2
je 0x4361e8
sub esi, 0x61a83
je 0x4361de
dec esi
sub esi, 1
je 0x4361d4
sub esi, 1
je 0x4361ca
sub esi, 1
je 0x4361c0
sub esi, 1
je 0x4361b6
sub esi, 1
je 0x4361ac
sub esi, 0x18698
jne case.0x436086.100002
mov eax, 0x527ba8
jmp 0x436458
mov eax, 0x527bac
jmp 0x436458
mov eax, 0x527bb0
jmp 0x436458
mov eax, 0x527bb4
jmp 0x436458
mov eax, 0x527bb8
jmp 0x436458
mov eax, 0x527bbc
jmp 0x436458
mov eax, 0x527bc0
jmp 0x436458
mov eax, 0x527ba4
jmp 0x436458
sub esi, 0x7a123
je 0x43625d
sub esi, 1
je 0x436253
sub esi, 1
je 0x436249
dec esi
sub esi, 1
je 0x43623f
sub esi, 1
je 0x436235
sub esi, 0x18699
je 0x43622b
dec esi
sub esi, 1
jne case.0x436086.100002
mov eax, 0x527b8c
jmp 0x436458
mov eax, 0x527b90
jmp 0x436458
mov eax, 0x527b94
jmp 0x436458
mov eax, 0x527b98
jmp 0x436458
mov eax, 0x51a030
jmp 0x436458
mov eax, 0x527b9c
jmp 0x436458
mov eax, 0x527ba0
jmp 0x436458
mov eax, 0x527b88
jmp 0x436458
mov eax, 0xc3504
cmp esi, eax
jg 0x436389
je 0x43637f
mov eax, 0xaae64
cmp esi, eax
jg 0x43630c
je 0x436302
sub esi, 0x927c5
je 0x4362f8
sub esi, 1
je 0x4362ee
sub esi, 1
je 0x4362e4
sub esi, 1
je 0x4362da
sub esi, 0x18699
je 0x4362d0
sub esi, 1
je 0x4362c6
sub esi, 1
jne case.0x436086.100002
mov eax, 0x527b6c
jmp 0x436458
mov eax, 0x527b70
jmp 0x436458
mov eax, 0x527b74
jmp 0x436458
mov eax, 0x527b78
jmp 0x436458
mov eax, 0x527b7c
jmp 0x436458
mov eax, 0x527b80
jmp 0x436458
mov eax, 0x527b84
jmp 0x436458
mov eax, 0x527b68
jmp 0x436458
sub esi, 0xaae65
je 0x436375
sub esi, 1
je 0x43636b
sub esi, 1
je 0x436361
sub esi, 1
je 0x436357
sub esi, 0x18699
je 0x43634d
sub esi, 1
je 0x436343
sub esi, 1
jne case.0x436086.100002
mov eax, 0x527b4c
jmp 0x436458
mov eax, 0x527b50
jmp 0x436458
mov eax, 0x527b54
jmp 0x436458
mov eax, 0x527b58
jmp 0x436458
mov eax, 0x527b5c
jmp 0x436458
mov eax, 0x527b60
jmp 0x436458
mov eax, 0x527b64
jmp 0x436458
mov eax, 0x527b48
jmp 0x436458
mov eax, 0xdbba7
cmp esi, eax
jg 0x436400
je 0x4363f9
sub esi, 0xc3505
je 0x4363f2
sub esi, 1
je 0x4363eb
sub esi, 0x1869b
je 0x4363e4
sub esi, 1
je 0x4363dd
sub esi, 1
je 0x4363d6
dec esi
sub esi, 1
je 0x4363cc
sub esi, 1
jne case.0x436086.100002
mov eax, 0x527b2c
jmp 0x436458
mov eax, 0x527b30
jmp 0x436458
mov eax, 0x527b34
jmp 0x436458
mov eax, 0x527b38
jmp 0x436458
mov eax, 0x527b3c
jmp 0x436458
mov eax, 0x527b40
jmp 0x436458
mov eax, 0x527b44
jmp 0x436458
mov eax, 0x527b28
jmp 0x436458
sub esi, 0xdbba8
je 0x436453
sub esi, 0x15f89
je 0x43644c
sub esi, 1
je 0x436445
sub esi, 1
je 0x43643e
sub esi, 1
je 0x436437
sub esi, 1
je 0x436430
sub esi, 1
jne case.0x436086.100002
mov eax, 0x527b10
jmp 0x436458
mov eax, 0x527b14
jmp 0x436458
mov eax, 0x5104bc
jmp 0x436458
mov eax, 0x527b18
jmp 0x436458
mov eax, 0x527b1c
jmp 0x436458
mov eax, 0x527b20
jmp 0x436458
mov eax, 0x527b24
push 0x16
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004a11a5
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0049f486
pop ecx
test eax, eax
je 0x4364d8
lea eax, [ebp - 0x150]
push eax
call fcn.0049f486
pop ecx
test eax, eax
je 0x436490
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x435ef3
push dword [ebp - 0x150]
xor esi, esi
call fcn.0049f592
pop ecx
test eax, eax
jne 0x4364d3
cmp esi, 0x15
jae 0x4364ca
mov al, byte [ebp + esi - 0x150]
test al, al
je 0x4364d3
mov byte [ebp + esi - 0x1c], al
inc esi
movzx eax, byte [ebp + esi - 0x150]
push eax
call fcn.0049f592
pop ecx
test eax, eax
je 0x4364a2
cmp esi, 0x16
jae 0x4366a3
mov byte [ebp + esi - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.004a0481
lea eax, [ebp - 0x1c]
push eax
call fcn.0049f486
pop ecx
pop ecx
test eax, eax
je 0x4364fa
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x435ef3
lea eax, [ebp - 0x150]
push eax
call fcn.0049f486
mov ebx, 0x104
pop ecx
test eax, eax
je 0x436529
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.004a0ddb
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.0049e2d6
lea eax, [ebp - 0x150]
push eax
call fcn.004ee800
pop ecx
pop ecx
mov edi, eax
sub edi, 1
push 0
pop esi
js 0x43656a
movzx ecx, byte [ebp + edi - 0x150]
push ecx
call fcn.0049f592
pop ecx
test eax, eax
je 0x436566
inc esi
sub edi, 1
jns 0x43654d
test esi, esi
jg 0x436584
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004ee718
pop ecx
pop ecx
push 3
test eax, eax
pop ecx
cmovne esi, ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.004ee800
pop ecx
cmp esi, eax
jle 0x4365af
lea eax, [ebp - 0x4c]
push eax
push esi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.004255b9
lea eax, [ebp - 0x4c]
push eax
call fcn.004ee800
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004ee800
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, esi
add eax, ecx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.004a11a5
push ebx
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0049f3ff
lea eax, [ebp - 0x254]
push 0x50eb14
push eax
call fcn.004e4f00
add esp, 0x24
test eax, eax
je 0x43660c
lea eax, [ebp - 0x254]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.004255b9
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.004a0481
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004ee718
add esp, 0xc
test eax, eax
jne 0x43665f
test esi, esi
jg 0x436652
call fcn.0047d25f
test eax, eax
jne 0x436652
lea eax, [ebp - 0x150]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.004255b9
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0049e2d6
pop ecx
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x436678
lea ecx, [ebp - 0x150]
push ecx
push eax
call fcn.004ee4d0
pop ecx
pop ecx
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x436691
lea ecx, [ebp - 0x254]
push ecx
push eax
call fcn.004ee4d0
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.004e3632
leave
ret
call fcn.004e37db
nop
shl dword [eax + 0x43], cl
add byte [edi + 100], ah
inc ebx
add cl, cl
pushal
inc ebx
add byte [edi - 0x4affbca0], bh
pushal
inc ebx
add byte [ebx - 0x5effbca0], ch
pushal
inc ebx
add byte [edi - 0x72ffbca0], dl
pushal
inc ebx
add byte [ebp - 0x75], dl
push ebp
mov ebp, esp