Function at 0x4110d0
Capabilities:
Copy file
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff3c
push ebx
push esi
push edi
mov dword [ebp - 0xc0], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 0xbc], eax
mov eax, 0x5b7824
call fcn.005496a0
mov dword [ebp - 0x9c], 1
lea edx, [ebp - 8]
lea eax, [ebp - 8]
call fcn.00549a1c
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x14
lea eax, [ebp - 0xc]
call fcn.00401fbc
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x20
lea eax, [ebp - 0x10]
call fcn.00401fbc
inc dword [ebp - 0x9c]
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x2c
lea eax, [ebp - 0x14]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b145e
lea eax, [ebp - 0x24]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp - 0x20]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
call fcn.0043cae8
pop ecx
lea eax, [ebp - 0x20]
pop edx
pop ecx
call fcn.00549c60
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x38
lea eax, [ebp - 0x30]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b1470
lea eax, [ebp - 0x2c]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x28]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
call fcn.0043cae8
pop ecx
lea eax, [ebp - 0x28]
pop edx
pop ecx
call fcn.00549c60
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x34]
call fcn.00401fbc
mov ecx, eax
inc dword [ebp - 0x9c]
lea edx, [ebp - 8]
pop eax
call fcn.00549c60
lea edx, [ebp - 0x34]
push edx
lea eax, [ebp - 0x18]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b1476
lea eax, [ebp - 0x38]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x38]
pop ecx
pop eax
call fcn.00549c60
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x30]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x2c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0xa8], 8
mov word [ebp - 0xa8], 0x44
lea eax, [ebp - 0x44]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b147b
lea eax, [ebp - 0x40]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x40]
push edx
lea eax, [ebp - 0x3c]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
call fcn.0043cae8
pop ecx
lea eax, [ebp - 0x3c]
pop edx
pop ecx
call fcn.00549c60
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
call fcn.00401fbc
mov ecx, eax
inc dword [ebp - 0x9c]
lea edx, [ebp - 8]
pop eax
call fcn.00549c60
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x1c]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b1481
lea eax, [ebp - 0x4c]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x4c]
pop ecx
pop eax
call fcn.00549c60
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x44]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x40]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0xa8], 8
mov eax, dword [ebp - 0x1c]
call sub.rtl60.bpl__Sysutils_FileExists_qqrx17System_AnsiString
test al, al
je 0x4113f0
mov eax, dword [ebp - 0x1c]
call fcn.00549958
push 0
lea eax, [ebp - 0x18]
call fcn.00401cc8
push eax
lea eax, [ebp - 0x14]
call fcn.00401cc8
push eax
call sub.kernel32.dll_CopyFileA
test eax, eax
jne 0x411505
mov word [ebp - 0xa8], 0x50
lea eax, [ebp - 0x54]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b14a8
lea eax, [ebp - 0x50]
call fcn.005499e4
mov edx, eax
inc dword [ebp - 0x9c]
mov eax, 0x5b148a
pop ecx
call fcn.0054a1ac
lea edx, [ebp - 0x54]
mov eax, dword [ebp - 0xc0]
call fcn.00549c38
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00549c08
xor eax, eax
push eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00549c08
pop eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
jmp 0x4119b1
mov word [ebp - 0xa8], 0x5c
mov word [ebp - 0xa8], 0x74
lea eax, [ebp - 0x5c]
call fcn.00401fbc
mov ecx, eax
inc dword [ebp - 0x9c]
lea edx, [ebp - 8]
mov eax, 0x5b14b7
call fcn.0054a1ac
lea edx, [ebp - 0x5c]
push edx
lea eax, [ebp - 0x64]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b14fe
lea eax, [ebp - 0x60]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x60]
pop ecx
pop eax
call fcn.00549c60
lea edx, [ebp - 0x64]
push edx
lea eax, [ebp - 0x68]
call fcn.00401fbc
mov ecx, eax
inc dword [ebp - 0x9c]
lea edx, [ebp - 8]
pop eax
call fcn.00549c60
lea edx, [ebp - 0x68]
push edx
lea eax, [ebp - 0x70]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b152b
lea eax, [ebp - 0x6c]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x6c]
pop ecx
pop eax
call fcn.00549c60
lea edx, [ebp - 0x70]
push edx
lea eax, [ebp - 0x78]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b152f
lea eax, [ebp - 0x74]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x74]
pop ecx
pop eax
call fcn.00549c60
lea edx, [ebp - 0x78]
push edx
lea eax, [ebp - 0x7c]
call fcn.00401fbc
mov ecx, eax
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x18]
pop eax
call fcn.00549c60
lea edx, [ebp - 0x7c]
push edx
lea eax, [ebp - 0x58]
call fcn.00401fbc
push eax
inc dword [ebp - 0x9c]
mov edx, 0x5b153d
lea eax, [ebp - 0x80]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x80]
pop ecx
pop eax
call fcn.00549c60
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x78]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x70]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x60]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x5c]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0xa8], 0x68
mov word [ebp - 0xa8], pe_nt_image_headers32
lea eax, [ebp - 0xc1]
call fcn.0040e4f4
mov dl, byte [eax]
push edx
lea eax, [ebp - 0x88]
call fcn.004119b8
push eax
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x58]
lea eax, [ebp - 0x84]
call fcn.0054bf30
inc dword [ebp - 0x9c]
mov edx, dword [eax]
mov ecx, dword [ebp - 0xbc]
mov eax, dword [ecx + 0x104]
mov cl, 1
call sub.adortl60.bpl__Adodb_TADOConnection_Execute_qqrx17System_WideStringx18Adodb_TCommandTypex48System__Set_t20Adodb_TExecuteOpt
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x88]
mov edx, 2
call fcn.004119e8
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x84]
mov edx, 2
call fcn.0054bfa4
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x58]
mov edx, 2
call fcn.00549c08
mov word [ebp - 0xa8], 0x5c
mov word [ebp - 0xa8], 8
jmp 0x4118e8
mov word [ebp - 0xa8], 0xa4
mov edx, 0x5b1561
lea eax, [ebp - 0x94]
call fcn.005499e4
inc dword [ebp - 0x9c]
lea edx, [ebp - 0x94]
mov eax, dword [ebp - 0xc0]
call fcn.00549c38
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00549c08
mov al, 1
push eax
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x18]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00549c08
dec dword [ebp - 0x9c]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00549c08
pop eax
mov edx, dword [ebp - 0xb8]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret