Function at 0x51ce50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword [0x69e340]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x51d5e0
sub esp, 0x88
mov eax, dword [esp + 0xa0]
cmp eax, 2
jne 0x51ced7
mov ecx, dword [esp + 0x9c]
cmp word [ecx], 0x5348
jne 0x51cea0
mov eax, 1
lea ecx, [0x5525d5]
mov edx, 0x26
lea ebx, [0x55efc8]
jmp 0x51cec2
cmp eax, 2
jne 0x51ced7
cmp word [ecx], 0x5441
jne 0x51ced7
mov eax, 0x22
lea ecx, [0x55df81]
mov edx, 0x1c
lea ebx, [0x55bd02]
mov dword [esp + 0x44], ebx
mov dword [esp + 0x2c], edx
mov dword [esp + 0x48], ecx
mov dword [esp + 0x30], eax
jmp 0x51cfae
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
mov eax, dword [esp + 0x90]
mov dword [esp], eax
mov eax, dword [esp + 0x94]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x78], ecx
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x9c]
mov dword [esp], eax
mov eax, dword [esp + 0xa0]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x56118f]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2f
lea eax, [esp + 0x78]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 2
mov dword [esp + 0x14], 2
call sym.ejconv_logger._LogDriver_.Error
mov dword [esp + 0xa4], 0
add esp, 0x88
ret
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x48]
mov dword [esp], 0
lea edx, [0x560b23]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x2d
mov ebx, dword [esp + 0x90]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], eax
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [0x5529d7]
mov dword [esp], edx
mov dword [esp + 4], 5
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.database_sql.Open
mov eax, dword [esp + 0x14]
test eax, eax
je 0x51d0fb
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046ad3a
lea eax, [0x5339e0]
mov dword [esp + 0x60], eax
lea ecx, [0x5894b8]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea edx, [0x55b6e4]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call sym.ejconv_logger._LogDriver_.Error
mov dword [esp], 0xf8475800
mov dword [esp + 4], 0xd
call sym.time.Sleep
jmp 0x51cfa6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x50], eax
mov dword [esp], eax
lea ecx, [0x58a124]
mov dword [esp + 4], ecx
lea edx, [0x69e200]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call sym.database_sql._DB_.QueryContext
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x51d22f
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x34], eax
mov ecx, dword [eax + 0x10]
mov edx, dword [esp + 0x28]
mov dword [esp], edx
call ecx
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046ad3a
lea eax, [0x5339e0]
mov dword [esp + 0x60], eax
lea ecx, [0x5894b8]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea edx, [0x55cee8]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
lea ebx, [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call sym.ejconv_logger._LogDriver_.Info
mov eax, dword [esp + 0x34]
test eax, eax
mov ecx, dword [esp + 0x3c]
setne al
movzx eax, al
cmp eax, 1
jne 0x51d516
mov eax, dword [esp + 0x50]
mov dword [esp], eax
call sym.database_sql._DB_.Close
mov dword [esp], 0
lea eax, [0x560dc8]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x2e
mov ecx, dword [esp + 0x90]
mov dword [esp + 0xc], ecx
mov edx, dword [esp + 0x94]
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x14], ebx
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x18], ebp
call sym.runtime.concatstring3
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
lea edx, [0x5529d7]
mov dword [esp], edx
mov dword [esp + 4], 5
mov dword [esp + 8], eax
mov dword [esp + 0xc], ecx
call sym.database_sql.Open
mov eax, dword [esp + 0x14]
test eax, eax
je 0x51d39f
mov ecx, dword [esp + 0x18]
mov eax, dword [eax + 0x10]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046ad3a
lea eax, [0x5339e0]
mov dword [esp + 0x60], eax
lea ecx, [0x5894c0]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea edx, [0x55b6e4]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1b
lea ebx, [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call sym.ejconv_logger._LogDriver_.Error
mov dword [esp], 0xf8475800
mov dword [esp + 4], 0xd
call sym.time.Sleep
jmp 0x51cfa6
mov eax, dword [esp + 0x10]
mov dword [esp + 0x4c], eax
nop
mov dword [esp], eax
lea ecx, [0x58a124]
mov dword [esp + 4], ecx
lea edx, [0x69e200]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x44]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
call sym.database_sql._DB_.QueryContext
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
test eax, eax
je 0x51d4e7
mov eax, dword [eax + 0x10]
mov ecx, dword [esp + 0x28]
mov dword [esp], ecx
call eax
mov eax, dword [esp + 4]
mov dword [esp + 0x54], eax
mov ecx, dword [esp + 8]
mov dword [esp + 0x38], ecx
lea edi, [esp + 0x60]
xor eax, eax
call fcn.0046ad3a
lea eax, [0x5339e0]
mov dword [esp + 0x60], eax
lea ecx, [0x5894c0]
mov dword [esp + 0x64], ecx
mov ebx, dword [esp + 0x90]
mov dword [esp], ebx
mov ebp, dword [esp + 0x94]
mov dword [esp + 4], ebp
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x68], ecx
mov dword [esp + 0x6c], eax
mov eax, dword [esp + 0x54]
mov dword [esp], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x70], ecx
mov dword [esp + 0x74], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea edx, [0x55cee8]
mov dword [esp + 4], edx
mov dword [esp + 8], 0x1f
lea ebx, [esp + 0x60]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], 3
mov dword [esp + 0x14], 3
call sym.ejconv_logger._LogDriver_.Error
mov eax, dword [esp + 0x4c]
mov dword [esp], eax
call sym.database_sql._DB_.Close
mov dword [esp], 0xf8475800
mov dword [esp + 4], 0xd
call sym.time.Sleep
jmp 0x51cfa6
mov eax, dword [esp + 0x98]
mov dword [eax + 4], 0x18
mov edx, dword [0x69e3e8]
test edx, edx
je 0x51d508
mov edx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edx, [0x55a1c9]
mov dword [eax], edx
mov edx, dword [esp + 0x4c]
jmp 0x51d543
mov eax, dword [esp + 0x98]
mov dword [eax + 4], 0x17
mov edx, dword [0x69e3e8]
test edx, edx
je 0x51d537
mov edx, dword [eax]
call sym.runtime.gcWriteBarrier1
mov dword [edi], edx
lea edx, [0x55989e]
mov dword [eax], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x40], edx
mov dword [esp], ecx
call sym.database_sql._Rows_.Close
mov eax, dword [esp + 0x40]
mov dword [esp], eax
call sym.database_sql._DB_.Close
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov eax, dword [esp + 0x98]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov dword [esp + 4], eax
call sym.runtime.convTstring
mov eax, dword [esp + 8]
lea ecx, [0x5339e0]
mov dword [esp + 0x58], ecx
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x8c]
mov dword [esp], eax
lea eax, [0x55791e]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x13
lea eax, [esp + 0x58]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 1
mov dword [esp + 0x14], 1
call sym.ejconv_logger._LogDriver_.Debug
mov dword [esp + 0xa4], 1
add esp, 0x88
ret
call sym.runtime.morestack_noctxt
jmp sym.ejconv_modules.CheckMDBProvider