Function at 0x414e7f
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x496980]
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.00440bf0
push esi
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.00440bf0
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.0042dd5b
add esp, 0x1c
test eax, eax
je 0x414f16
call fcn.0041d7a9
mov ebx, eax
push ebx
call fcn.0042dd5b
pop ecx
test eax, eax
je 0x414f16
push 0x46b090
call fcn.0040d324
pop ecx
xor eax, eax
jmp 0x415695
push esi
lea eax, [ebp - 0x150]
push eax
push ebx
call fcn.0042130f
add esp, 0xc
test eax, eax
jne 0x414f38
lea eax, [ebp - 0x150]
push eax
call fcn.0042d261
pop ecx
lea eax, [ebp - 0x150]
push eax
call fcn.0042e6e2
call fcn.0041d7a3
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042d261
pop ecx
pop ecx
cmp esi, 0x64
jge 0x414f62
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x414f09
push 0xa
pop eax
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00418f74
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.0042f204
push 0xc
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0042f204
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
push eax
mov byte [ebp - 0x31], 0
call fcn.0042d261
push ebx
call fcn.004252d8
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.00425971
add esp, 0x3c
test eax, eax
je 0x414ff2
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.00425a62
add esp, 0x14
test eax, eax
jne 0x414ff2
lea eax, [ebp - 0x1c]
push eax
call fcn.0042d261
pop ecx
push edi
call fcn.00425611
lea eax, [ebp - 0x1c]
push eax
call fcn.0042dd5b
pop ecx
pop ecx
test eax, eax
je 0x41501c
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.0040d324
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0042e6e2
lea eax, [ebp - 0x1c]
push eax
call fcn.0042dd5b
pop ecx
pop ecx
test eax, eax
je case.0x415090.100002
mov ecx, 0xf423f
cmp esi, ecx
jle 0x415050
push 0xa
pop edi
mov eax, esi
xor edx, edx
div edi
mov esi, eax
cmp esi, ecx
jg 0x415044
mov eax, 0x927c4
cmp esi, eax
jg 0x41527b
je 0x415271
mov eax, 0x61a82
cmp esi, eax
jg 0x41516f
je 0x415165
mov eax, 0x30d41
cmp esi, eax
jg 0x4150f1
je 0x4150e7
add esi, 0xfffe795f
cmp esi, 8
ja case.0x415090.100002
jmp dword [esi*4 + 0x4156ab]
mov eax, 0x46b2b0
jmp 0x415462
mov eax, 0x46b2b4
jmp 0x415462
mov eax, 0x46b2b8
jmp 0x415462
mov eax, 0x46b2bc
jmp 0x415462
mov eax, 0x46b2c0
jmp 0x415462
mov eax, 0x46b2c4
jmp 0x415462
mov eax, 0x46b2c8
jmp 0x415462
mov eax, 0x46b2cc
jmp 0x415462
mov eax, 0x46b2ac
jmp 0x415462
sub esi, 0x30d42
je 0x41515b
sub esi, 1
je 0x415151
sub esi, 1
je 0x415147
sub esi, 1
je 0x41513d
dec esi
sub esi, 1
je 0x415133
sub esi, 1
je 0x415129
sub esi, 0x30d39
jne case.0x415090.100002
mov eax, 0x46b290
jmp 0x415462
mov eax, 0x46b294
jmp 0x415462
mov eax, 0x46b298
jmp 0x415462
mov eax, 0x46b29c
jmp 0x415462
mov eax, 0x46b2a0
jmp 0x415462
mov eax, 0x46b2a4
jmp 0x415462
mov eax, 0x46b2a8
jmp 0x415462
mov eax, 0x46b28c
jmp 0x415462
mov eax, 0x7a122
cmp esi, eax
jg 0x4151fc
je 0x4151f2
sub esi, 0x61a83
je 0x4151e8
dec esi
sub esi, 1
je 0x4151de
sub esi, 1
je 0x4151d4
sub esi, 1
je 0x4151ca
sub esi, 1
je 0x4151c0
sub esi, 1
je 0x4151b6
sub esi, 0x18698
jne case.0x415090.100002
mov eax, 0x46b270
jmp 0x415462
mov eax, 0x46b274
jmp 0x415462
mov eax, 0x46b278
jmp 0x415462
mov eax, 0x46b27c
jmp 0x415462
mov eax, 0x46b280
jmp 0x415462
mov eax, 0x46b284
jmp 0x415462
mov eax, 0x46b288
jmp 0x415462
mov eax, 0x46b26c
jmp 0x415462
sub esi, 0x7a123
je 0x415267
sub esi, 1
je 0x41525d
sub esi, 1
je 0x415253
dec esi
sub esi, 1
je 0x415249
sub esi, 1
je 0x41523f
sub esi, 0x18699
je 0x415235
dec esi
sub esi, 1
jne case.0x415090.100002
mov eax, 0x46b254
jmp 0x415462
mov eax, 0x46b258
jmp 0x415462
mov eax, 0x46b25c
jmp 0x415462
mov eax, 0x46b260
jmp 0x415462
mov eax, 0x468d24
jmp 0x415462
mov eax, 0x46b264
jmp 0x415462
mov eax, 0x46b268
jmp 0x415462
mov eax, 0x46b250
jmp 0x415462
mov eax, 0xc3504
cmp esi, eax
jg 0x415393
je 0x415389
mov eax, 0xaae64
cmp esi, eax
jg 0x415316
je 0x41530c
sub esi, 0x927c5
je 0x415302
sub esi, 1
je 0x4152f8
sub esi, 1
je 0x4152ee
sub esi, 1
je 0x4152e4
sub esi, 0x18699
je 0x4152da
sub esi, 1
je 0x4152d0
sub esi, 1
jne case.0x415090.100002
mov eax, 0x46b234
jmp 0x415462
mov eax, 0x46b238
jmp 0x415462
mov eax, 0x46b23c
jmp 0x415462
mov eax, 0x46b240
jmp 0x415462
mov eax, 0x46b244
jmp 0x415462
mov eax, 0x46b248
jmp 0x415462
mov eax, 0x46b24c
jmp 0x415462
mov eax, 0x46b230
jmp 0x415462
sub esi, 0xaae65
je 0x41537f
sub esi, 1
je 0x415375
sub esi, 1
je 0x41536b
sub esi, 1
je 0x415361
sub esi, 0x18699
je 0x415357
sub esi, 1
je 0x41534d
sub esi, 1
jne case.0x415090.100002
mov eax, 0x46b214
jmp 0x415462
mov eax, 0x46b218
jmp 0x415462
mov eax, 0x46b21c
jmp 0x415462
mov eax, 0x46b220
jmp 0x415462
mov eax, 0x46b224
jmp 0x415462
mov eax, 0x46b228
jmp 0x415462
mov eax, 0x46b22c
jmp 0x415462
mov eax, 0x46b210
jmp 0x415462
mov eax, 0xdbba7
cmp esi, eax
jg 0x41540a
je 0x415403
sub esi, 0xc3505
je 0x4153fc
sub esi, 1
je 0x4153f5
sub esi, 0x1869b
je 0x4153ee
sub esi, 1
je 0x4153e7
sub esi, 1
je 0x4153e0
dec esi
sub esi, 1
je 0x4153d6
sub esi, 1
jne case.0x415090.100002
mov eax, 0x46b1f4
jmp 0x415462
mov eax, 0x46b1f8
jmp 0x415462
mov eax, 0x46b1fc
jmp 0x415462
mov eax, 0x46b200
jmp 0x415462
mov eax, 0x46b204
jmp 0x415462
mov eax, 0x46b208
jmp 0x415462
mov eax, 0x46b20c
jmp 0x415462
mov eax, 0x46b1f0
jmp 0x415462
sub esi, 0xdbba8
je 0x41545d
sub esi, 0x15f89
je 0x415456
sub esi, 1
je 0x41544f
sub esi, 1
je 0x415448
sub esi, 1
je 0x415441
sub esi, 1
je 0x41543a
sub esi, 1
jne case.0x415090.100002
mov eax, 0x46b1d8
jmp 0x415462
mov eax, 0x46b1dc
jmp 0x415462
mov eax, 0x4665ec
jmp 0x415462
mov eax, 0x46b1e0
jmp 0x415462
mov eax, 0x46b1e4
jmp 0x415462
mov eax, 0x46b1e8
jmp 0x415462
mov eax, 0x46b1ec
push 0x16
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0042f204
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0042dd5b
pop ecx
test eax, eax
je 0x4154e2
lea eax, [ebp - 0x150]
push eax
call fcn.0042dd5b
pop ecx
test eax, eax
je 0x41549a
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x414f09
push dword [ebp - 0x150]
xor esi, esi
call fcn.0042de67
pop ecx
test eax, eax
jne 0x4154dd
cmp esi, 0x15
jae 0x4154d4
mov al, byte [ebp + esi - 0x150]
test al, al
je 0x4154dd
mov byte [ebp + esi - 0x1c], al
inc esi
movzx eax, byte [ebp + esi - 0x150]
push eax
call fcn.0042de67
pop ecx
test eax, eax
je 0x4154ac
cmp esi, 0x16
jae 0x4156a4
mov byte [ebp + esi - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0042e6e2
lea eax, [ebp - 0x1c]
push eax
call fcn.0042dd5b
pop ecx
pop ecx
test eax, eax
je 0x415504
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x414f09
lea eax, [ebp - 0x150]
push eax
call fcn.0042dd5b
mov ebx, 0x104
pop ecx
test eax, eax
je 0x415533
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.0042ef5e
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.0042d261
lea eax, [ebp - 0x150]
push eax
call fcn.0044a680
pop ecx
pop ecx
mov edi, eax
sub edi, 1
push 0
pop esi
js 0x415574
movzx ecx, byte [ebp + edi - 0x150]
push ecx
call fcn.0042de67
pop ecx
test eax, eax
je 0x415570
inc esi
sub edi, 1
jns 0x415557
test esi, esi
jg 0x41558e
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0044a5a7
pop ecx
pop ecx
push 3
test eax, eax
pop ecx
cmovne esi, ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.0044a680
pop ecx
cmp esi, eax
jle 0x4155b9
lea eax, [ebp - 0x4c]
push eax
push esi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.0040d324
lea eax, [ebp - 0x4c]
push eax
call fcn.0044a680
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.0044a680
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, esi
add eax, ecx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0042f204
push ebx
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0042dcd4
lea eax, [ebp - 0x254]
push 0x465cb4
push eax
call fcn.00440d50
add esp, 0x24
test eax, eax
je 0x415616
lea eax, [ebp - 0x254]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.0040d324
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0042e6e2
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.0044a5a7
add esp, 0xc
test eax, eax
jne 0x415660
test esi, esi
jg 0x415653
lea eax, [ebp - 0x150]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.0040d324
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0042d261
pop ecx
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x415679
lea ecx, [ebp - 0x150]
push ecx
push eax
call fcn.0044a360
pop ecx
pop ecx
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x415692
lea ecx, [ebp - 0x254]
push ecx
push eax
call fcn.0044a360
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.0043f5c5
leave
ret
call fcn.0043f77b
nop
fst qword [eax + 0x41]
add byte [ecx + 84], dh
inc ecx
add bl, dl
push eax
inc ecx
add cl, cl
push eax
inc ecx
add byte [edi - 0x4affbeb0], bh
push eax
inc ecx
add byte [ebx - 0x5effbeb0], ch
push eax
inc ecx
invalid
xchg edi, eax
push eax
inc ecx
invalid