Function at 0x436b84
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe08
push ebx
push esi
push edi
mov eax, 0x4c4748
call fcn.00497a7c
mov byte [ebp - 0x1e9], 0
push dword [ebp + 8]
call fcn.00435904
pop ecx
test al, al
jne 0x436bc2
xor eax, eax
mov edx, dword [ebp - 0x1e8]
mov dword fs:[0], edx
jmp 0x437ca4
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [sym.servercontrol.exe__TPacketParams_]
call sym.servercontrol.exe__TPacketParams__bctr_qqrp18Classes_TComponent
mov dword [ebp - 0x1f0], eax
push 1
mov word [ebp - 0x1d8], 8
mov edx, 0x4c3056
lea eax, [ebp - 8]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 8]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x14
push dword [ebp + 8]
lea eax, [ebp - 0xc]
call fcn.00402a14
push eax
inc dword [ebp - 0x1cc]
call fcn.00437cbc
add esp, 8
lea edx, [ebp - 0xc]
lea eax, [ebp - 0x1c]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x20
mov edx, 0x4c305f
lea eax, [ebp - 0x20]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x20]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x2c
lea eax, [ebp - 0x24]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x368]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x24]
lea eax, [ebp - 0x34]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x38
mov edx, 0x4c3068
lea eax, [ebp - 0x38]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x38]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x44
lea eax, [ebp - 0x3c]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x36c]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x3c]
lea eax, [ebp - 0x4c]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x4c]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x3c]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x50
mov edx, 0x4c3071
lea eax, [ebp - 0x50]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x50]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x5c
lea eax, [ebp - 0x54]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x344]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x54]
lea eax, [ebp - 0x64]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x64]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x54]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x68
mov edx, 0x4c307d
lea eax, [ebp - 0x68]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x68]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x74
lea eax, [ebp - 0x6c]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x348]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x6c]
lea eax, [ebp - 0x7c]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x7c]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x6c]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], pe_nt_image_headers32
mov edx, 0x4c3089
lea eax, [ebp - 0x80]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x80]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x8c
mov edx, 0x4c3094
lea eax, [ebp - 0x90]
call fcn.00498de8
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x90]
mov edx, 2
call fcn.00498ea4
push 1
mov word [ebp - 0x1d8], 0x98
mov edx, 0x4c3095
lea eax, [ebp - 0x94]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x94]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0xa4
lea eax, [ebp - 0x98]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x34c]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x98]
lea eax, [ebp - 0xa8]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xa8]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x98]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0xb0
mov edx, 0x4c309d
lea eax, [ebp - 0xac]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xac]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0xbc
lea eax, [ebp - 0xb0]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x350]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0xb0]
lea eax, [ebp - 0xc0]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xc0]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xb0]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0xc8
mov edx, 0x4c30a3
lea eax, [ebp - 0xc4]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xc4]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0xd4
lea eax, [ebp - 0xc8]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x364]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0xc8]
lea eax, [ebp - 0xd8]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xd8]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xc8]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0xe0
mov edx, 0x4c30aa
lea eax, [ebp - 0xdc]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xdc]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0xec
lea eax, [ebp - 0xe0]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x360]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0xe0]
lea eax, [ebp - 0xf0]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xf0]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xe0]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0xf8
mov edx, 0x4c30b0
lea eax, [ebp - 0xf4]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xf4]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x104
lea eax, [ebp - 0xf8]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3fc]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0xf8]
lea eax, [ebp - 0x108]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x108]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0xf8]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x110
mov edx, 0x4c30b4
lea eax, [ebp - 0x10c]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x10c]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x11c
lea eax, [ebp - 0x110]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3f4]
call sub.vcl60.bpl__Controls_TControl_GetText_qqrv
lea edx, [ebp - 0x110]
lea eax, [ebp - 0x120]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x120]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x110]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x128
mov edx, 0x4c30bc
lea eax, [ebp - 0x124]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x124]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x134
mov edx, 0x4c30c5
lea eax, [ebp - 0x134]
call fcn.00498de8
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x134]
mov edx, 2
call fcn.00498ea4
push 1
mov word [ebp - 0x1d8], 0x140
mov edx, 0x4c30c7
lea eax, [ebp - 0x138]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 1
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x138]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x14c
lea eax, [ebp - 0x13c]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0x3cc]
call sub.dsnap60.bpl__Dbclient_TCustomClientDataSet_GetXMLData_qqrv
lea edx, [ebp - 0x13c]
lea eax, [ebp - 0x14c]
call fcn.00498d48
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x14c]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x13c]
mov edx, 2
call fcn.00497e20
push 1
mov word [ebp - 0x1d8], 0x158
mov edx, 0x4c30d2
lea eax, [ebp - 0x150]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov ecx, dword [eax]
mov dl, 5
mov eax, dword [ebp - 0x1f0]
call sub.dbrtl60.bpl__Db_TParams_CreateParam_qqr13Db_TFieldTypex17System_AnsiString13Db_TParamType
mov dword [ebp - 0x1f4], eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x150]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x164
mov ecx, dword [0x4d8738]
mov dl, byte [ecx + 1]
lea eax, [ebp - 0x160]
call fcn.00498c68
mov edx, eax
inc dword [ebp - 0x1cc]
mov eax, dword [ebp - 0x1f4]
call sub.dbrtl60.bpl__Db_TParam_SetAsVariant_qqrrx14System_Variant
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x160]
mov edx, 2
call fcn.00498ea4
mov word [ebp - 0x1d8], 0x170
lea eax, [ebp - 4]
call fcn.00402a14
inc dword [ebp - 0x1cc]
mov word [ebp - 0x1d8], 0x17c
mov word [ebp - 0x1d8], 0x188
mov word [ebp - 0x1d8], 0x194
push 0xea60
push dword [ebp - 0x1f0]
lea eax, [ebp - 0x164]
call fcn.00402a14
push eax
inc dword [ebp - 0x1cc]
call sym.servercontrol.exe__TPacketParams_ToString_qv
add esp, 8
lea edx, [ebp - 0x164]
push dword [edx]
mov edx, 0x4c30e2
lea eax, [ebp - 0x168]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
push dword [eax]
lea eax, [ebp - 0x16c]
call fcn.00402a14
push eax
inc dword [ebp - 0x1cc]
call sym.servercontrol.exe__TCPInvoke_q17System_AnsiStringt1i
add esp, 0x10
lea edx, [ebp - 0x16c]
lea eax, [ebp - 4]
call fcn.00497e50
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x16c]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x168]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x164]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x17c
mov ecx, dword [ebp - 0x1f0]
mov dword [ebp - 0x174], ecx
cmp dword [ebp - 0x174], 0
je 0x437789
mov eax, dword [ebp - 0x174]
mov edx, dword [eax]
mov dword [ebp - 0x170], edx
mov word [ebp - 0x1d8], 0x1ac
mov edx, 3
mov eax, dword [ebp - 0x174]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x1d8], 0x1a0
cmp word [ebp - 0x1d6], 0
je 0x437794
ret
mov ecx, dword [ebp + 8]
mov dl, 1
mov eax, dword [sym.servercontrol.exe__TPacketParams_]
call sym.servercontrol.exe__TPacketParams__bctr_qqrp18Classes_TComponent
mov dword [ebp - 0x1f8], eax
push dword [ebp - 4]
push dword [ebp - 0x1f8]
call sym.servercontrol.exe__TPacketParams_LoadFromString_q17System_AnsiString
add esp, 8
mov word [ebp - 0x1d8], 0x1b8
mov edx, 0x4c30f5
lea eax, [ebp - 0x178]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1f8]
call sub.dbrtl60.bpl__Db_TParams_ParamByName_qqrx17System_AnsiString
push eax
lea eax, [ebp - 0x17c]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
pop eax
call sub.dbrtl60.bpl__Db_TParam_GetAsString_qqrv
lea edx, [ebp - 0x17c]
push edx
mov edx, 0x4c30fc
lea eax, [ebp - 0x180]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
lea edx, [ebp - 0x180]
pop eax
call fcn.00497f04
push eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x180]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x17c]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x178]
mov edx, 2
call fcn.00497e20
pop ecx
test cl, cl
je 0x437886
mov byte [ebp - 0x1e9], 1
push dword [ebp + 8]
call fcn.00437e50
pop ecx
jmp 0x437c37
mov word [ebp - 0x1d8], 0x1c4
lea eax, [ebp - 0x184]
call fcn.00402a14
inc dword [ebp - 0x1cc]
mov word [ebp - 0x1d8], 0x1d0
mov word [ebp - 0x1d8], 0x1dc
lea eax, [ebp - 0x198]
call fcn.00498be4
push eax
inc dword [ebp - 0x1cc]
mov edx, 0x4c30fe
lea eax, [ebp - 0x188]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
mov edx, dword [eax]
mov eax, dword [ebp - 0x1f8]
pop ecx
call sub.dbrtl60.bpl__Db_TParams_GetParamValue_qqrx17System_AnsiString
lea edx, [ebp - 0x198]
push edx
lea eax, [ebp - 0x19c]
call fcn.00402a14
mov edx, eax
inc dword [ebp - 0x1cc]
pop eax
call fcn.004991d8
lea edx, [ebp - 0x19c]
lea eax, [ebp - 0x184]
call fcn.00497e50
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x19c]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x198]
mov edx, 2
call fcn.00498ea4
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x188]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x1e8
mov edx, 0x4c3105
lea eax, [ebp - 0x1a0]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
lea edx, [ebp - 0x1a0]
lea eax, [ebp - 0x184]
call fcn.00498094
test eax, eax
setg cl
and ecx, 1
push ecx
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1a0]
mov edx, 2
call fcn.00497e20
pop ecx
test cl, cl
je 0x437bf0
mov word [ebp - 0x1d8], 0x1f4
lea eax, [ebp - 0x1a4]
call fcn.00402a14
inc dword [ebp - 0x1cc]
mov word [ebp - 0x1d8], 0x200
mov word [ebp - 0x1d8], 0x20c
lea eax, [ebp - 0x1ac]
call fcn.00402a14
push eax
inc dword [ebp - 0x1cc]
mov edx, 0x4c3110
lea eax, [ebp - 0x1a8]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
lea edx, [ebp - 0x1a8]
lea eax, [ebp - 0x184]
call fcn.00498094
mov edx, eax
add edx, 2
lea eax, [ebp - 0x184]
mov ecx, 0xff
call fcn.004981c8
lea edx, [ebp - 0x1ac]
lea eax, [ebp - 0x1a4]
call fcn.00497e50
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1ac]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1a8]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x218
lea eax, [ebp - 0x1b4]
call fcn.00402a14
push eax
inc dword [ebp - 0x1cc]
mov edx, 0x4c3113
lea eax, [ebp - 0x1b0]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
lea edx, [ebp - 0x1b0]
lea eax, [ebp - 0x1a4]
call fcn.00498094
mov ecx, eax
dec ecx
lea eax, [ebp - 0x1a4]
mov edx, 1
call fcn.004981c8
lea edx, [ebp - 0x1b4]
lea eax, [ebp - 0x1a4]
call fcn.00497e50
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1b4]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1b0]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x224
lea eax, [ebp - 0x1bc]
call fcn.00402a14
push eax
inc dword [ebp - 0x1cc]
mov edx, 0x4c3116
lea eax, [ebp - 0x1b8]
call fcn.00497bd0
inc dword [ebp - 0x1cc]
lea edx, [ebp - 0x1b8]
lea eax, [ebp - 0x184]
call fcn.00498094
mov ecx, eax
dec ecx
lea eax, [ebp - 0x184]
mov edx, 1
call fcn.004981c8
lea edx, [ebp - 0x1bc]
lea eax, [ebp - 0x184]
call fcn.00497e50
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1bc]
mov edx, 2
call fcn.00497e20
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1b8]
mov edx, 2
call fcn.00497e20
push 0x21
lea eax, [ebp - 0x184]
call fcn.00402a98
mov edx, eax
mov ecx, 0x4c3119
mov eax, dword [sym.imp.vcl60.bpl__Forms_Application]
mov eax, dword [eax]
call fcn.00497b24
dec eax
jne 0x437bcf
push 1
push 0
push 0
lea eax, [ebp - 0x1a4]
call fcn.00402a98
push eax
push 0x4c311e
push 0
call sub.SHELL32.dll_ShellExecuteA
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x1a4]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x1d0
jmp 0x437c11
push 0x10
push 0x4c3123
lea eax, [ebp - 0x184]
call fcn.00402a98
push eax
mov eax, dword [ebp + 8]
call sub.vcl60.bpl__Controls_TWinControl_GetHandle_qqrv
push eax
call sub.user32.dll_MessageBoxA
mov byte [ebp - 0x1e9], 0
dec dword [ebp - 0x1cc]
lea eax, [ebp - 0x184]
mov edx, 2
call fcn.00497e20
mov word [ebp - 0x1d8], 0x17c
mov ecx, dword [ebp - 0x1f8]
mov dword [ebp - 0x1c4], ecx
cmp dword [ebp - 0x1c4], 0
je 0x437c7c
mov eax, dword [ebp - 0x1c4]
mov edx, dword [eax]
mov dword [ebp - 0x1c0], edx
mov word [ebp - 0x1d8], 0x23c
mov edx, 3
mov eax, dword [ebp - 0x1c4]
mov ecx, dword [eax]
call dword [ecx - 4]
mov word [ebp - 0x1d8], 0x230
mov al, byte [ebp - 0x1e9]
push eax
dec dword [ebp - 0x1cc]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00497e20
pop eax
mov edx, dword [ebp - 0x1e8]
mov dword fs:[0], edx
mov edi, dword [ebp - 0x204]
mov esi, dword [ebp - 0x200]
mov ebx, dword [ebp - 0x1fc]
mov esp, ebp
pop ebp
ret