Function at 0x4f24cc
Capabilities:
Contain obfuscated stackstrings
Get common file path
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff890
push ebx
mov dword [ebp - 0x3b8], eax
mov eax, 0x5f11a4
call fcn.005496a0
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6dc
pop ecx
test eax, eax
jne 0x4f250e
mov ecx, dword [ebp - 0x3b4]
mov dword fs:[0], ecx
mov eax, ecx
jmp 0x4f544b
mov edx, dword [ebp - 0x3b8]
cmp dword [edx + 0x30], 0
jne 0x4f2568
lea eax, [ebp - 0x3b4]
push eax
push 0
push 0
push 0
push 1
push fcn.00401d4c
push 0
mov word [ebp - 0x3a4], 8
mov edx, 0x5e6e66
lea eax, [ebp - 0x2c]
call fcn.005499e4
inc dword [ebp - 0x398]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
push eax
push 0x401ce8
call sub.cc3260mt.dll___ThrowExceptionLDTC_qpvt1t1t1uiuiuipuct1
add esp, 0x24
xor edx, edx
mov dword [ebp - 0x3bc], edx
jmp 0x4f291e
push dword [ebp - 0x3bc]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
cmp byte [eax + 0x261], 0
jne 0x4f2630
push dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
call sub.dbrtl60.bpl__Db_TDataSet_GetActive_qqrv
test al, al
je 0x4f25e2
push dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
cmp byte [ecx + 0x9d], 0
jne 0x4f2630
lea eax, [ebp - 0x3b4]
push eax
push 0
push 0
push 0
push 1
push fcn.00401d4c
push 0
mov word [ebp - 0x3a4], 0x14
mov edx, 0x5e6e88
lea eax, [ebp - 0x30]
call fcn.005499e4
inc dword [ebp - 0x398]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
push eax
push 0x401ce8
call sub.cc3260mt.dll___ThrowExceptionLDTC_qpvt1t1t1uiuiuipuct1
add esp, 0x24
push dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
cmp dword [ecx + 0x268], 0
je 0x4f2918
mov word [ebp - 0x3a4], 0x20
push dword [ebp - 0x3bc]
mov eax, dword [ebp - 0x3b8]
add eax, 0x38
push eax
call fcn.004ed6f8
add esp, 8
mov edx, dword [eax]
mov eax, dword [edx + 0x268]
call sym.SDERPService.exe__TSQLAdapter_GetInsertCommand_qqrv
mov dword [ebp - 0x3c0], eax
lea eax, [ebp - 0x34]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x3c0]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x38]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.00549f28
lea eax, [ebp - 0x38]
call fcn.004053e4
push eax
dec dword [ebp - 0x398]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00549c08
pop ecx
test cl, cl
je 0x4f2742
lea eax, [ebp - 0x3b4]
push eax
push 0
push 0
push 0
push 1
push fcn.00401d4c
push 0
mov word [ebp - 0x3a4], 0x2c
mov edx, 0x5e6ebb
lea eax, [ebp - 0x3c]
call fcn.005499e4
inc dword [ebp - 0x398]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
push eax
push 0x401ce8
call sub.cc3260mt.dll___ThrowExceptionLDTC_qpvt1t1t1uiuiuipuct1
add esp, 0x24
mov word [ebp - 0x3a4], 0x38
push dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
mov eax, dword [ecx + 0x268]
call sym.SDERPService.exe__TSQLAdapter_GetUpdateCommand_qqrv
mov dword [ebp - 0x3c4], eax
lea eax, [ebp - 0x40]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x3c4]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x44]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.00549f28
lea eax, [ebp - 0x44]
call fcn.004053e4
push eax
dec dword [ebp - 0x398]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00549c08
pop ecx
test cl, cl
je 0x4f282d
lea eax, [ebp - 0x3b4]
push eax
push 0
push 0
push 0
push 1
push fcn.00401d4c
push 0
mov word [ebp - 0x3a4], 0x44
mov edx, 0x5e6ef3
lea eax, [ebp - 0x48]
call fcn.005499e4
inc dword [ebp - 0x398]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
push eax
push 0x401ce8
call sub.cc3260mt.dll___ThrowExceptionLDTC_qpvt1t1t1uiuiuipuct1
add esp, 0x24
mov word [ebp - 0x3a4], 0x50
push dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
mov eax, dword [ecx + 0x268]
call sym.SDERPService.exe__TSQLAdapter_GetDeleteCommand_qqrv
mov dword [ebp - 0x3c8], eax
lea eax, [ebp - 0x4c]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x3c8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x50]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.00549f28
lea eax, [ebp - 0x50]
call fcn.004053e4
push eax
dec dword [ebp - 0x398]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00549c08
pop ecx
test cl, cl
je 0x4f2918
lea eax, [ebp - 0x3b4]
push eax
push 0
push 0
push 0
push 1
push fcn.00401d4c
push 0
mov word [ebp - 0x3a4], 0x5c
mov edx, 0x5e6f2b
lea eax, [ebp - 0x54]
call fcn.005499e4
inc dword [ebp - 0x398]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
push eax
push 0x401ce8
call sub.cc3260mt.dll___ThrowExceptionLDTC_qpvt1t1t1uiuiuipuct1
add esp, 0x24
inc dword [ebp - 0x3bc]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6dc
pop ecx
cmp eax, dword [ebp - 0x3bc]
ja 0x4f2575
mov word [ebp - 0x3a4], 0x68
lea eax, [ebp - 4]
call fcn.00401fbc
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], pe_nt_image_headers32
lea eax, [ebp - 8]
call fcn.00401fbc
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0x8c
lea eax, [ebp - 0xc]
call fcn.00401fbc
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0x98
lea eax, [ebp - 0x10]
call fcn.0041db28
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0xa4
lea eax, [ebp - 0x14]
call fcn.0041db28
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0xb0
lea eax, [ebp - 0x18]
call fcn.0041db28
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0xbc
lea eax, [ebp - 0x1c]
call fcn.0041db28
inc dword [ebp - 0x398]
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0xc8
lea eax, [ebp - 0x20]
call fcn.004225c8
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f63
lea eax, [ebp - 0x58]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov eax, dword [eax]
pop edx
call fcn.004b47dc
dec dword [ebp - 0x398]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.0054bfa4
mov word [ebp - 0x3a4], 0x74
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x3d4], eax
mov eax, dword [ebp - 0x3d4]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x3d0], eax
mov word [ebp - 0x3a4], 0xd4
mov edx, 0x5e6f64
lea eax, [ebp - 0x5c]
call fcn.005499e4
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov eax, dword [ebp - 0x3d0]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00549c08
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x3d8], eax
mov dl, 1
mov eax, dword [ebp - 0x3d8]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov word [ebp - 0x3a4], 0xe0
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x3dc], eax
lea eax, [ebp - 0x64]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f65
lea eax, [ebp - 0x60]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov eax, dword [ebp - 0x3dc]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x78]
lea eax, [ebp - 0x64]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.0054bfa4
mov word [ebp - 0x3a4], 0xec
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x3e0], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x6c]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x70]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f6d
lea eax, [ebp - 0x68]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x3e0]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x70]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x3e4], eax
mov word [ebp - 0x3a4], 0xf8
lea eax, [ebp - 0x74]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov ecx, dword [ebp - 0x3b8]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xe4]
call fcn.0047a690
lea edx, [ebp - 0x74]
lea eax, [ebp - 0x84]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x3e4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x104
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x3ec], eax
lea eax, [ebp - 0x88]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x3ec]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x88]
call fcn.0041da88
mov dword [ebp - 0x3e8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3e8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x110
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x3f0], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x90]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x94]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f73
lea eax, [ebp - 0x8c]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x3f0]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x94]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x8c]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x3f4], eax
mov word [ebp - 0x3a4], 0x11c
mov edx, dword [ebp - 0x3b8]
mov edx, dword [edx + 0x30]
add edx, 0xe8
lea eax, [ebp - 0xa4]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x3f4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0xa4]
mov edx, 2
call fcn.0041dad4
mov word [ebp - 0x3a4], 0x128
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x3fc], eax
lea eax, [ebp - 0xa8]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x3fc]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0xa8]
call fcn.0041da88
mov dword [ebp - 0x3f8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x3f8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x134
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x400], eax
mov edx, 0x5e621b
lea eax, [ebp - 0xb0]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0xb4]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f7a
lea eax, [ebp - 0xac]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x400]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0xb4]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0xb4]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x404], eax
mov word [ebp - 0x3a4], 0x140
mov edx, dword [ebp - 0x3b8]
mov edx, dword [edx + 0x30]
add edx, 0xec
lea eax, [ebp - 0xc4]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x404]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.0041dad4
mov word [ebp - 0x3a4], 0x14c
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x40c], eax
lea eax, [ebp - 0xc8]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x40c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0xc8]
call fcn.0041da88
mov dword [ebp - 0x408], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x408]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x158
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x410], eax
mov edx, 0x5e621b
lea eax, [ebp - 0xd0]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0xd4]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f7f
lea eax, [ebp - 0xcc]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x410]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0xd4]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0xd4]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0xd0]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0xcc]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x414], eax
mov word [ebp - 0x3a4], 0x164
mov edx, dword [ebp - 0x3b8]
mov edx, dword [edx + 0x30]
add edx, 0xf0
lea eax, [ebp - 0xe4]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0xe4]
mov edx, 2
call fcn.0041dad4
mov word [ebp - 0x3a4], 0x170
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x41c], eax
lea eax, [ebp - 0xe8]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0xe8]
call fcn.0041da88
mov dword [ebp - 0x418], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0xe8]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x17c
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x420], eax
mov edx, 0x5e621b
lea eax, [ebp - 0xf0]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0xf4]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f88
lea eax, [ebp - 0xec]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x420]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0xf4]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0xf4]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0xf0]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0xec]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x424], eax
mov word [ebp - 0x3a4], 0x188
mov edx, dword [ebp - 0x3b8]
mov edx, dword [edx + 0x30]
add edx, 0xf4
lea eax, [ebp - 0x104]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x424]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x104]
mov edx, 2
call fcn.0041dad4
mov word [ebp - 0x3a4], 0x194
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x42c], eax
lea eax, [ebp - 0x108]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x42c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x108]
call fcn.0041da88
mov dword [ebp - 0x428], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x428]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x1a0
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x430], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x110]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x114]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6f91
lea eax, [ebp - 0x10c]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x430]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x114]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x114]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x434], eax
mov word [ebp - 0x3a4], 0x1ac
lea eax, [ebp - 0x118]
call fcn.00401fbc
push eax
inc dword [ebp - 0x398]
mov edx, dword [ebp - 0x3b8]
mov eax, dword [edx + 0x30]
call sub.adortl60.bpl__Adodb_TADOConnection_GetCommandTimeout_qqrv
pop edx
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
lea edx, [ebp - 0x118]
lea eax, [ebp - 0x128]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x434]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x128]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x118]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x1b8
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x43c], eax
lea eax, [ebp - 0x12c]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x43c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x12c]
call fcn.0041da88
mov dword [ebp - 0x438], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x438]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x12c]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x1c4
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x440], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x134]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x138]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6fa0
lea eax, [ebp - 0x130]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x440]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x138]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x130]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x444], eax
mov word [ebp - 0x3a4], 0x1d0
lea eax, [ebp - 0x13c]
call fcn.00401fbc
push eax
inc dword [ebp - 0x398]
mov edx, dword [ebp - 0x3b8]
mov eax, dword [edx + 0x30]
call sub.adortl60.bpl__Adodb_TADOConnection_GetConnectionTimeout_qqrv
pop edx
call sub.rtl60.bpl__Sysutils_IntToStr_qqri
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x14c]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x444]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x13c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x1dc
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x44c], eax
lea eax, [ebp - 0x150]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x44c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x150]
call fcn.0041da88
mov dword [ebp - 0x448], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x448]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.0041da48
push 0x104
push 0
lea ecx, [ebp - 0x66c]
push ecx
call sub.cc3260mt.dll__memset
add esp, 0xc
push 0x104
push 0
lea eax, [ebp - 0x770]
push eax
call sub.cc3260mt.dll__memset
add esp, 0xc
lea edx, [ebp - 0x66c]
push edx
push 0x104
call sub.kernel32.dll_GetTempPathA
lea ecx, [ebp - 0x770]
push ecx
push 0
push 0x5e6fb2
lea eax, [ebp - 0x66c]
push eax
call sub.kernel32.dll_GetTempFileNameA
mov word [ebp - 0x3a4], 0x1e8
lea edx, [ebp - 0x770]
lea eax, [ebp - 0x154]
call fcn.005499e4
inc dword [ebp - 0x398]
lea edx, [ebp - 0x154]
lea eax, [ebp - 4]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x154]
mov edx, 2
call fcn.00549c08
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Classes_TMemoryStream_]
call fcn.004053fc
mov dword [ebp - 0x3cc], eax
xor ecx, ecx
mov dword [ebp - 0x450], ecx
mov word [ebp - 0x3a4], 0x74
jmp 0x4f4722
mov word [ebp - 0x3a4], 0x1f4
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x454], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x15c]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x160]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6fb6
lea eax, [ebp - 0x158]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 1
mov eax, dword [ebp - 0x454]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x160]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x18]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x15c]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x158]
mov edx, 2
call fcn.0054bfa4
mov word [ebp - 0x3a4], 0x200
lea eax, [ebp - 0x10]
call fcn.0041db98
mov dword [ebp - 0x45c], eax
lea eax, [ebp - 0x164]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x45c]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x164]
call fcn.0041da88
mov dword [ebp - 0x458], eax
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x458]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.0041da48
push dword [ebp - 0x450]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
cmp byte [eax + 0x261], 0
je 0x4f3a73
mov word [ebp - 0x3a4], 0x20c
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x460], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x16c]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x170]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6fc0
lea eax, [ebp - 0x168]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x460]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x170]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x170]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x464], eax
mov word [ebp - 0x3a4], 0x218
push dword [ebp - 0x450]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
call sym.SDERPService.exe__TClientQuery_GetSQL_qqrv
mov dword [ebp - 0x468], eax
lea eax, [ebp - 0x174]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x468]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x174]
lea eax, [ebp - 0x184]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x464]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x174]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x224
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x470], eax
lea eax, [ebp - 0x188]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x470]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x188]
call fcn.0041da88
mov dword [ebp - 0x46c], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x46c]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.0041da48
jmp 0x4f471c
mov word [ebp - 0x3a4], 0x230
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x474], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x190]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x194]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6fc4
lea eax, [ebp - 0x18c]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x474]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x194]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x194]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x190]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x18c]
mov edx, 2
call fcn.0054bfa4
push dword [ebp - 0x450]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
cmp byte [eax + 0x1ed], 0
je 0x4f3bd3
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x478], eax
mov word [ebp - 0x3a4], 0x23c
mov edx, 0x5e6fce
lea eax, [ebp - 0x198]
call fcn.005499e4
mov edx, eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x1a8]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x478]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x198]
mov edx, 2
call fcn.00549c08
jmp 0x4f3c4e
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x47c], eax
mov word [ebp - 0x3a4], 0x248
mov edx, 0x5e6fd3
lea eax, [ebp - 0x1ac]
call fcn.005499e4
mov edx, eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x1bc]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x47c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x1bc]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1ac]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x254
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x484], eax
lea eax, [ebp - 0x1c0]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x484]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x1c0]
call fcn.0041da88
mov dword [ebp - 0x480], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1c0]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x260
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x488], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x1c8]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x1cc]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6fd9
lea eax, [ebp - 0x1c4]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x488]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x1cc]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1cc]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1c8]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1c4]
mov edx, 2
call fcn.0054bfa4
push dword [ebp - 0x450]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
cmp dword [eax + 0x268], 0
je 0x4f3e18
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x48c], eax
mov word [ebp - 0x3a4], 0x26c
mov edx, 0x5e6fe4
lea eax, [ebp - 0x1d0]
call fcn.005499e4
mov edx, eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x1e0]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x48c]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x1e0]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1d0]
mov edx, 2
call fcn.00549c08
jmp 0x4f3e93
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x490], eax
mov word [ebp - 0x3a4], 0x278
mov edx, 0x5e6fe9
lea eax, [ebp - 0x1e4]
call fcn.005499e4
mov edx, eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x1f4]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x490]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x1f4]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1e4]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x284
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x498], eax
lea eax, [ebp - 0x1f8]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x498]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x1f8]
call fcn.0041da88
mov dword [ebp - 0x494], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x494]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1f8]
mov edx, 2
call fcn.0041da48
push dword [ebp - 0x450]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
cmp dword [eax + 0x268], 0
je 0x4f44b8
mov word [ebp - 0x3a4], 0x290
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x49c], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x200]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x204]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6fef
lea eax, [ebp - 0x1fc]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x49c]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x204]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x204]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x200]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1fc]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x4a0], eax
mov word [ebp - 0x3a4], 0x29c
push dword [ebp - 0x450]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
mov eax, dword [ecx + 0x268]
call sym.SDERPService.exe__TSQLAdapter_GetInsertCommand_qqrv
mov dword [ebp - 0x4a4], eax
lea eax, [ebp - 0x208]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4a4]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x218]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x4a0]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x218]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x208]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x2a8
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x21c]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4ac]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x21c]
call fcn.0041da88
mov dword [ebp - 0x4a8], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4a8]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x21c]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x2b4
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x4b0], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x224]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x228]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e6ffd
lea eax, [ebp - 0x220]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x4b0]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x228]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x228]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x224]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x220]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x4b4], eax
mov word [ebp - 0x3a4], 0x2c0
push dword [ebp - 0x450]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
mov eax, dword [ecx + 0x268]
call sym.SDERPService.exe__TSQLAdapter_GetUpdateCommand_qqrv
mov dword [ebp - 0x4b8], eax
lea eax, [ebp - 0x22c]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4b8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x22c]
lea eax, [ebp - 0x23c]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x23c]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x22c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x2cc
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x4c0], eax
lea eax, [ebp - 0x240]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4c0]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x240]
call fcn.0041da88
mov dword [ebp - 0x4bc], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4bc]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x240]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x2d8
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x4c4], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x248]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x24c]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e700b
lea eax, [ebp - 0x244]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 2
mov eax, dword [ebp - 0x4c4]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x24c]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x14]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x24c]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x248]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x244]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x14]
call fcn.0041db98
mov dword [ebp - 0x4c8], eax
mov word [ebp - 0x3a4], 0x2e4
push dword [ebp - 0x450]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
mov eax, dword [ecx + 0x268]
call sym.SDERPService.exe__TSQLAdapter_GetDeleteCommand_qqrv
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x250]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4cc]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
lea edx, [ebp - 0x250]
lea eax, [ebp - 0x260]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x4c8]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x260]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x250]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x2f0
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x4d4], eax
lea eax, [ebp - 0x264]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4d4]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x264]
call fcn.0041da88
mov dword [ebp - 0x4d0], eax
mov edx, dword [ebp - 0x14]
mov eax, dword [ebp - 0x4d0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x264]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x2fc
lea edx, [ebp - 4]
lea eax, [ebp - 0x268]
call fcn.0054bf30
inc dword [ebp - 0x398]
push dword [eax]
push dword [ebp - 0x450]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
xor ecx, ecx
pop edx
call sub.adortl60.bpl__Adodb_TCustomADODataSet_SaveToFile_qqrx17System_WideString20Adodb_TPersistFormat
dec dword [ebp - 0x398]
lea eax, [ebp - 0x268]
mov edx, 2
call fcn.0054bfa4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x3cc]
call sub.rtl60.bpl__Classes_TMemoryStream_LoadFromFile_qqrx17System_AnsiString
mov word [ebp - 0x3a4], 0x308
mov eax, dword [ebp - 0x3cc]
call sub.rtl60.bpl__Classes_TStream_GetSize_qqrv
mov ecx, eax
mov edx, dword [ebp - 0x3cc]
mov edx, dword [edx + 4]
lea eax, [ebp - 0x26c]
call fcn.00549a94
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x270]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.004882b0
lea edx, [ebp - 0x270]
lea eax, [ebp - 8]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x270]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 0x26c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x314
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x4d8], eax
mov edx, 0x5e621b
lea eax, [ebp - 0x278]
call fcn.0054bf6c
inc dword [ebp - 0x398]
push dword [eax]
lea eax, [ebp - 0x27c]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e7019
lea eax, [ebp - 0x274]
call fcn.0054bebc
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov cl, 4
mov eax, dword [ebp - 0x4d8]
mov ebx, dword [eax]
call dword [ebx + 0x84]
lea eax, [ebp - 0x27c]
call fcn.00422698
mov edx, eax
lea eax, [ebp - 0x1c]
call fcn.004226a8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x27c]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x278]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x274]
mov edx, 2
call fcn.0054bfa4
lea eax, [ebp - 0x1c]
call fcn.0041db98
mov dword [ebp - 0x4dc], eax
mov word [ebp - 0x3a4], 0x320
lea edx, [ebp - 8]
lea eax, [ebp - 0x28c]
call fcn.00426ea0
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x4dc]
mov ecx, dword [eax]
call dword [ecx + 0x60]
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x28c]
mov edx, 2
call fcn.0041dad4
mov word [ebp - 0x3a4], 0x32c
lea eax, [ebp - 0x18]
call fcn.0041db98
mov dword [ebp - 0x4e4], eax
lea eax, [ebp - 0x290]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4e4]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x290]
call fcn.0041da88
mov dword [ebp - 0x4e0], eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x4e0]
mov ecx, dword [eax]
call dword [ecx + 0x18]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x290]
mov edx, 2
call fcn.0041da48
inc dword [ebp - 0x450]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6dc
pop ecx
cmp eax, dword [ebp - 0x450]
ja 0x4f3747
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x298], eax
cmp dword [ebp - 0x298], 0
je 0x4f4783
mov edx, dword [ebp - 0x298]
mov ecx, dword [edx]
mov dword [ebp - 0x294], ecx
mov word [ebp - 0x3a4], 0x344
mov edx, 3
mov eax, dword [ebp - 0x298]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x3a4], 0x338
mov eax, dword [ebp - 4]
call fcn.00549958
mov word [ebp - 0x3a4], 0x350
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x4ec], eax
mov eax, dword [ebp - 0x4ec]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x4e8], eax
lea eax, [ebp - 0x24]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x4e8]
mov ecx, dword [eax]
call dword [ecx + 0x1c]
mov word [ebp - 0x3a4], 0x74
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x4f4], eax
mov eax, dword [ebp - 0x4f4]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x4f0], eax
mov word [ebp - 0x3a4], 0x35c
mov edx, 0x5e701f
lea eax, [ebp - 0x29c]
call fcn.005499e4
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov eax, dword [ebp - 0x4f0]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x29c]
mov edx, 2
call fcn.00549c08
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x4f8], eax
xor edx, edx
mov eax, dword [ebp - 0x4f8]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov word [ebp - 0x3a4], 0x368
lea eax, [ebp - 0x28]
call fcn.00401fbc
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e7020
lea eax, [ebp - 0x2a0]
call fcn.005499e4
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x3b8]
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0xe0]
mov ecx, dword [ebp - 0x24]
call sym.SDERPService.exe__TClientProxy_Invoke_qqr17System_AnsiStringt1
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2a0]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0x3a4], 0x74
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x500], eax
mov eax, dword [ebp - 0x500]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x4fc], eax
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x4fc]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x504], eax
mov dl, 1
mov eax, dword [ebp - 0x504]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
mov word [ebp - 0x3a4], 0x374
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x510], eax
lea eax, [ebp - 0x2a4]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x510]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x2a4]
call fcn.0041da88
mov dword [ebp - 0x50c], eax
lea eax, [ebp - 0x2b8]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x2b4]
xor edx, edx
call fcn.0041da98
add dword [ebp - 0x398], 2
lea edx, [ebp - 0x2b4]
mov eax, dword [ebp - 0x50c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x2b8]
call fcn.0041db98
mov dword [ebp - 0x508], eax
lea eax, [ebp - 0x2bc]
call fcn.0040dff4
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x508]
mov ecx, dword [eax]
call dword [ecx + 0x34]
lea edx, [ebp - 0x2bc]
push edx
mov edx, 0x5e702b
lea eax, [ebp - 0x2c0]
call fcn.0054bebc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.0054c02c
push eax
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2bc]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2c0]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2b8]
mov edx, 2
call fcn.0041db58
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x2b4]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2a4]
mov edx, 2
call fcn.0041da48
pop ecx
test cl, cl
je 0x4f4d33
mov word [ebp - 0x3a4], 0x380
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x524], eax
lea eax, [ebp - 0x2c4]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x524]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x2c4]
call fcn.0041da88
mov dword [ebp - 0x520], eax
lea eax, [ebp - 0x2d8]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x2d4]
xor edx, edx
call fcn.0041da98
add dword [ebp - 0x398], 2
lea edx, [ebp - 0x2d4]
mov eax, dword [ebp - 0x520]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x2d8]
call fcn.0041db98
mov dword [ebp - 0x51c], eax
lea eax, [ebp - 0x2dc]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x51c]
mov ecx, dword [eax]
call dword [ecx + 0x10]
lea eax, [ebp - 0x2dc]
call fcn.0041da88
mov dword [ebp - 0x518], eax
lea eax, [ebp - 0x300]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
mov edx, 0x5e7031
lea eax, [ebp - 0x2ec]
call fcn.0054addc
mov edx, eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x2fc]
call fcn.004c98d8
add dword [ebp - 0x398], 2
lea edx, [ebp - 0x2fc]
mov eax, dword [ebp - 0x518]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x300]
call fcn.0041db98
mov dword [ebp - 0x514], eax
lea eax, [ebp - 0x310]
call fcn.0044be1c
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x514]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0x310]
push edx
lea eax, [ebp - 0x314]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.0054b224
lea edx, [ebp - 0x314]
lea eax, [ebp - 0xc]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x314]
mov edx, 2
call fcn.00549c08
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x310]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x300]
mov edx, 2
call fcn.0041db58
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x2fc]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2ec]
mov edx, 2
call fcn.0054ae98
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2dc]
mov edx, 2
call fcn.0041da48
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2d8]
mov edx, 2
call fcn.0041db58
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x2d4]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x2c4]
mov edx, 2
call fcn.0041da48
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x52c], eax
mov eax, dword [ebp - 0x52c]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x528], eax
mov word [ebp - 0x3a4], 0x38c
mov edx, 0x5e7039
lea eax, [ebp - 0x318]
call fcn.005499e4
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov eax, dword [ebp - 0x528]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x318]
mov edx, 2
call fcn.00549c08
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x530], eax
xor edx, edx
mov eax, dword [ebp - 0x530]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
lea edx, [ebp - 0x3b4]
push edx
push 0
push 0
push 0
push 1
push fcn.00401d4c
push 0
mov ecx, dword [ebp - 0xc]
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Sysutils_Exception_]
call sub.rtl60.bpl__Sysutils_Exception__bctr_qqrx17System_AnsiString
push eax
push 0x401ce8
call sub.cc3260mt.dll___ThrowExceptionLDTC_qpvt1t1t1uiuiuipuct1
add esp, 0x24
jmp 0x4f5380
push 0x104
push 0
lea eax, [ebp - 0x770]
push eax
call sub.cc3260mt.dll__memset
add esp, 0xc
lea edx, [ebp - 0x770]
push edx
push 0
push 0x5e703a
lea ecx, [ebp - 0x66c]
push ecx
call sub.kernel32.dll_GetTempFileNameA
mov word [ebp - 0x3a4], 0x398
lea edx, [ebp - 0x770]
lea eax, [ebp - 0x31c]
call fcn.005499e4
inc dword [ebp - 0x398]
lea edx, [ebp - 0x31c]
lea eax, [ebp - 4]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x31c]
mov edx, 2
call fcn.00549c08
xor ecx, ecx
mov dword [ebp - 0x534], ecx
mov word [ebp - 0x3a4], 0x74
jmp 0x4f52e0
mov dl, 1
mov eax, dword [sym.imp.rtl60.bpl__Classes_TMemoryStream_]
call fcn.004053fc
mov dword [ebp - 0x3cc], eax
push dword [ebp - 0x534]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
cmp byte [eax + 0x261], 0
jne 0x4f52da
push dword [ebp - 0x534]
mov edx, dword [ebp - 0x3b8]
add edx, 0x38
push edx
call fcn.004ed6f8
add esp, 8
mov ecx, dword [eax]
cmp dword [ecx + 0x268], 0
je 0x4f4e3d
push dword [ebp - 0x534]
mov eax, dword [ebp - 0x3b8]
add eax, 0x38
push eax
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
call sym.SDERPService.exe__TClientQuery_InnerUpdateBatch_qqrv
jmp 0x4f5295
mov word [ebp - 0x3a4], 0x3a4
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x550], eax
lea eax, [ebp - 0x320]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x550]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x320]
call fcn.0041da88
mov dword [ebp - 0x54c], eax
lea eax, [ebp - 0x334]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x330]
xor edx, edx
call fcn.0041da98
add dword [ebp - 0x398], 2
lea edx, [ebp - 0x330]
mov eax, dword [ebp - 0x54c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x334]
call fcn.0041db98
mov dword [ebp - 0x548], eax
lea eax, [ebp - 0x338]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x548]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x338]
call fcn.0041da88
mov dword [ebp - 0x544], eax
lea eax, [ebp - 0x34c]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x348]
mov edx, dword [ebp - 0x534]
call fcn.004f2490
add dword [ebp - 0x398], 2
lea edx, [ebp - 0x348]
mov eax, dword [ebp - 0x544]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x34c]
call fcn.0041db98
mov dword [ebp - 0x540], eax
lea eax, [ebp - 0x350]
call fcn.0041da18
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 0x540]
mov ecx, dword [eax]
call dword [ecx + 0x14]
lea eax, [ebp - 0x350]
call fcn.0041da88
mov dword [ebp - 0x53c], eax
lea eax, [ebp - 0x364]
call fcn.0041db28
push eax
inc dword [ebp - 0x398]
lea eax, [ebp - 0x360]
xor edx, edx
call fcn.0041da98
add dword [ebp - 0x398], 2
lea edx, [ebp - 0x360]
mov eax, dword [ebp - 0x53c]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0x10]
lea eax, [ebp - 0x364]
call fcn.0041db98
mov dword [ebp - 0x538], eax
lea eax, [ebp - 0x374]
call fcn.0044be1c
mov edx, eax
add dword [ebp - 0x398], 2
mov eax, dword [ebp - 0x538]
mov ecx, dword [eax]
call dword [ecx + 0x3c]
lea edx, [ebp - 0x374]
push edx
lea eax, [ebp - 0x378]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
pop eax
call fcn.0054b224
lea edx, [ebp - 0x378]
lea eax, [ebp - 8]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x378]
mov edx, 2
call fcn.00549c08
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x374]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x364]
mov edx, 2
call fcn.0041db58
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x360]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x350]
mov edx, 2
call fcn.0041da48
dec dword [ebp - 0x398]
lea eax, [ebp - 0x34c]
mov edx, 2
call fcn.0041db58
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x348]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x338]
mov edx, 2
call fcn.0041da48
dec dword [ebp - 0x398]
lea eax, [ebp - 0x334]
mov edx, 2
call fcn.0041db58
sub dword [ebp - 0x398], 2
lea eax, [ebp - 0x330]
mov edx, 2
call fcn.0041dad4
dec dword [ebp - 0x398]
lea eax, [ebp - 0x320]
mov edx, 2
call fcn.0041da48
mov word [ebp - 0x3a4], 0x3b0
lea eax, [ebp - 0x37c]
call fcn.00401fbc
mov edx, eax
inc dword [ebp - 0x398]
mov eax, dword [ebp - 8]
call fcn.004883e0
lea edx, [ebp - 0x37c]
lea eax, [ebp - 8]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x37c]
mov edx, 2
call fcn.00549c08
lea eax, [ebp - 8]
call fcn.00405450
push eax
lea eax, [ebp - 8]
call fcn.0042bd14
mov edx, eax
mov eax, dword [ebp - 0x3cc]
pop ecx
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 0x3cc]
call sub.rtl60.bpl__Classes_TCustomMemoryStream_SaveToFile_qqrx17System_AnsiString
mov eax, dword [ebp - 0x3cc]
call sub.rtl60.bpl__Classes_TMemoryStream_Clear_qqrv
mov word [ebp - 0x3a4], 0x3bc
mov edx, 0x5e703e
lea eax, [ebp - 0x380]
call fcn.005499e4
inc dword [ebp - 0x398]
lea edx, [ebp - 0x380]
lea eax, [ebp - 8]
call fcn.00549c38
dec dword [ebp - 0x398]
lea eax, [ebp - 0x380]
mov edx, 2
call fcn.00549c08
push dword [ebp - 0x534]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov dword [ebp - 0x558], eax
mov eax, dword [ebp - 0x558]
mov eax, dword [eax]
mov edx, dword [eax]
call dword [edx + 0x150]
mov dword [ebp - 0x554], eax
mov word [ebp - 0x3a4], 0x74
mov word [ebp - 0x3a4], 0x3c8
lea edx, [ebp - 4]
lea eax, [ebp - 0x384]
call fcn.0054bf30
inc dword [ebp - 0x398]
push dword [eax]
push dword [ebp - 0x534]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov eax, dword [eax]
pop edx
call sym.SDERPService.exe__TClientQuery_LoadFromFile_qqrx17System_WideString
dec dword [ebp - 0x398]
lea eax, [ebp - 0x384]
mov edx, 2
call fcn.0054bfa4
cmp dword [ebp - 0x554], 0
jle 0x4f5295
push dword [ebp - 0x534]
mov ecx, dword [ebp - 0x3b8]
add ecx, 0x38
push ecx
call fcn.004ed6f8
add esp, 8
mov dword [ebp - 0x55c], eax
mov eax, dword [ebp - 0x55c]
mov eax, dword [eax]
mov edx, dword [ebp - 0x554]
mov ecx, dword [eax]
call dword [ecx + 0x1a0]
mov eax, dword [ebp - 0x3cc]
mov dword [ebp - 0x38c], eax
cmp dword [ebp - 0x38c], 0
je 0x4f52da
mov edx, dword [ebp - 0x38c]
mov ecx, dword [edx]
mov dword [ebp - 0x388], ecx
mov word [ebp - 0x3a4], 0x3e0
mov edx, 3
mov eax, dword [ebp - 0x38c]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x3a4], 0x3d4
inc dword [ebp - 0x534]
mov eax, dword [ebp - 0x3b8]
add eax, 0x38
push eax
call fcn.004ed6dc
pop ecx
cmp eax, dword [ebp - 0x534]
ja 0x4f4dbd
mov eax, dword [ebp - 4]
call fcn.00549958
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x564], eax
mov eax, dword [ebp - 0x564]
mov edx, dword [eax]
call dword [edx + 0x48]
mov dword [ebp - 0x560], eax
mov word [ebp - 0x3a4], 0x3ec
mov edx, 0x5e703f
lea eax, [ebp - 0x390]
call fcn.005499e4
inc dword [ebp - 0x398]
mov edx, dword [eax]
mov eax, dword [ebp - 0x560]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x390]
mov edx, 2
call fcn.00549c08
lea eax, [ebp - 0x20]
call fcn.00422688
mov dword [ebp - 0x568], eax
xor edx, edx
mov eax, dword [ebp - 0x568]
mov ecx, dword [eax]
call dword [ecx + 0x4c]
dec dword [ebp - 0x398]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.004225f8
dec dword [ebp - 0x398]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.0041db58
dec dword [ebp - 0x398]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x398]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00549c08
mov ecx, dword [ebp - 0x3b4]
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret