Function at 0x42db86
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x55f900]
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.004c37f0
push esi
lea eax, [ebp - 0x254]
push 0
push eax
call fcn.004c37f0
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.0048c30a
add esp, 0x1c
test eax, eax
je 0x42dc1d
call fcn.0044eae2
mov ebx, eax
push ebx
call fcn.0048c30a
pop ecx
test eax, eax
je 0x42dc1d
push 0x4f94b8
call fcn.0041c80a
pop ecx
xor eax, eax
jmp 0x42e39c
push esi
lea eax, [ebp - 0x150]
push eax
push ebx
call fcn.00452697
add esp, 0xc
test eax, eax
jne 0x42dc3f
lea eax, [ebp - 0x150]
push eax
call fcn.0048b21b
pop ecx
lea eax, [ebp - 0x150]
push eax
call fcn.0048d031
call fcn.0044eadc
mov esi, eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0048b21b
pop ecx
pop ecx
cmp esi, 0x64
jge 0x42dc69
push str.:4:AutoDetectRealStoreID___FAILED:_GetStoreNumber___has_not_yet_been_initialized.
jmp 0x42dc10
push 0xa
pop eax
push eax
lea eax, [ebp - 0x4c]
push eax
push esi
call fcn.00448708
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.0048dd2a
push 0xc
lea eax, [ebp - 0x25]
push eax
lea eax, [ebp - 0x34]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x1c]
mov byte [ebp - 0x25], 0
push eax
mov byte [ebp - 0x31], 0
call fcn.0048b21b
push ebx
call fcn.0045b86c
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.0045bf37
add esp, 0x3c
test eax, eax
je 0x42dcf9
push 1
push 0
push 0x15
lea eax, [ebp - 0x1c]
push eax
push edi
call fcn.0045c028
add esp, 0x14
test eax, eax
jne 0x42dcf9
lea eax, [ebp - 0x1c]
push eax
call fcn.0048b21b
pop ecx
push edi
call fcn.0045bba5
lea eax, [ebp - 0x1c]
push eax
call fcn.0048c30a
pop ecx
pop ecx
test eax, eax
je 0x42dd23
lea eax, [ebp - 0x34]
push eax
lea eax, [ebp - 0x28]
push eax
push str.:4:AutoDetectRealStoreID___EAP:_ExecuteODBCFormat___FAILED_for__s__s.
call fcn.0041c80a
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0048d031
lea eax, [ebp - 0x1c]
push eax
call fcn.0048c30a
pop ecx
pop ecx
test eax, eax
je case.0x42dd97.100002
mov ecx, 0xf423f
cmp esi, ecx
jle 0x42dd57
push 0xa
pop edi
mov eax, esi
xor edx, edx
div edi
mov esi, eax
cmp esi, ecx
jg 0x42dd4b
mov eax, 0x927c4
cmp esi, eax
jg 0x42df82
je 0x42df78
mov eax, 0x61a82
cmp esi, eax
jg 0x42de76
je 0x42de6c
mov eax, 0x30d41
cmp esi, eax
jg 0x42ddf8
je 0x42ddee
add esi, 0xfffe795f
cmp esi, 8
ja case.0x42dd97.100002
jmp dword [esi*4 + 0x42e3b2]
mov eax, 0x4f96d8
jmp 0x42e169
mov eax, 0x4f96dc
jmp 0x42e169
mov eax, 0x4f96e0
jmp 0x42e169
mov eax, 0x4f96e4
jmp 0x42e169
mov eax, 0x4f96e8
jmp 0x42e169
mov eax, 0x4f96ec
jmp 0x42e169
mov eax, 0x4f96f0
jmp 0x42e169
mov eax, 0x4f96f4
jmp 0x42e169
mov eax, 0x4f96d4
jmp 0x42e169
sub esi, 0x30d42
je 0x42de62
sub esi, 1
je 0x42de58
sub esi, 1
je 0x42de4e
sub esi, 1
je 0x42de44
dec esi
sub esi, 1
je 0x42de3a
sub esi, 1
je 0x42de30
sub esi, 0x30d39
jne case.0x42dd97.100002
mov eax, 0x4f96b8
jmp 0x42e169
mov eax, 0x4f96bc
jmp 0x42e169
mov eax, 0x4f96c0
jmp 0x42e169
mov eax, 0x4f96c4
jmp 0x42e169
mov eax, 0x4f96c8
jmp 0x42e169
mov eax, 0x4f96cc
jmp 0x42e169
mov eax, 0x4f96d0
jmp 0x42e169
mov eax, 0x4f96b4
jmp 0x42e169
mov eax, 0x7a122
cmp esi, eax
jg 0x42df03
je 0x42def9
sub esi, 0x61a83
je 0x42deef
dec esi
sub esi, 1
je 0x42dee5
sub esi, 1
je 0x42dedb
sub esi, 1
je 0x42ded1
sub esi, 1
je 0x42dec7
sub esi, 1
je 0x42debd
sub esi, 0x18698
jne case.0x42dd97.100002
mov eax, 0x4f9698
jmp 0x42e169
mov eax, 0x4f969c
jmp 0x42e169
mov eax, 0x4f96a0
jmp 0x42e169
mov eax, 0x4f96a4
jmp 0x42e169
mov eax, 0x4f96a8
jmp 0x42e169
mov eax, 0x4f96ac
jmp 0x42e169
mov eax, 0x4f96b0
jmp 0x42e169
mov eax, 0x4f9694
jmp 0x42e169
sub esi, 0x7a123
je 0x42df6e
sub esi, 1
je 0x42df64
sub esi, 1
je 0x42df5a
dec esi
sub esi, 1
je 0x42df50
sub esi, 1
je 0x42df46
sub esi, 0x18699
je 0x42df3c
dec esi
sub esi, 1
jne case.0x42dd97.100002
mov eax, 0x4f967c
jmp 0x42e169
mov eax, 0x4f9680
jmp 0x42e169
mov eax, 0x4f9684
jmp 0x42e169
mov eax, 0x4f9688
jmp 0x42e169
mov eax, 0x4f4f74
jmp 0x42e169
mov eax, 0x4f968c
jmp 0x42e169
mov eax, 0x4f9690
jmp 0x42e169
mov eax, 0x4f9678
jmp 0x42e169
mov eax, 0xc3504
cmp esi, eax
jg 0x42e09a
je 0x42e090
mov eax, 0xaae64
cmp esi, eax
jg 0x42e01d
je 0x42e013
sub esi, 0x927c5
je 0x42e009
sub esi, 1
je 0x42dfff
sub esi, 1
je 0x42dff5
sub esi, 1
je 0x42dfeb
sub esi, 0x18699
je 0x42dfe1
sub esi, 1
je 0x42dfd7
sub esi, 1
jne case.0x42dd97.100002
mov eax, 0x4f965c
jmp 0x42e169
mov eax, 0x4f9660
jmp 0x42e169
mov eax, 0x4f9664
jmp 0x42e169
mov eax, 0x4f9668
jmp 0x42e169
mov eax, 0x4f966c
jmp 0x42e169
mov eax, 0x4f9670
jmp 0x42e169
mov eax, 0x4f9674
jmp 0x42e169
mov eax, 0x4f9658
jmp 0x42e169
sub esi, 0xaae65
je 0x42e086
sub esi, 1
je 0x42e07c
sub esi, 1
je 0x42e072
sub esi, 1
je 0x42e068
sub esi, 0x18699
je 0x42e05e
sub esi, 1
je 0x42e054
sub esi, 1
jne case.0x42dd97.100002
mov eax, 0x4f963c
jmp 0x42e169
mov eax, 0x4f9640
jmp 0x42e169
mov eax, 0x4f9644
jmp 0x42e169
mov eax, 0x4f9648
jmp 0x42e169
mov eax, 0x4f964c
jmp 0x42e169
mov eax, 0x4f9650
jmp 0x42e169
mov eax, 0x4f9654
jmp 0x42e169
mov eax, 0x4f9638
jmp 0x42e169
mov eax, 0xdbba7
cmp esi, eax
jg 0x42e111
je 0x42e10a
sub esi, 0xc3505
je 0x42e103
sub esi, 1
je 0x42e0fc
sub esi, 0x1869b
je 0x42e0f5
sub esi, 1
je 0x42e0ee
sub esi, 1
je 0x42e0e7
dec esi
sub esi, 1
je 0x42e0dd
sub esi, 1
jne case.0x42dd97.100002
mov eax, 0x4f961c
jmp 0x42e169
mov eax, 0x4f9620
jmp 0x42e169
mov eax, 0x4f9624
jmp 0x42e169
mov eax, 0x4f9628
jmp 0x42e169
mov eax, 0x4f962c
jmp 0x42e169
mov eax, 0x4f9630
jmp 0x42e169
mov eax, 0x4f9634
jmp 0x42e169
mov eax, 0x4f9618
jmp 0x42e169
sub esi, 0xdbba8
je 0x42e164
sub esi, 0x15f89
je 0x42e15d
sub esi, 1
je 0x42e156
sub esi, 1
je 0x42e14f
sub esi, 1
je 0x42e148
sub esi, 1
je 0x42e141
sub esi, 1
jne case.0x42dd97.100002
mov eax, 0x4f9600
jmp 0x42e169
mov eax, 0x4f9604
jmp 0x42e169
mov eax, 0x4ed3e4
jmp 0x42e169
mov eax, 0x4f9608
jmp 0x42e169
mov eax, 0x4f960c
jmp 0x42e169
mov eax, 0x4f9610
jmp 0x42e169
mov eax, 0x4f9614
push 0x16
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.0048dd2a
add esp, 0xc
lea eax, [ebp - 0x1c]
push eax
call fcn.0048c30a
pop ecx
test eax, eax
je 0x42e1e9
lea eax, [ebp - 0x150]
push eax
call fcn.0048c30a
pop ecx
test eax, eax
je 0x42e1a1
push str.:4:AutoDetectRealStoreID___FAILED:_The_dns_name_could_not_be_determined_nor_T2_db_accessed.
jmp 0x42dc10
push dword [ebp - 0x150]
xor esi, esi
call fcn.0048c375
pop ecx
test eax, eax
jne 0x42e1e4
cmp esi, 0x15
jae 0x42e1db
mov al, byte [ebp + esi - 0x150]
test al, al
je 0x42e1e4
mov byte [ebp + esi - 0x1c], al
inc esi
movzx eax, byte [ebp + esi - 0x150]
push eax
call fcn.0048c375
pop ecx
test eax, eax
je 0x42e1b3
cmp esi, 0x16
jae 0x42e3ab
mov byte [ebp + esi - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
call fcn.0048d031
lea eax, [ebp - 0x1c]
push eax
call fcn.0048c30a
pop ecx
pop ecx
test eax, eax
je 0x42e20b
push str.:7:AutoDetectRealStoreID___FAILED:_Could_not_determine_Alpha_DC_Code.
jmp 0x42dc10
lea eax, [ebp - 0x150]
push eax
call fcn.0048c30a
mov ebx, 0x104
pop ecx
test eax, eax
je 0x42e23a
lea eax, [ebp - 0x1c]
push eax
push str._s000
lea eax, [ebp - 0x150]
push ebx
push eax
call fcn.0048d960
add esp, 0x10
lea eax, [ebp - 0x254]
push eax
call fcn.0048b21b
lea eax, [ebp - 0x150]
push eax
call fcn.004cd280
pop ecx
pop ecx
mov edi, eax
sub edi, 1
push 0
pop esi
js 0x42e27b
movzx ecx, byte [ebp + edi - 0x150]
push ecx
call fcn.0048c375
pop ecx
test eax, eax
je 0x42e277
inc esi
sub edi, 1
jns 0x42e25e
test esi, esi
jg 0x42e295
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004cd1a7
pop ecx
pop ecx
push 3
test eax, eax
pop ecx
cmovne esi, ecx
lea eax, [ebp - 0x4c]
push eax
call fcn.004cd280
pop ecx
cmp esi, eax
jle 0x42e2c0
lea eax, [ebp - 0x4c]
push eax
push esi
push str.:7:AutoDetectRealStoreID___EAP:_Impossible:_iNumDigits___d__szCurrentStoreNum___s
call fcn.0041c80a
lea eax, [ebp - 0x4c]
push eax
call fcn.004cd280
add esp, 0x10
mov esi, eax
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.004cd280
pop ecx
lea ecx, [ebp - 0x4c]
sub ecx, esi
add eax, ecx
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0048dd2a
push ebx
push 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x254]
push eax
call fcn.0048c283
lea eax, [ebp - 0x254]
push 0x4ebd0c
push eax
call fcn.004c3950
add esp, 0x24
test eax, eax
je 0x42e31d
lea eax, [ebp - 0x254]
push eax
push str.:7:AutoDetectRealStoreID___EAP:_BAD_White_space_in_store_name____s__has_been_fixed._
call fcn.0041c80a
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0048d031
lea eax, [ebp - 0x254]
push eax
lea eax, [ebp - 0x150]
push eax
call fcn.004cd1a7
add esp, 0xc
test eax, eax
jne 0x42e367
test esi, esi
jg 0x42e35a
lea eax, [ebp - 0x150]
push eax
push str.:5:AutoDetectRealStoreID___FAILED:_Bad_DNS_lookup___s_
call fcn.0041c80a
pop ecx
pop ecx
lea eax, [ebp - 0x254]
push eax
call fcn.0048b21b
pop ecx
mov eax, dword [ebp - 0x258]
test eax, eax
je 0x42e380
lea ecx, [ebp - 0x150]
push ecx
push eax
call fcn.004ccf60
pop ecx
pop ecx
mov eax, dword [ebp - 0x25c]
test eax, eax
je 0x42e399
lea ecx, [ebp - 0x254]
push ecx
push eax
call fcn.004ccf60
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.004c2120
leave
ret
call fcn.004c22cb
nop
in al, 0xdd
inc edx
add byte [eax - 0x1f], bh
inc edx
add dl, bl
fld qword [edx]
rcr ch, 1
inc edx
add dh, al
fld qword [edx]
mov esp, 0xb20042dd
fld qword [edx]
test al, 0xdd
inc edx
add byte [esi + 0x550042dd], bl
push ebp
mov ebp, esp
sub esp, 0x464
mov eax, dword [0x55f900]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x44c]
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
push 0x104
push ebx
push eax
mov dword [ebp - 0x464], edi
call fcn.004c37f0
push 0x104
lea eax, [ebp - 0x148]
push ebx
push eax
call fcn.004c37f0
push 0x200
lea eax, [ebp - 0x348]
push ebx
push eax
call fcn.004c37f0
push 0x40
lea eax, [ebp - 0x44]
mov dword [ebp - 0x454], ebx
push ebx
push eax
call fcn.004c37f0
push edi
call fcn.0048b21b
add esp, 0x34
test esi, esi
je 0x42e451
mov dword [esi], ebx
call fcn.004b729a
push 0x50
push edi
push ebx
mov dword [ebp - 0x460], eax
call fcn.0045c981
add esp, 0xc
test eax, eax
jle 0x42e47a
test esi, esi
je 0x42e472
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x42e68e
push str.:4:AutoDetectStoreNameAndNumber___FAILED:_TAMS_II_GetStoreNumberTAMSii___FAILED.
call fcn.0041c80a
mov dword [esp], str.C:UsersOfficeDocumentsVisual_StudioPAULAInstallation.c
push 0x141
push ebx
call fcn.004494eb
add esp, 0xc
mov dword [ebp - 0x450], eax
mov edi, ebx
mov dword [ebp - 0x458], ebx
push ebx
push ebx
push edi
lea eax, [ebp - 0x44c]
push ebx
push eax
call fcn.0042e76e
push eax
call fcn.0048c30a
add esp, 0x18
test eax, eax
jne 0x42e62c
mov edi, ebx
cmp dword [ebp + 0x10], ebx
je 0x42e4da
push 0x4e803c
call fcn.0040dc63
pop ecx
lea eax, [ebp - 0x148]
test edi, edi
jne 0x42e4f3
push str.RPT077.PF.z
push eax
call fcn.004ccf60
pop ecx
pop ecx
jmp 0x42e502
push edi
push str.RPT00_d.PF.z
push eax
call fcn.00403dd1
add esp, 0xc
lea eax, [ebp - 0x44c]
push eax
lea eax, [ebp - 0x148]
push eax
call fcn.0048c896
push dword [ebp - 0x450]
call fcn.00449a2c
lea eax, [ebp - 0x148]
push eax
push dword [ebp - 0x450]
call fcn.0044a3d3
add esp, 0x14
test eax, eax
je 0x42e61a
push ebx
push ebx
push dword [ebp - 0x450]
call fcn.0044a327
push dword [ebp - 0x450]
lea eax, [ebp - 0x348]
push 0x200
push eax
call fcn.00449dcb
push dword [ebp - 0x450]
lea eax, [ebp - 0x348]
push 0x200
push eax
call fcn.00449dcb
lea eax, [ebp - 0x44]
mov byte [ebp - 0x319], bl
push eax
call fcn.0048b21b
lea eax, [ebp - 0x348]
push 0x4f9940
push eax
call fcn.004c3950
add esp, 0x30
test eax, eax
je 0x42e61a
lea eax, [ebp - 0x454]
push eax
lea eax, [ebp - 0x348]
push 0x4f9940
push eax
call fcn.004d5eb0
add esp, 0xc
test eax, eax
je 0x42e61a
lea eax, [ebp - 0x348]
push eax
call fcn.004ce43f
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x454]
push eax
push 0x4f9940
push ebx
call fcn.004d5eb0
add esp, 0x10
test eax, eax
je 0x42e61a
push 0x40
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0048dd2a
lea eax, [ebp - 0x44]
push eax
call fcn.0048d721
lea eax, [ebp - 0x44]
push eax
call fcn.004cd280
add esp, 0x14
cmp eax, 4
jbe 0x42e61a
mov ecx, dword [ebp - 0x45c]
cmp ecx, 0x64
jg 0x42e65b
inc edi
cmp edi, 3
jl 0x42e4ca
mov edi, dword [ebp - 0x458]
jmp 0x42e637
push str.:5:AutoDetectStoreNameAndNumber___FAILED:_GetMostRecentReportPath___FAILED.
call fcn.0041c80a
pop ecx
call fcn.004b729a
sub eax, dword [ebp - 0x460]
cmp eax, 0x3a98
ja 0x42e680
inc edi
mov dword [ebp - 0x458], edi
cmp edi, 0xa
jl 0x42e4a7
jmp 0x42e680
mov eax, dword [ebp - 0x464]
test eax, eax
je 0x42e677
lea ecx, [ebp - 0x44]
push ecx
push eax
call fcn.004ccf60
pop ecx
pop ecx
mov ecx, dword [ebp - 0x45c]
test esi, esi
je 0x42e67d
mov dword [esi], ecx
xor ebx, ebx
inc ebx
push dword [ebp - 0x450]
call fcn.004496b6
pop ecx
mov eax, ebx
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004c2120
leave
ret